# My Cyber Cheat Sheet

## Documentation

* [The Bug Hunter's Methodology (TBHM)](https://github.com/jhaddix/tbhm) also in [video](https://www.youtube.com/watch?v=HmDY7w8AbR4) from **NahamCon2022**
* [OWASP Web Security Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)
* [OWASP Mobile Application Security](https://mas.owasp.org/)
* [OWASP Cheat Sheet Series](https://cheatsheetseries.owasp.org/index.html)
* [HackTricks](https://book.hacktricks.xyz/welcome/readme)

## Bug Bounty Programs

* [HackerOne](https://www.hackerone.com/)
* [BugCrowd](https://www.bugcrowd.com/)
* [Intigriti](https://www.intigriti.com/)
* [YesWeHack](https://www.yeswehack.com/)
* [Immunefi](https://immunefi.com/)
* [openbugbounty](https://www.openbugbounty.org/)

Gather scopes programatically with [sw33tLie/bbscope](https://github.com/sw33tLie/bbscope)

## Tools

### Subdomain Enumeration

* [OWASP/amass](https://github.com/OWASP/Amass)
* [projectdiscovery/subfinder](https://github.com/projectdiscovery/subfinder)
* [Oshmilylty/One4All](https://github.com/shmilylty/OneForAll)

### Information Gathering

* [hackluke/haktrails](https://github.com/hakluke/haktrails)
  * fetches [securitytrails](https://securitytrails.com/) which is really usefull for subdomain-takeovers
* Extract info from JS files: [BishopFox/jsluice](https://github.com/BishopFox/jsluice)
  * `function jsurls { jsluice urls <(curl -sk "$1"); }`
* [assetfinder](https://github.com/tomnomnom/assetfinder)
  * checks certs
* [chaos](https://chaos.projectdiscovery.io/#/)
  * everything that is in a BB program should be here
* [edoardottt/cariddi](https://github.com/edoardottt/cariddi)

### **Wordlists**

* [commonspeak](https://github.com/assetnote/commonspeak2-wordlists)
* [SecLists](https://github.com/danielmiessler/SecLists)
* <https://wordlists.assetnote.io/>

### Permutations

* [gotator](https://github.com/Josue87/gotator)

{% code overflow="wrap" %}

```bash
gotator -sub $subdomains -perm $dns_wordlist -depth 2 -numbers 4 -mindup -adv -md -silent -t 150
```

{% endcode %}

* [altdns](https://github.com/infosec-au/altdns)
* [goaltdns](https://github.com/subfinder/goaltdns)
* [dnsgen](https://github.com/ProjectAnte/dnsgen)
* [regulator](https://github.com/cramppet/regulator)
  * More info [here](https://cramppet.github.io/regulator/index.html)

### SQLi:

* [sqlmapproject/sqlmap](https://github.com/sqlmapproject/sqlmap)
* [eslam3kl/SQLiDetector](https://github.com/eslam3kl/SQLiDetector): Integrates with BurpSuite
* [r0oth3x49/ghauri](https://github.com/r0oth3x49/ghauri)

### Phishing

* [JoelGMSec/EvilnoVNC](https://github.com/JoelGMSec/EvilnoVNC)

## Other tools

* DNS Resolver: [puredns](https://github.com/d3mondev/puredns)
* DNS Resolver: [dnsx](https://github.com/projectdiscovery/dnsx)
* Reverse Lookup: [https://securitytrails.com/domain/DOMAINTOFIND.COM/dns](https://securitytrails.com/domain/epicgames.com/dns)
* Similar companies/domains by trademark: <https://trademarks.justia.com/>
* Reverse Whois [whoxyrm](https://github.com/MilindPurswani/whoxyrm)
  * <https://www.whoxy.com/>
* De-dups: [uro](https://github.com/s0md3v/uro)
* Screenshot: [gowitness](https://github.com/sensepost/gowitness)
* Project Discovery Tool Manager - [pdtm](https://github.com/projectdiscovery/pdtm)
  * To download tools like: [subfinder](https://github.com/projectdiscovery/subfinder), [dnsx](https://github.com/projectdiscovery/dnsx), [httpx](https://github.com/projectdiscovery/httpx), [Naabu](https://github.com/projectdiscovery/Naabu), [proxify](https://github.com/projectdiscovery/proxify), [nuclei](https://github.com/projectdiscovery/nuclei), [notify](https://github.com/projectdiscovery/notify)
* Test all the strings: [CyberChef](https://gchq.github.io/CyberChef/)
* 403 Bruteforce: [M4DM0e/DirDar](https://github.com/M4DM0e/DirDar)

## Check Acquisitions

* [httpx](https://github.com/projectdiscovery/httpx)
  * Gives also context about web apps such as technology

## Port Analysis

* [Masscan](https://github.com/robertdavidgraham/masscan)
* [Naabu](https://github.com/projectdiscovery/Naabu)
* [nmap](https://nmap.org/)

```
PORTS=80,81,300,443,591,593,832,981,1010,1311,2082,2087,2095,2096,2480,2375,3000,3128,3333,4443,4080,4243,4567,4711,4712,4993,5000,5104,5108,5800,6543,7000,7396,7474,8000,8001,8008,8014,8042,8069,8080,8081,8088,8090,8091,8118,8123,8172,8222,8243,8280,8281,8333,8443,8500,8834,8880,8888,8983,9000,9043,9060,9080,9090,9091,9200,9443,9800,9981,10000,10250,12443,16080,18091,18092,20720,28017
```

## Content Discovery

* [ffuf/ffuf](https://github.com/ffuf/ffuf)
* <https://github.com/epi052/feroxbuster>
  * Other content discovery (better)
* Gau: <https://github.com/lc/gau>
  * List public known resources
* Waybackurls or waymore
  * <https://github.com/xnl-h4ck3r/waymore> (edited)&#x20;

## VPS Hosting

* [Scaleway](https://www.scaleway.com/en/) - Budget Friendly
* [Oracle Cloud](https://cloud.oracle.com/) - Almost free decent VPS
* [Google Cloud](https://cloud.google.com/) - 300$ in free credits
* [Amazon Web Services](https://aws.amazon.com/) - Pretty decent VPS free tier
* [Azure](https://azure.microsoft.com/) - Same as AWS

## Manual - Proxies

* [BurpSuite](https://portswigger.net/burp)
  * Get hands on training with the [Web Security Academy](https://portswigger.net/web-security) from PortSwigger
* [Caido](https://caido.io/)
* [OWASP ZAP](https://www.zaproxy.org/)

## Static Code Analysis | Secret detection

* [gitleaks/gitleaks](https://github.com/gitleaks/gitleaks)
* [snyk/cli](https://github.com/snyk/cli)
* [aquasecurity/trivy](https://github.com/aquasecurity/trivy)
* [praetorian-inc/noseyparker](https://github.com/praetorian-inc/noseyparker)

## Privilege Escalation

* [PEASS-ng](https://github.com/carlospolop/PEASS-ng)

## Useful banners

<figure><img src="https://3143345133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRwfEQPPcB1ACLB9HVEOP%2Fuploads%2Fkmny78Q1AOKLhlcaABkq%2Fimage.png?alt=media&#x26;token=cfded7be-a9e9-4001-8016-e137d8b3484b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3143345133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRwfEQPPcB1ACLB9HVEOP%2Fuploads%2F2c7WiglLRPalIlSJiGz1%2Fimage.png?alt=media&#x26;token=f607b6e0-1046-4664-99c0-8fe5b53f68d2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3143345133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRwfEQPPcB1ACLB9HVEOP%2Fuploads%2FfaMMcyq7hbzZlVtwrJqu%2Fimage.png?alt=media&#x26;token=af2b4ad4-7051-40f9-beaf-6818abd9c7c8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3143345133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRwfEQPPcB1ACLB9HVEOP%2Fuploads%2FfGf6437VBG7G4uKQpQRZ%2Fimage.png?alt=media&#x26;token=1d19154c-7b55-4484-84b4-7f82a1907248" alt=""><figcaption><p>nmap cheat sheet</p></figcaption></figure>

## Good WriteUp's / Posts:

* <https://medium.com/@s_novoselov>
* <https://github.com/hahwul/WebHackersWeapons>
* <https://honoki.net/2020/10/08/introducing-bbrf-yet-another-bug-bounty-reconnaissance-framework/>
* <https://github.com/arget13/DDexec>
* <https://sha256algorithm.com/>
* <https://medium.com/nerd-for-tech/some-tips-for-sql-injections-764e1a254a29>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://amocsub.gitbook.io/blog/misc/my-cyber-cheat-sheet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
