Skip to content

Commit aa31744

Browse files
committed
Updated print statements to reflect stdin to user
1 parent 716e939 commit aa31744

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

VHostScan.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,20 @@ def main():
3737
wordlist += line
3838
elif(arguments.stdin and arguments.wordlist):
3939
if not os.path.exists(arguments.wordlist):
40-
print("[!] Wordlist %s doesn't exist and can't be appended to stdin." % arguments.wordlistt)
40+
print("[!] Wordlist %s doesn't exist and can't be appended to stdin." % arguments.wordlist)
41+
print("[+] Starting virtual host scan for %s using port %s and stdin data" % (arguments.target_hosts,
42+
str(arguments.port)))
4143
else:
4244
wordlist += open(arguments.wordlist).read().splitlines()
45+
print("[+] Starting virtual host scan for %s using port %s, stdin data, and wordlist %s" % (arguments.target_hosts,
46+
str(arguments.port),
47+
arguments.wordlist))
4348
else:
49+
# if no stdin, or wordlist pass, open default wordlist location
4450
wordlist = open("./wordlists/virtual-host-scanning.txt").read().splitlines()
45-
46-
print("[+] Starting virtual host scan for %s using port %s and wordlist %s" % (arguments.target_hosts,
47-
str(arguments.port),
48-
"placeholder"))
51+
print("[+] Starting virtual host scan for %s using port %s and wordlist %s" % (arguments.target_hosts,
52+
str(arguments.port),
53+
"./wordlists/virtual-host-scanning.txt"))
4954

5055
if(arguments.ssl):
5156
print("[>] SSL flag set, sending all results over HTTPS")

0 commit comments

Comments
 (0)