mirror of https://github.com/1N3/Sn1per.git
postgresql is now started again, running BruteX and Findsploit install
This commit is contained in:
parent
e2610c9457
commit
4012575a77
|
|
@ -64,8 +64,8 @@ git clone https://github.com/drwetter/testssl.sh.git
|
|||
git clone https://github.com/lunarca/SimpleEmailSpoofer
|
||||
git clone https://github.com/arthepsy/ssh-audit
|
||||
echo -e "$OKORANGE + -- --=[Setting up environment...$RESET"
|
||||
cd $PLUGINS_DIR/BruteX/
|
||||
bash install.sh
|
||||
cd $PLUGINS_DIR/Findsploit/ && sh install.sh
|
||||
cd $PLUGINS_DIR/BruteX/ && sh install.sh
|
||||
cd $INSTALL_DIR
|
||||
mkdir $LOOT_DIR 2> /dev/null
|
||||
mkdir $LOOT_DIR/screenshots/ -p 2> /dev/null
|
||||
|
|
|
|||
4
sniper
4
sniper
|
|
@ -94,7 +94,7 @@ function loot {
|
|||
rm -f $LOOT_DIR/.fuse_* 2> /dev/null
|
||||
echo -e "$OKORANGE + -- --=[Starting Metasploit service...$RESET"
|
||||
/etc/init.d/metasploit start 2> /dev/null
|
||||
# /etc/init.d/postgresql start 2> /dev/null
|
||||
/etc/init.d/postgresql start 2> /dev/null
|
||||
echo -e "$OKORANGE + -- --=[Importing NMap XML files into Metasploit...$RESET"
|
||||
msfconsole -x "workspace -a $WORKSPACE; workspace $WORKSPACE; db_import $LOOT_DIR/nmap/nmap*.xml; hosts; services; exit;"
|
||||
echo -e "$OKORANGE + -- --=[Copying loot to workspace: $WORKSPACE...$RESET"
|
||||
|
|
@ -666,7 +666,7 @@ else
|
|||
nmap -sU -T5 -p U:$OPT1 --open $TARGET
|
||||
fi
|
||||
|
||||
# service postgresql start
|
||||
service postgresql start
|
||||
|
||||
echo ""
|
||||
echo -e "$OKGREEN + -- ----------------------------=[Running Intrusive Scans]=----------------- -- +$RESET"
|
||||
|
|
|
|||
Loading…
Reference in New Issue