Files
cheatsheet-tldr/searchsploit
2024-02-21 11:19:49 +00:00

35 lines
1021 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# searchsploit
> Searchsploit searches exploit database's 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>.
- Search for an exploit, shellcode, or paper:
`searchsploit {{search_terms}}`
- Search for a known specific version, e.g. sudo version 1.8.27:
`searchsploit sudo 1.8.27`
- Show the exploit-db link to the found resources:
`searchsploit --www {{search_terms}}`
- Make a copy of 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:
`searchsploit --explore {{exploit_number}}`
- Update the local exploit database:
`searchsploit --update`