Add a patch to update usage information
Sophie Brun
4 years ago
|
0 |
udpate-usage-info.patch
|
|
0 |
From: Sophie Brun <[email protected]>
|
|
1 |
Date: Tue, 10 Sep 2019 11:13:56 +0200
|
|
2 |
Subject: Update usage info
|
|
3 |
|
|
4 |
Last-Update: 2019-09-10
|
|
5 |
---
|
|
6 |
sublist3r.py | 4 ++--
|
|
7 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
8 |
|
|
9 |
diff --git a/sublist3r.py b/sublist3r.py
|
|
10 |
index 109dacd..e808fb8 100755
|
|
11 |
--- a/sublist3r.py
|
|
12 |
+++ b/sublist3r.py
|
|
13 |
@@ -81,14 +81,14 @@ def banner():
|
|
14 |
|
|
15 |
def parser_error(errmsg):
|
|
16 |
banner()
|
|
17 |
- print("Usage: python " + sys.argv[0] + " [Options] use -h for help")
|
|
18 |
+ print("Usage: python3 " + sys.argv[0] + " [Options] use -h for help")
|
|
19 |
print(R + "Error: " + errmsg + W)
|
|
20 |
sys.exit()
|
|
21 |
|
|
22 |
|
|
23 |
def parse_args():
|
|
24 |
# parse the arguments
|
|
25 |
- parser = argparse.ArgumentParser(epilog='\tExample: \r\npython ' + sys.argv[0] + " -d google.com")
|
|
26 |
+ parser = argparse.ArgumentParser(epilog='\tExample: \r\npython3 ' + sys.argv[0] + " -d google.com")
|
|
27 |
parser.error = parser_error
|
|
28 |
parser._optionals.title = "OPTIONS"
|
|
29 |
parser.add_argument('-d', '--domain', help="Domain name to enumerate it's subdomains", required=True)
|