Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/1N3/BlackWidow
Browse files Browse the repository at this point in the history
  • Loading branch information
1N3 committed Sep 27, 2021
2 parents f50c97b + d52d909 commit 3a79cb9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion blackwidow
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ from bs4 import BeautifulSoup
from urllib.parse import urlparse
import requests, sys, os, atexit, optparse
from http import cookies

requests.packages.urllib3.disable_warnings()

OKBLUE='\033[94m'
Expand Down Expand Up @@ -203,7 +204,7 @@ logo()
globalURL = "globalBadness"
if len(sys.argv) < 2:
print ("You need to specify a URL to scan. Use --help for all options.")
quit()
sys.exit()
else:
parser = optparse.OptionParser()
parser.add_option('-u', '--url',
Expand Down
2 changes: 1 addition & 1 deletion blackwidow.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=blackwidow
Encoding=UTF-8
Exec=bash-wrapper "sudo blackwidow"
Exec=/usr/share/kali-menu/exec-in-shell "sudo blackwidow"
Icon=kali-www
StartupNotify=false
Terminal=true
Expand Down
2 changes: 1 addition & 1 deletion injectx.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def active_scan():
logo()
if len(sys.argv) < 2:
print("You need to specify a URL to scan (ie. -u https://site.com). Use --help for all options.")
quit()
sys.exit()
else:
parser = optparse.OptionParser()
parser.add_option('-u', '--url',
Expand Down
5 changes: 3 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ apt update
apt install -y python3 python3-requests python3-pip python3-lxml python3-requests openssl ca-certificates python3-dev wget git
cp -f $PWD/blackwidow /usr/bin/blackwidow
cp -f $PWD/injectx.py /usr/bin/injectx.py
cp -f $PWD/blackwidow.desktop /usr/share/applications/

cp -f $PWD/blackwidow.desktop /usr/share/applications/ 2> /dev/null
cp -f $PWD/blackwidow.desktop /usr/share/applications/blackwidow.desktop 2> /dev/null
cp -f $PWD/blackwidow.desktop /usr/share/kali-menu/applications/blackwidow.desktop2> /dev/null
echo -e "$OKBLUE[*]$RESET Done! $RESET"
echo -e "$OKRED[>]$RESET To run, type 'blackwidow'! $RESET"

0 comments on commit 3a79cb9

Please sign in to comment.