Skip to content

Commit 75a0472

Browse files
committed
Update bison_ftp_traversal.rb
made some changes
1 parent f60f233 commit 75a0472

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/ftp/bison_ftp_traversal.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def check
4545
connect
4646
disconnect
4747
if (banner =~ /BisonWare BisonFTP server product V3.5/)
48-
return Exploit::CheckCode::Vulnerable
48+
return Exploit::CheckCode::Appears
4949
else
5050
return Exploit::CheckCode::Safe
5151
end
@@ -76,7 +76,7 @@ def run_host(target_host)
7676
print_status("Stored #{file_path} to #{loot_file}")
7777

7878
# Read and print the data from the loot file.
79-
info_disclosure = IO.read(loot_file)
79+
info_disclosure = print_line(loot_file)
8080
print_status("Printing contents of #{file_path}")
8181
print_good("Result:\n #{info_disclosure}")
8282

0 commit comments

Comments
 (0)