Skip to content

Commit

Permalink
optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgePatsias authored Apr 23, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 30e15b7 commit 2d1d294
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ScareCrow.cna
Original file line number Diff line number Diff line change
@@ -5,8 +5,6 @@
$script_path = "/home/user/ScareCrow-CobaltStrike";
#Path to the compiled ScareCrow Go executable of the installation.
$scarecrow_executable = "/home/user/ScareCrow-CobaltStrike/ScareCrow/ScareCrow";
#Path to the python3 binary.
$python3 = "/usr/bin/python3";
############################################################

$loader = "";
@@ -131,7 +129,7 @@ sub GeneratePayload {
$arguments = $arguments . '"script_path":' . '"' . $script_path . '"';
$arguments = $arguments . '}';

$data = exec($python3 . " " . $script_path . "/Helper.py" . " " . $arguments);
$data = exec("python3 " . $script_path . "/Helper.py" . " " . $arguments);

$helper_response = readAll($data);

0 comments on commit 2d1d294

Please sign in to comment.