Skip to content

Commit

Permalink
Update GIT repos & add homebrew info
Browse files Browse the repository at this point in the history
  • Loading branch information
g0tmi1k committed Sep 24, 2018
1 parent 461a899 commit c4f625e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .searchsploit_rc
Original file line number Diff line number Diff line change
Expand Up @@ -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")
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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
```

- - -
Expand Down
5 changes: 3 additions & 2 deletions searchsploit
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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 ""
Expand Down

0 comments on commit c4f625e

Please sign in to comment.