Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
WP Engine Marketing committed Jan 8, 2020
2 parents e784af2 + b386d21 commit 109e0bd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ https://xerosecurity.com
![alt tag](https://github.com/1N3/Findsploit/blob/master/findsploit.png)

### ABOUT
Finsploit is a simple bash script to quickly and easily search both local and online exploit databases. This repository also includes "copysploit" to copy any exploit-db exploit to the current directory and "compilesploit" to automatically compile and run any C exploit (ie. ./copysploit 1337.c && ./compilesploit 1337.c).

For updates to this script, type `findsploit update`
Findsploit is a simple bash script to quickly and easily search both local and online exploit databases. This repository also includes "copysploit" to copy any exploit-db exploit to the current directory and "compilesploit" to automatically compile and run any C exploit (ie. ./copysploit 1337.c && ./compilesploit 1337.c).

### INSTALLATION
```
Expand Down Expand Up @@ -43,6 +41,9 @@ Search all Metasploit payloads for windows only payloads:
* findsploit payloads | grep windows
```

## UPDATE:
To update exploit-db and check for new versions of findsploit, run ```findsploit --update```

## LICENSE:
You may modify and re-distribute this software as long as the project name "Findsploit", credit to the author "xer0dayz" and website URL "https://xerosecurity.com" are NOT mofified. Doing so will break the license agreement and a takedown notice will be issued.

Expand Down
24 changes: 12 additions & 12 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#

FINDSPLOIT_INSTALL_DIR=/usr/share/findsploit
INSTALL_SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
COLOR1='\033[91m'
COLOR2='\033[92m'
COLOR3='\033[92m'
Expand All @@ -22,21 +23,20 @@ echo -e "$COLOR1+ -- --=[Usage: findsploit windows xp remote, etc."
echo -e "$RESET"

echo -e "$OKGREEN + -- --=[This script will install findsploit under $FINDSPLOIT_INSTALL_DIR."
rm -Rf $FINDSPLOIT_INSTALL_DIR 2> /dev/null
mkdir -p $FINDSPLOIT_INSTALL_DIR 2> /dev/null
cp -Rf $PWD/* $FINDSPLOIT_INSTALL_DIR
cd $FINDSPLOIT_INSTALL_DIR
apt-get install exploitdb xdg-utils
rm -Rf "$FINDSPLOIT_INSTALL_DIR" 2> /dev/null
mkdir -p "$FINDSPLOIT_INSTALL_DIR" 2> /dev/null
cp -Rf "$INSTALL_SCRIPT_DIR"/* "$FINDSPLOIT_INSTALL_DIR"
cd "$FINDSPLOIT_INSTALL_DIR"
apt-get install -y exploitdb xdg-utils
mkdir loot 2> /dev/null
chmod +x $FINDSPLOIT_INSTALL_DIR/findsploit
chmod +x $FINDSPLOIT_INSTALL_DIR/copysploit
chmod +x $FINDSPLOIT_INSTALL_DIR/compilesploit
chmod +x "$FINDSPLOIT_INSTALL_DIR/findsploit"
chmod +x "$FINDSPLOIT_INSTALL_DIR/copysploit"
chmod +x "$FINDSPLOIT_INSTALL_DIR/compilesploit"
rm -f /usr/bin/findsploit 2> /dev/null
rm -f /usr/bin/copysploit 2> /dev/null
rm -f /usr/bin/compilesploit 2> /dev/null
ln -s /usr/share/findsploit/findsploit /usr/bin/findsploit
ln -s /usr/share/findsploit/copysploit /usr/bin/copysploit
ln -s /usr/share/findsploit/compilesploit /usr/bin/compilesploit
ln -s "$FINDSPLOIT_INSTALL_DIR/findsploit" /usr/bin/findsploit
ln -s "$FINDSPLOIT_INSTALL_DIR/copysploit" /usr/bin/copysploit
ln -s "$FINDSPLOIT_INSTALL_DIR/compilesploit" /usr/bin/compilesploit
echo -e "$OKORANGE + -- --=[Done!$RESET"


8 changes: 0 additions & 8 deletions urls

This file was deleted.

0 comments on commit 109e0bd

Please sign in to comment.