Skip to content

Commit

Permalink
delete commas in script
Browse files Browse the repository at this point in the history
no more errors thrown
  • Loading branch information
ifly53e authored Jul 14, 2017
1 parent 12a07ec commit 3631153
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/iis-buffer-overflow.nse
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ Original exploit by Zhiniang Peng and Chen Wu.

if status == '200' then
-- Buffer overflow is successfully executed on the server.
vuln.state = vulns.STATE.EXPLOIT,
vuln.state = vulns.STATE.EXPLOIT
vuln.exploit_results = response
elseif status == '400' then
-- Bad request error is occured because webdav is not installed.
vuln.state = vulns.STATE.LIKELY_VULN,
vuln.state = vulns.STATE.LIKELY_VULN
vuln.exploit_results = "Server returned 400: Install webdav and try again."
elseif status == '502' then
-- Likely to have an error in the Server Name
vuln.state = vulns.STATE.LIKELY_VULN,
vuln.state = vulns.STATE.LIKELY_VULN
vuln.exploit_results = "Server returned 502: Please try to change ServerName and run the exploit again"
elseif status ~= nil then
vuln.exploit_results = response
Expand Down

0 comments on commit 3631153

Please sign in to comment.