Skip to content

Commit

Permalink
Update modules/auxiliary/gather/argus_dvr_4_lfi_cve_2018_15745.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jheysel-r7 authored Jan 31, 2025
1 parent 7259548 commit 917196b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/auxiliary/gather/argus_dvr_4_lfi_cve_2018_15745.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ def run
print_good('File retrieved successfully!')
print_line(response.body)
store_loot('file_traversal', 'text/plain', rhost, response.body, "#{target_file.gsub('/', '_')}.txt")
elsif response
print_error('Failed to retrieve file.') # Response from server but file not returned
else
print_error('Failed to retrieve file.') if response # Response from server but file not returned
print_error('No response from target.') unless response # No response from server
print_error('No response from target.') # No response from server
end
end
end

0 comments on commit 917196b

Please sign in to comment.