"Knowledge is powerful, be careful how you use it!"
How to setup Burp Suite inside a docker container. |
GitHub repositories can disclose all sorts of potentially valuable information for bug bounty hunters. The targets do not always have to be open source for there to be issues. Organization members and their open source projects can sometimes accidentally expose information that could be used against the target company. in this article I will give you a brief overview that should help you get started targeting GitHub repositories for vulnerabilities and for general recon.
You can just do your research on github.com, but I would suggest cloning all the target's repositories so that you can run your tests locally. I would highly recommend @mazen160's GitHubCloner. Just run the script and you should be good to go.
$ python githubcloner.py --org organization -o /tmp/output
google dork -> site:.co.uk inurl:"responsible disclosure" | |
https://registry.internetnz.nz/about/vulnerability-disclosure-policy/ | |
http://www.123contactform.com/security-acknowledgements.htm | |
https://18f.gsa.gov/vulnerability-disclosure-policy/ | |
https://support.1password.com/security-assessments/ | |
https://www.23andme.com/security-report/ | |
https://www.abnamro.com/en/footer/responsible-disclosure.html | |
https://www.accenture.com/us-en/company-accenture-responsible-disclosure | |
https://www.accredible.com/white_hat/ | |
https://www.acquia.com/how-report-security-issue |
/secure/popups/UserPickerBrowser.jspa | |
WEB-INF/context/db-context-standalone.xml | |
!.gitignore | |
!.htaccess | |
!.htpasswd | |
%20../ | |
%2e%2e//google.com | |
%3f/ | |
%EXT% | |
%ff/ |
Web Application Hacker's Handbook Task checklist as a Github-Flavored Markdown file
https://crt.sh | |
curl -s https://crt.sh/?q\=%.yahoo\&output\=json | jq -r '.[].name_value' | sort -u | ./httprobe -c 50 | |
build | |
https://github.com/ffcommax/httprobe | |
---------------------- | |
site:site.com -www -subdomain | |
---------------------- |
#!/bin/bash | |
RED=$(tput setaf 1) | |
GREEN=$(tput setaf 2) | |
BLUE=$(tput setaf 4) | |
RESET=$(tput sgr0) | |
echo "${RED} ######################################################### ${RESET}" | |
echo "${RED} # TOOLS FOR BUG BOUNTY # ${RESET}" | |
echo "${RED} ######################################################### ${RESET}" |
# Basic Usage | |
ffuf -w wordlist.txt -u http://127.0.0.1:8000/api/FUZZ/6 -o output.txt -replay-proxy http://127.0.0.1:8080 | |
# Basic Usage With a Cookie | |
ffuf -w wordlist.txt -u http://127.0.0.1:8000/api/FUZZ/6 -o output.txt -replay-proxy http://127.0.0.1:8080 -b "laravel_session=eyJpdiI6Ii8wQU11dTVlUkg2alRHUXBIVzlGSnc9PSIsInZhbHVlIjoiOWs3YllJWTdqNC9xa1pMeFRvMFh0OE1vRFpaWm9GSzFkRktVZS9yUHBDM0lIazZ4K0NsbndxWVIxQ05VZWhqZUZaR0RGQWlFdmdDc24yWllYRklGSXI5STd2b05Pam4yRXIwV1BUWkZhUnFLNUFzOWsycmRHcnlxS0FqRWNsSnEiLCJtYWMiOiI3ZTliMmM2YzIxOTExNDE0NmVjYTYyMGI4Nzg4YzJiYjNmNjVkNDI1YzEyODYwMzY5YzczNzY3NTUwZDk0OGYzIn0%3D;" | |
# Adding a delay | |
ffuf -w wordlist.txt -u http://127.0.0.1:8000/api/FUZZ/6 -o output.txt -replay-proxy http://127.0.0.1:8080 –p 1 –t 3 | |
# Adding a delay (new method) |
Injection Signatures, Malicious Inputs, XSS, HTTP Header Injection, XXE, RCE https://github.com/xsscx/Commodity-Injection-Signatures
XXE in uber.com https://httpsonly.blogspot.com.es/2017/01/0day-writeup-xxe-in-ubercom.html
Hunting in the Dark - Blind XXE