Skip to content

Commit acff0fa

Browse files
committed
Added IP addresses to output.
1 parent f0ff4a0 commit acff0fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/http/http_put.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ def run_host(ip)
131131
# Append filename if there isn't one
132132
if path !~ /(.+\.\w+)$/
133133
path << "#{Rex::Text.rand_text_alpha(5)}.txt"
134-
vprint_status("#{ip}: No filename specified. Using: #{path}")
134+
vprint_status("No filename specified. Using: #{path}")
135135
end
136136

137137
# Upload file
138138
res = do_put(path, data)
139-
vprint_status("Reply: #{res.code.to_s}") if not res.nil?
139+
vprint_status("#{ip}: Reply: #{res.code.to_s}") if not res.nil?
140140

141141
# Check file
142142
if not res.nil? and file_exists(path, data)

0 commit comments

Comments
 (0)