Skip to content

application crashes if no random string size is entered #45

Closed
@justsly

Description

@justsly

if you attack a web app and hit enter to soon instead of entering a random string size the application crashes because "injectSize" cannot be cast to int. maybe you could set a default size if nothing is entered to prevent the app from crashing.

433 injectSize = raw_input("Baseline test-Enter random string size: ")
434 injectString = randInjString(int(injectSize))
435 print "Using " + injectString + " for injection testing.\n"

Keep up the good work.
Cheers

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions