Skip to content
Browse files

Disabling the restriction on ending with a /

  • Loading branch information...
1 parent b2775ff commit 331f37da35c8732112fffd469713385b44fcda42 @weotch committed
Showing with 3 additions and 2 deletions.
  1. BIN .DS_Store
  2. +3 −2 beeswithmachineguns/main.py
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':

0 comments on commit 331f37d

Please sign in to comment.
Something went wrong with that request. Please try again.