Skip to content

Commit

Permalink
Merge pull request #13362 from inkz/fix_9635
Browse files Browse the repository at this point in the history
added ExactDelay object for NodeJS vuln checking #9635
  • Loading branch information
andresriancho committed Jan 20, 2016
2 parents 87ebb5a + 2488fb2 commit e65fc33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion w3af/plugins/audit/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ class eval(AuditPlugin):
# ASP.NET also uses miliseconds
# http://msdn.microsoft.com/en-us/library/d00bd51t.aspx
# Note: The Sleep in ASP.NET is uppercase
ExactDelay("Thread.Sleep(%s);", mult=1000)
ExactDelay("Thread.Sleep(%s);", mult=1000),
# NodeJS eval
ExactDelay("var cd;var d=new Date();do{cd=new Date();}while(cd-d<%s)", mult=1000)
)

def __init__(self):
Expand Down

0 comments on commit e65fc33

Please sign in to comment.