Skip to content

Commit

Permalink
fixed injectSize type error for Post attacks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdetrano committed May 6, 2019
1 parent ba39e50 commit 9a79222
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nsmweb.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ def postApps(victim,webPort,uri,https,verb,postData,requestHeaders, args = None)
injectSize = int(args.injectSize)
format = args.injectFormat

injectSize = int(injectSize)
injectString = build_random_string(format, injectSize)

print "Using " + injectString + " for injection testing.\n"
Expand Down

0 comments on commit 9a79222

Please sign in to comment.