Skip to content

Commit

Permalink
Updated print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jheysel-r7 committed Oct 15, 2024
1 parent 3635dd1 commit 7a89db5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ def initialize(info = {})

def check_magento
etc_password = download_file('/etc/passwd')
vprint_status("Attempting to download /etc/passwd")
vprint_status('Attempting to download /etc/passwd')
if etc_password.nil?
CheckCode::Safe('Unable to download /etc/passwd via the Arbitrary File Read (CVE-2024-34102).')
else
CheckCode::Vulnerable('Downloading /etc/passwd via the Arbitrary File Read (CVE-2024-34102) was successful.')
CheckCode::Vulnerable('Exploit precondition 1/3 met: Downloading /etc/passwd via the Arbitrary File Read (CVE-2024-34102) was successful.')
end
end

Expand Down

0 comments on commit 7a89db5

Please sign in to comment.