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 f0ff4a0 commit acff0faCopy full SHA for acff0fa
modules/auxiliary/scanner/http/http_put.rb
@@ -131,12 +131,12 @@ def run_host(ip)
131
# Append filename if there isn't one
132
if path !~ /(.+\.\w+)$/
133
path << "#{Rex::Text.rand_text_alpha(5)}.txt"
134
- vprint_status("#{ip}: No filename specified. Using: #{path}")
+ vprint_status("No filename specified. Using: #{path}")
135
end
136
137
# Upload file
138
res = do_put(path, data)
139
- vprint_status("Reply: #{res.code.to_s}") if not res.nil?
+ vprint_status("#{ip}: Reply: #{res.code.to_s}") if not res.nil?
140
141
# Check file
142
if not res.nil? and file_exists(path, data)
0 commit comments