Closed codingo closed 6 years ago
It seems to work well but now it includes the wordlist as well as the stdin list. I assume this is not the desired result?
I can replicate it, this is the relevant code block:
default_wordlist = DEFAULT_WORDLIST_FILE \
if not sys.stdin.isatty() else None
Will look to resolve in the next couple of days unless you have a chance to patch!
Ignore the above - once I posted that I realised it was just in the reverse. Could you please re-test @timkent? The following would ensure good coverage:
I'll look at making an automated test case for this area once we've merged this branch.
Looks good, I have tested those scenarios.
This patch removes the need for the '-' flag when using stdin and instead allows you to pipe into VHostScan directly at anytime. STDIN is checked prior to a commit.
Tested already on a Windows VM but still requires testing in Kali.