Closed incredincomp closed 4 years ago
So...
./the_hunting.sh -d test.com -e sub.test.com
doesn't work properly?
Negative, I think I reversed the logic at a point and now I’m just kind of confused. I need it to check if -e/$excluded has any values in it(array) and then if it does, do the/some shit, otherwise echo nothing done. I broke the variable check tho I think, then reversed the if else around. Will look into it tonight tho
On Wed, Sep 9, 2020 at 4:05 PM 1efty notifications@github.com wrote:
So...
./the_hunting.sh -d test.com -e sub.test.com
doesn't work properly?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/incredincomp/the_hunting/issues/12#issuecomment-689868768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOXUGY6YSVTD5RGF5IE4RLSFAC2JANCNFSM4Q7VNFGQ .
@1efty https://serverfault.com/a/477506 this is where I got the idea to try and eval an array, but the shit always returns empty for some reason right now, though I dont think it is actually empty, just keeps returning empty
know what i bet would help? feeding it subdomains without* the stupid comma
from amass | - | - |
---|---|---|
-bl | Blacklist of subdomain names that will not be investigated | amass enum -bl blah.example.com -d example.com |
-blf | Path to a file providing blacklisted subdomains | amass enum -blf data/blacklist.txt -d example.com |
Ill just set -blf
to excluded.txt or we can feed excluded to the script like $target is. Since just amass is info grabbing rn, I only need to worry about what it finds really.
635223eb4c50d02fdc661e2afce5ad8c553e8c39
wont exclude domains from recon stage running single domain in -d and single subdomain in -e