Skip to content

Commit

Permalink
Remove junk variables/params
Browse files Browse the repository at this point in the history
  • Loading branch information
wchen-r7 committed Oct 12, 2013
1 parent bc31776 commit 9725918
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/exploits/windows/browser/ms13_080_cdisplaypointer.rb
Expand Up @@ -202,9 +202,8 @@ def get_payload(target_info)
rop_payload
end

def get_sploit_html(cli, target_info)
def get_sploit_html(target_info)
os = target_info[:os]
dll = target_info[:dll]
js_payload = ''

if os =~ /Windows (7|XP) MSIE 8\.0/
Expand Down Expand Up @@ -282,7 +281,7 @@ def get_sploit_html(cli, target_info)
def on_request_uri(cli, request)
if request.uri =~ /search\?o=(.+)\&d=(.+)$/
target_info = { :os => Rex::Text.uri_decode($1), :dll => Rex::Text.uri_decode($2) }
sploit = get_sploit_html(cli, target_info)
sploit = get_sploit_html(target_info)
send_response(cli, sploit, {'Content-Type'=>'text/html', 'Cache-Control'=>'no-cache'})
return
end
Expand Down

1 comment on commit 9725918

@fozer
Copy link

@fozer fozer commented on 9725918 Oct 14, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gracias por la info

Please sign in to comment.