We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e019aa1 commit 4716e2eCopy full SHA for 4716e2e
modules/auxiliary/scanner/ftp/pcman_ftp_traversal.rb
@@ -44,7 +44,7 @@ def check
44
connect
45
disconnect
46
if (banner =~ /220 PCMan's FTP Server 2\.0/)
47
- return Exploit::CheckCode::Vulnerable
+ return Exploit::CheckCode::Appears
48
else
49
return Exploit::CheckCode::Safe
50
end
@@ -75,7 +75,7 @@ def run_host(target_host)
75
print_status("Stored #{file_path} to #{loot_file}")
76
77
# Read and print the data from the loot file.
78
- info_disclosure = IO.read(loot_file)
+ info_disclosure = print_line(loot_file)
79
print_status("Printing contents of #{file_path}")
80
print_good("Result:\n #{info_disclosure}")
81
0 commit comments