Skip to content

Commit

Permalink
Minor Change
Browse files Browse the repository at this point in the history
quit() -> sys.exit()
  • Loading branch information
RDxR10 authored May 30, 2021
1 parent c5fa2a5 commit 864f733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion injectx.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from urllib.parse import urlparse
import urllib.request, sys, os, optparse
from socket import timeout
import sys

OKBLUE='\033[94m'
OKRED='\033[91m'
Expand Down Expand Up @@ -702,7 +703,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

0 comments on commit 864f733

Please sign in to comment.