haccer / subjack

Subdomain Takeover tool written in Go
Apache License 2.0
1.91k stars 337 forks source link

Fixed Bug in Command Line Argument Count Comparison #3

Closed qkchambers closed 6 years ago

qkchambers commented 6 years ago

NArg() returns the number of arguments remaining after flags have been processed. Since the flags have already been processed it returns 0, so we need to use NFlag() to check if there are any arguments.