We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eaee79 commit 6b37171Copy full SHA for 6b37171
1 file changed
lib/exploitation/exploiter.py
@@ -131,14 +131,14 @@ def start_exploit(self, sep="*" * 10):
131
"set rhost {rhost}\n"
132
"set rhosts {rhosts}\n"
133
"run -z\n"
134
- "exit\n"
+ "exit -y\n"
135
)
136
137
- module_name=mod.strip()
138
- workspace=self.configuration[0]
139
- lhost=self.configuration[1]
140
- lport=self.configuration[2]
141
- rhost=host.strip()
+ module_name = mod.strip()
+ workspace = self.configuration[0]
+ lhost = self.configuration[1]
+ lport = self.configuration[2]
+ rhost = host.strip()
142
143
current_rc_script_path = path.join(current_host_path, mod.replace("/", '-').strip())
144
with open(current_rc_script_path, 'w') as f:
0 commit comments