KingOfBugbounty / KingOfBugBountyTips

Our main goal is to share tips from some well-known bughunters. Using recon methodology, we are able to find subdomains, apis, and tokens that are already exploitable, so we can report them. We wish to influence Onelinetips and explain the commands, for the better understanding of new hunters..
4.17k stars 794 forks source link

Collect js files from hosts up by gospider - wrong regex #7

Closed m4ll0k closed 4 years ago

m4ll0k commented 4 years ago

wrong regex: ... | grep -Eo "(http|https)://[^/\"].*.js+" , it must be grep -Eo "(http|https)://[^/\"].*\.js+"

KingOfBugbounty commented 4 years ago

Thanks M4llok !!

m4ll0k commented 4 years ago

you can use egrep for not extract json file like:

... | egrep -iv (\.json) | grep -Eo "(http|https)://[^/\"].*\.js+"

KingOfBugbounty commented 4 years ago

;)