Skip to content

Removing check for trailing slash #31

Closed
wants to merge 1 commit into from
View
BIN .DS_Store
Binary file not shown.
View
5 beeswithmachineguns/main.py
@@ -113,8 +113,9 @@ def parse_options():
if not options.url:
parser.error('To run an attack you need to specify a url with -u')
- if NO_TRAILING_SLASH_REGEX.match(options.url):
- parser.error('It appears your URL lacks a trailing slash, this will disorient the bees. Please try again with a trailing slash.')
+ # Not sure why this is necessary, disabling
+ # if NO_TRAILING_SLASH_REGEX.match(options.url):
+ # parser.error('It appears your URL lacks a trailing slash, this will disorient the bees. Please try again with a trailing slash.')
bees.attack(options.url, options.number, options.concurrent)
elif command == 'down':
Something went wrong with that request. Please try again.