Skip to content

Commit

Permalink
added ExactDelay object for NodeJS vuln checking andresriancho#9635
Browse files Browse the repository at this point in the history
  • Loading branch information
inkz committed Jan 17, 2016
1 parent 6ff09cb commit 2488fb2
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 2488fb2

Please sign in to comment.