Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
1N3 committed Jan 25, 2020
1 parent fa89307 commit a2f8d00
Show file tree
Hide file tree
Showing 11 changed files with 4,360 additions and 3,733 deletions.
8 changes: 3 additions & 5 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Findsploit by 1N3@CrowdShield
https://crowdshield.com
# Findsploit by @xer0dayz
https://xerosecurity.com

## LICENSE:

This software is free to use, distribute and modify as desired as long as original credit is maintained to the author (1N3@CrowdShield).

This software is free to distribute and use with the condition that credit is provided to the creator (@xer0dayz @XeroSecurity), is not renamed and is not for commercial use or resold and rebranded. Permission to distribute any part of the code for sale is strictly prohibited.
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Findsploit by 1N3@CrowdShield
https://crowdshield.com
# Findsploit by @xer0dayz
https://xerosecurity.com

![alt tag](https://github.com/1N3/Findsploit/blob/master/findsploit.png)

Expand Down Expand Up @@ -44,11 +44,4 @@ Search all Metasploit payloads for windows only payloads:
```

## LICENSE:
This software is free to distribute, modify and use with the condition that credit is provided to the creator (1N3@CrowdShield) and is not for commercial use.

## DONATIONS:
Donations are welcome. This will help fascilitate improved features, frequent updates and better overall support.
- [x] BTC 1Fav36btfmdrYpCAR65XjKHhxuJJwFyKum
- [x] DASH XoWYdMDGb7UZmzuLviQYtUGb5MNXSkqvXG
- [x] ETH 0x20bB09273702eaBDFbEE9809473Fd04b969a794d
- [x] LTC LQ6mPewec3xeLBYMdRP4yzeta6b9urqs2f
This software is free to distribute and use with the condition that credit is provided to the creator (@xer0dayz @XeroSecurity), is not renamed and is not for commercial use or resold and rebranded. Permission to distribute any part of the code for sale is strictly prohibited.
12 changes: 6 additions & 6 deletions compilesploit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# compilesploit by 1N3
# compilesploit by @xer0dayz
# A small script to automatically find and copy an exploit file to the current directory...
#

Expand All @@ -20,18 +20,18 @@ function logo {
if [ -z "$1" ];
then
logo
echo -e "$COLOR1+ -- --=[compilesploit by 1N3"
echo -e "$COLOR1+ -- --=[https://crowdshield.com$RESET"
echo -e "$COLOR1+ -- --=[Usage: compilesploit <filename>"
echo -e "$COLOR1+ -- --=[ compilesploit by @xer0dayz"
echo -e "$COLOR1+ -- --=[ https://xerosecurity.com$RESET"
echo -e "$COLOR1+ -- --=[ Usage: compilesploit <filename>"
echo ""
echo ""
exit;
else
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
logo
echo ""
echo -e "$COLOR1+ -- --=[compilesploit by 1N3"
echo -e "$COLOR1+ -- --=[https://crowdshield.com$RESET"
echo -e "$COLOR1+ -- --=[compilesploit by @xer0dayz"
echo -e "$COLOR1+ -- --=[https://xerosecurity.com$RESET"
echo ""
echo -e "$COLOR1+ -- --=[COMPILING:$COLOR2 $1 $RESET"
echo ""
Expand Down
8 changes: 4 additions & 4 deletions copysploit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# copysploit by 1N3
# copysploit by @xer0dayz
# A small script to automatically find and copy an exploit file to the current directory...
#

Expand All @@ -16,8 +16,8 @@ function logo {
echo -e "$COLOR3\/ |_|_| |_|\__,_|___/ .__/|_|\___/|_|\__|"
echo -e "$COLOR3 |_| "
echo ""
echo -e "$COLOR1+ -- --=[findsploit by 1N3"
echo -e "$COLOR1+ -- --=[https://crowdshield.com$RESET"
echo -e "$COLOR1+ -- --=[ findsploit by @xer0dayz"
echo -e "$COLOR1+ -- --=[ https://xerosecurity.com$RESET"
echo ""
}

Expand All @@ -29,7 +29,7 @@ then
else
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
logo
echo -e "$COLOR1+ -- --=[COPYING:$COLOR2 $1 $COLOR1 TO $COLOR2 `pwd` $RESET"
echo -e "$COLOR1+ -- --=[ COPYING:$COLOR2 $1 $COLOR1 TO $COLOR2 `pwd` $RESET"
echo ""
find /pentest/exploits/ -name $1 -exec cp -f {} . \;
echo -e "$COLOR1"
Expand Down
74 changes: 45 additions & 29 deletions findsploit
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash
# Findsploit by 1N3 @CrowdShield
# https://crowdshield.com
# Findsploit by @xer0dayz
# https://xerosecurity.com
#
# Finsploit is a simple bash script to quickly and easily search both local and online exploit databases.
#

clear

VER='1.8'
VER='1.9'
SEARCHSPLOIT_SCRIPT='/usr/bin/searchsploit'
NMAP_SCRIPTS='/usr/share/findsploit/nmap/nmap'
MSF_SEARCH_DIR='/usr/share/findsploit/msf_search'
Expand All @@ -16,45 +16,52 @@ VAR1=$1;
VAR2=$2;
VAR3=$3;
VARS="$*"
COLOR1='\033[91m'

OKRED='\033[91m'
COLOR2='\033[1m\033[92m'
COLOR3='\033[1m'
OKRED='\033[1m'

OKBLUE='\033[94m'
OKRED='\033[91m'
OKGREEN='\033[92m'
OKORANGE='\033[93m'
RESET='\e[0m'
REGEX='^[0-9]+$'

function logo {
echo -e "$COLOR3 ___ _ _ _ _ _ "
echo -e "$COLOR3 / __(_)_ __ __| |___ _ __ | | ___ (_) |_ "
echo -e "$COLOR3 / _\ | | '_ \ / _\` / __| '_ \| |/ _ \| | __|"
echo -e "$COLOR3/ / | | | | | (_| \__ \ |_) | | (_) | | |_ "
echo -e "$COLOR3\/ |_|_| |_|\__,_|___/ .__/|_|\___/|_|\__|"
echo -e "$COLOR3 |_| "
echo -e "$OKRED ___ _ _ _ _ _ "
echo -e "$OKRED / __(_)_ __ __| |___ _ __ | | ___ (_) |_ "
echo -e "$OKRED / _\ | | '_ \ / _\` / __| '_ \| |/ _ \| | __|"
echo -e "$OKRED/ / | | | | | (_| \__ \ |_) | | (_) | | |_ "
echo -e "$OKRED\/ |_|_| |_|\__,_|___/ .__/|_|\___/|_|\__|"
echo -e "$OKRED |_| "
echo ""
echo -e "$COLOR1+ -- --=[findsploit v$VER by 1N3"
echo -e "$COLOR1+ -- --=[https://crowdshield.com$RESET"
echo -e "$OKRED + -- --=[ findsploit v$VER by @xer0dayz"
echo -e "$OKRED + -- --=[ https://xerosecurity.com$RESET"
echo ""
}

function update {
logo
echo -e "$COLOR1+ -- --=[Checking for updates... $RESET"
echo -e "$OKRED + -- --=[ Checking for updates... $RESET"
if [[ $(curl -s https://api.github.com/repos/1N3/Findsploit/tags) == "" ]];
then
echo -e "$COLOR1+ -- --=[Error: no active internet connection $RESET"
echo -e "$OKRED + -- --=[ Error: no active internet connection $RESET"
echo ""
exit 1
fi
LATEST_VERSION=$(curl -s https://api.github.com/repos/1N3/Findsploit/tags | grep -Po '"name":.*?[^\\]",'| head -1 | cut -c11-13)
if [[ "$LATEST_VERSION" != "$VER" && "$LATEST_VERSION" != "" ]];
then
echo -e "$COLOR1+ -- --=[Findsploit v$LATEST_VERSION is available to download. $RESET"
echo -e "$COLOR1+ -- --=[Do you want to update Findsploit [Y/n]: $RESET"
echo -e "$OKRED + -- --=[ Findsploit v$LATEST_VERSION is available to download. $RESET"
echo -e "$OKRED + -- --=[ Do you want to update Findsploit [Y/n]: $RESET"
read answer
if [[ "$answer" == "Y" || "$answer" == "y" ]] ;
then
cd ~ || { echo -e "$COLOR1+ -- --=[Update Failed $RESET" ; exit 1 ; }
cd ~ || { echo -e "$OKRED + -- --=[ Update Failed $RESET" ; exit 1 ; }
rm -r Findsploit 2> /dev/null
git clone https://github.com/1N3/Findsploit || { echo -e "$COLOR1+ -- --=[Couldn't download latest version $RESET" ; exit 1; }
cd Findsploit || { echo -e "$COLOR1+ -- --=[Update Failed $RESET" ; exit 1 ;}
git clone https://github.com/1N3/Findsploit || { echo -e "$OKRED + -- --=[ Couldn't download latest version $RESET" ; exit 1; }
cd Findsploit || { echo -e "$OKRED + -- --=[ Update Failed $RESET" ; exit 1 ;}
git checkout $LATEST_VERSION 2> /dev/null
./install.sh
cd ..
Expand All @@ -63,15 +70,15 @@ function update {
exit 1
fi
else
echo -e "$COLOR1+ -- --=[Findsploit is already the latest version $RESET"
echo -e "$OKRED + -- --=[ Findsploit is already the latest version $RESET"
echo ""
fi
}

if [ -z "$1" ];
then
logo
echo -e "$COLOR1+ -- --=[Usage: findsploit windows xp remote, etc."
echo -e "$OKRED + -- --=[ Usage: findsploit windows xp remote, etc. $RESET"
echo ""
echo ""
exit;
Expand Down Expand Up @@ -104,25 +111,34 @@ then
else
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
logo
echo -e "$COLOR1+ -- --=[SEARCHING: $COLOR2 $VARS $RESET"
echo -e "$OKRED + -- --=[ SEARCHING: $COLOR2 $VARS $RESET"
echo ""
echo -e "$COLOR1+ -- --=[NMAP SCRIPTS$RESET"
echo -e "$OKRED + -- --=[ NMAP SCRIPTS $RESET"
echo ""
egrep -i "$VAR1" $NMAP_SCRIPTS | egrep -i "$VAR2" --color=auto | egrep -i "$VAR3" --color=auto
echo ""
echo -e "$COLOR1+ -- --=[METASPLOIT EXPLOITS$RESET"
echo -e "$OKRED + -- --=[ METASPLOIT EXPLOIT S$RESET"
echo ""
egrep -i "$VAR1" $MSF_SEARCH_DIR/* | egrep -i "$VAR2" --color=auto | egrep -i "$VAR3" --color=auto
echo ""
echo -e "$COLOR1+ -- --=[EXPLOITDB EXPLOITS$RESET"
echo -e "$OKRED + -- --=[ EXPLOITDB EXPLOITS $RESET"
echo ""
$SEARCHSPLOIT_SCRIPT $VARS
echo ""
echo 'https://www.exploit-db.com/search?q='$VAR1'+'$VAR2'+'$VAR3
echo 'https://www.google.ca/search?q='$VAR1'%20'$VAR2'%20'$VAR3'+exploit'
echo 'https://www.google.ca/search?q='$VAR1'%20'$VAR2'%20'$VAR3'+exploit+site:www.securityfocus.com'
echo 'https://www.google.ca/search?q='$VAR1'%20'$VAR2'%20'$VAR3'+site:0day.today'
echo 'https://www.google.ca/search?q='$VAR1'%20'$VAR2'%20'$VAR3'+site:www.security-database.com'
echo 'https://www.google.ca/search?q='$VAR1'%20'$VAR2'%20'$VAR3'+site:packetstormsecurity.com'
echo 'https://exploits.shodan.io/?q='$VAR1'+'$VAR2'+'$VAR3
echo 'https://vulners.com/search?query='$VAR1'+'$VAR2'+'$VAR3
echo ""
echo -e "$COLOR2+ -- --=[Press any key to search online or Ctrl+C to exit...$RESET"
echo -e "$OKORANGE + -- --=[ Press any key to search online or Ctrl+C to exit...$RESET"
read test
$BROWSER_CMD 'https://crowdshield.com' 2> /dev/null &
$BROWSER_CMD 'https://xerosecurity.com' 2> /dev/null &
sleep 5
$BROWSER_CMD 'https://www.exploit-db.com/search/?action=search&description='$VAR1'+'$VAR2'+'$VAR3'&e_author=' 2>/dev/null &> /dev/null
$BROWSER_CMD 'https://www.exploit-db.com/search?q='$VAR1'+'$VAR2'+'$VAR3 2>/dev/null &> /dev/null
$BROWSER_CMD 'https://www.google.ca/search?q='$VAR1'%20'$VAR2'%20'$VAR3'+exploit' 2>/dev/null &> /dev/null
$BROWSER_CMD 'https://www.google.ca/search?q='$VAR1'%20'$VAR2'%20'$VAR3'+exploit+site:www.securityfocus.com' 2> /dev/null &> /dev/null
$BROWSER_CMD 'https://www.google.ca/search?q='$VAR1'%20'$VAR2'%20'$VAR3'+site:0day.today' 2> /dev/null &> /dev/null
Expand Down
35 changes: 19 additions & 16 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
#!/bin/bash
# Install script for Findsploit by 1N3@CrowdShield
# https://crowdshield.com
# Install script for Findsploit by @xer0dayz
# https://xerosecurity.com
#

FINDSPLOIT_INSTALL_DIR=/usr/share/findsploit
COLOR1='\033[91m'
COLOR2='\033[92m'
COLOR3='\033[92m'

OKBLUE='\033[94m'
OKRED='\033[91m'
OKGREEN='\033[92m'
OKORANGE='\033[93m'
RESET='\e[0m'
REGEX='^[0-9]+$'

echo -e "$COLOR3 ___ _ _ _ _ _ "
echo -e "$COLOR3 / __(_)_ __ __| |___ _ __ | | ___ (_) |_ "
echo -e "$COLOR3 / _\ | | '_ \ / _\` / __| '_ \| |/ _ \| | __|"
echo -e "$COLOR3/ / | | | | | (_| \__ \ |_) | | (_) | | |_ "
echo -e "$COLOR3\/ |_|_| |_|\__,_|___/ .__/|_|\___/|_|\__|"
echo -e "$COLOR3 |_| "
echo -e "$OKRED ___ _ _ _ _ _ "
echo -e "$OKRED / __(_)_ __ __| |___ _ __ | | ___ (_) |_ "
echo -e "$OKRED / _\ | | '_ \ / _\` / __| '_ \| |/ _ \| | __|"
echo -e "$OKRED/ / | | | | | (_| \__ \ |_) | | (_) | | |_ "
echo -e "$OKRED\/ |_|_| |_|\__,_|___/ .__/|_|\___/|_|\__|"
echo -e "$OKRED |_| "
echo -e "$RESET"
echo -e "$COLOR1+ -- --=[findsploit by 1N3"
echo -e "$COLOR1+ -- --=[https://crowdshield.com$RESET"
echo -e "$COLOR1+ -- --=[Usage: findsploit windows xp remote, etc."
echo -e "$OKRED+ -- --=[ findsploit by @xer0dayz"
echo -e "$OKRED+ -- --=[ https://xerosecurity.com$RESET"
echo -e "$OKRED+ -- --=[ Usage: findsploit windows xp remote, etc."
echo -e "$RESET"

echo -e "$OKGREEN + -- --=[This script will install findsploit under $FINDSPLOIT_INSTALL_DIR."
echo -e "$OKORANGE + -- --=[ This script will install findsploit under $FINDSPLOIT_INSTALL_DIR. $RESET"
rm -Rf $FINDSPLOIT_INSTALL_DIR 2> /dev/null
mkdir -p $FINDSPLOIT_INSTALL_DIR 2> /dev/null
cp -Rf $PWD/* $FINDSPLOIT_INSTALL_DIR
Expand All @@ -37,6 +40,6 @@ 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
echo -e "$OKORANGE + -- --=[Done!$RESET"
echo -e "$OKORANGE + -- --=[ Done! $RESET"


Loading

0 comments on commit a2f8d00

Please sign in to comment.