Update GIT repos & add homebrew info

This commit is contained in:
g0tmi1k 2018-09-24 12:51:27 +01:00
parent 461a8999a7
commit c4f625e62d
3 changed files with 19 additions and 9 deletions

View file

@ -4,23 +4,23 @@ progname="$( basename "$0" )"
##-- Exploits
files_array+=("files_exploits.csv")
path_array+=("/opt/exploit-database")
path_array+=("/opt/exploitdb")
name_array+=("Exploit")
git_array+=("https://github.com/offensive-security/exploit-database.git")
git_array+=("https://github.com/offensive-security/exploitdb.git")
package_array+=("exploitdb")
##-- Shellcodes
files_array+=("files_shellcodes.csv")
path_array+=("/opt/exploit-database")
path_array+=("/opt/exploitdb")
name_array+=("Shellcode")
git_array+=("https://github.com/offensive-security/exploit-database.git")
git_array+=("https://github.com/offensive-security/exploitdb.git")
package_array+=("exploitdb")
##-- Papers
files_array+=("files_papers.csv")
path_array+=("/opt/exploit-database-papers")
path_array+=("/opt/exploitdb-papers")
name_array+=("Paper")
git_array+=("https://github.com/offensive-security/exploit-database-papers.git")
git_array+=("https://github.com/offensive-security/exploitdb-papers.git")
package_array+=("exploitdb-papers")

View file

@ -40,6 +40,7 @@ root@kali:~# searchsploit -h
searchsploit -t oracle windows
searchsploit -p 39446
searchsploit linux kernel 3.2 --exclude="(PoC)|/dos/"
searchsploit linux reverse password"
For more examples, see the manual: https://www.exploit-db.com/searchsploit/
@ -131,8 +132,16 @@ In short: clone the repository, add the binary into $PATH, and edit the config f
```
$ sudo git clone https://github.com/offensive-security/exploitdb.git /opt/exploitdb
$ sudo ln -sf /opt/exploitdb/searchsploit /usr/local/bin/searchsploit
$ sed 's|path_array+=(.*)|path_array+=("/opt/exploitdb")|g' /opt/exploitdb/.searchsploit_rc > ~/.searchsploit_rc
$ sudo ln -sf /opt/exploitdb/searchsploit /usr/local/bin/searchsploit
```
**Homebrew**
If you have [homebrew](http://brew.sh/) ([package](https://github.com/Homebrew/homebrew-core/blob/master/Formula/exploitdb.rb), [formula](https://formulae.brew.sh/formula/exploitdb)) installed, running the following will get you setup:
```
user@MacBook:~$ brew update && brew install exploitdb
```
- - -

View file

@ -1,8 +1,8 @@
#!/bin/bash
# Name: SearchSploit - Exploit-DB's CLI search tool
# Version: 4.0.2 (Release date: 2018-01-26)
# Version: 4.0.3 (2018-09-24)
# Written by: Offensive Security, Unix-Ninja, and g0tmi1k
# Homepage: https://github.com/offensive-security/exploit-database
# Homepage: https://github.com/offensive-security/exploitdb
# Manual: https://www.exploit-db.com/searchsploit/
#
## NOTE:
@ -66,6 +66,7 @@ function usage()
echo " ${progname} -t oracle windows"
echo " ${progname} -p 39446"
echo " ${progname} linux kernel 3.2 --exclude=\"(PoC)|/dos/\""
echo " ${progname} linux reverse password"
echo ""
echo " For more examples, see the manual: https://www.exploit-db.com/searchsploit/"
echo ""