You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/auxiliary/scanner/ftp/colorado_ftp_traversal.rb
+21-42Lines changed: 21 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -59,53 +59,32 @@ def check_host(ip)
59
59
60
60
defrun_host(ip)
61
61
begin
62
-
c=connect_login
63
-
returnunlessc
64
-
sock=data_connect
62
+
connect_login
63
+
file_path=datastore['PATH']
64
+
file=::File.basename(file_path)
65
65
66
-
# additional check per https://github.com/bwatters-r7/metasploit-framework/blob/b44568dd85759a1aa2160a9d41397f2edc30d16f/modules/auxiliary/scanner/ftp/bison_ftp_traversal.rb
0 commit comments