Skip to content

Commit 2d1d294

Browse files
optimizations
1 parent 30e15b7 commit 2d1d294

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ScareCrow.cna

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
$script_path = "/home/user/ScareCrow-CobaltStrike";
66
#Path to the compiled ScareCrow Go executable of the installation.
77
$scarecrow_executable = "/home/user/ScareCrow-CobaltStrike/ScareCrow/ScareCrow";
8-
#Path to the python3 binary.
9-
$python3 = "/usr/bin/python3";
108
############################################################
119

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

134-
$data = exec($python3 . " " . $script_path . "/Helper.py" . " " . $arguments);
132+
$data = exec("python3 " . $script_path . "/Helper.py" . " " . $arguments);
135133

136134
$helper_response = readAll($data);
137135

0 commit comments

Comments
 (0)