Skip to content

Instantly share code, notes, and snippets.

@R0X4R
Created February 12, 2022 15:30
Show Gist options
  • Star 29 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save R0X4R/bc08d55e368965f22c0b41ee8475ba87 to your computer and use it in GitHub Desktop.
Save R0X4R/bc08d55e368965f22c0b41ee8475ba87 to your computer and use it in GitHub Desktop.
tweets collection
subfinder -d target.com -all -silent -t 10 | naabu -p "21,22,80,81,280,300,443,583,591,593,832,981,1010,1099,1311,2082,2087,2095,2096,2480,3000,3128,3333,4243,4444,4445,4567,4711,4712,4993,5000,5104,5108,5280,5281,5601,5800,6543,7000,7001,7002,7396,7474,8000,8001,8008,8009,8014,8042,8060,8069,8080,8081,8083,8088,8090,8091,8095,8118,8123,8172,8181,8222,8243,8280,8281,8333,8337,8443,8500,8530,8531,8834,8880,8887,8888,8983,9000,9001,9043,9060,9080,9090,9091,9092,9200,9443,9502,9800,9981,10000,10250,10443,11371,12043,12046,12443,15672,16080,17778,18091,18092,20720,28017,32000,55440,55672" -silent -nc | httprobe -prefer-https | xargs -P 10 -I @ bash -c "echo @ | gau" 2> /dev/null | grep -E "password|password\-reset|reset\-token|token\=" | anew -q urls.txt
xargs -a urls.txt -P 5 -I @ bash -c "curl -ks -L \"@\" -H \"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36\" | grep -iE \"enter password|new password|new\-password|confirm password|confirm\-password\" && echo -e \"[CHECK] - @\"" 2> /dev/null | grep "CHECK"
@xaeroborg
Copy link

xaeroborg commented Feb 15, 2022

just a typo on the httprobe command that needs correction httprobe --prefer-https
theres a prefix "--" on the parameter prefer-https

TIP: to get the above flag working you must install httprobe with this command go install -v github.com/tomnomnom/httprobe@master

credit: tomnomnom/httprobe#43 (comment) I modified the above command to suit the latest Go installation command syntax

@thibauta2
Copy link

hi when i put the command "anew" appear red color

@xaeroborg
Copy link

@thibauta2 have you installed anew?

@thibauta2
Copy link

not yet

@sasholy
Copy link

sasholy commented Feb 17, 2022

hi, how to fix it?

flag provided but not defined: -all
Usage of subfinder:
-config string
Configuration file for API Keys, etc (default "/home/kali/.config/subfinder/config.yaml")

@ifconfig-me
Copy link

Add API keys in the config.yaml file.

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