Skip to content

Instantly share code, notes, and snippets.

@m4ll0k
Created June 22, 2020 13:16
Show Gist options
  • Save m4ll0k/c33c3bac057584642c8a63144888e3d1 to your computer and use it in GitHub Desktop.
Save m4ll0k/c33c3bac057584642c8a63144888e3d1 to your computer and use it in GitHub Desktop.
# replace $mytarget with your target
gau $mytarget|egrep -iv '\.json'|grep -iE '\.js'|antiburl|awk '{print $4}' | xargs -I %% bash -c 'python3 SecretFinder.py -i %% -o cli'
# use -r option for extract anything
gau $mytarget|egrep -iv '\.json'|grep -iE '\.js'|antiburl|awk '{print $4}' | xargs -I %% bash -c 'python3 SecretFinder.py -i %% -o cli -r "$anything"'
@cyb3rsalih
Copy link

cyb3rsalih commented Jul 14, 2020

Hi! Thank you for sharing awesome script.
I can't understand what you mean to "$anything"
a file to extract?
an extension to filter and extract?

Thanks.

@Sicks3c
Copy link

Sicks3c commented Jan 18, 2021

@cyb3rsalih

The -r flag refers to Regex put the regex you want to look for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment