Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-22 00:13:00 +00:00
parent 2c475fa62d
commit b0c7acbdc0
4 changed files with 24 additions and 16 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# searchsploit
> Searchsploit searches exploit database's database for exploits, shellcodes and/or papers.
> Search Exploit Database for exploits, shellcodes and/or papers.
> If known version numbers are used as search terms, exploits for both the exact version and others whose version range covers the one specified are shown.
> More information: <https://www.exploit-db.com/searchsploit>.
@@ -21,14 +21,22 @@ source: https://github.com/tldr-pages/tldr.git
`searchsploit --www {{search_terms}}`
- Make a copy of the resource to the current directory (requires the number of the exploit):
- Copy ([m]irror) the resource to the current directory (requires the number of the exploit):
`searchsploit --mirror {{exploit_number}}`
- Open the resource to read with the pager defined in the `$PAGER` environment variable:
- E[x]amine the resource, using the pager defined in the `$PAGER` environment variable:
`searchsploit --explore {{exploit_number}}`
`searchsploit --examine {{exploit_number}}`
- Update the local exploit database:
- [u]pdate the local Exploit Database:
`searchsploit --update`
- Search for the [c]ommon [v]ulnerabilities and [e]xposures (CVE) value:
`searchsploit --cve {{2021-44228}}`
- Check results in `nmap`'s XML output with service version (`nmap -sV -oX nmap-output.xml`) for known exploits:
`searchsploit --nmap {{path/to/nmap-output.xml}}`