diff --git a/conf/default b/conf/default index bc34835..986b89e 100644 --- a/conf/default +++ b/conf/default @@ -176,6 +176,8 @@ VHOSTS="0" H8MAIL="0" GITHUB_SECRETS="0" URLSCANIO="1" +PAGODO="1" +PAGODO_PROXYCHAIN="0" # DYNAMIC APPLICATION SCANNERS BURP_SCAN="0" diff --git a/install.sh b/install.sh index d06da57..2ff138f 100755 --- a/install.sh +++ b/install.sh @@ -256,6 +256,14 @@ pip3 install -r requirements.txt python3 setup.py install cd .. +# PAGODO INSTALLER +echo -e "$OKBLUE[*]$RESET Installing pagodo...$RESET" +git clone https://github.com/opsdisk/pagodo.git +cd pagodo +pip3 install -r requirements.txt +python ghdb_scraper.py -s -j -i +cd .. + # NUCLEI UPDATES echo -e "$OKBLUE[*]$RESET Installing Nuclei...$RESET" GO111MODULE=on go install github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest diff --git a/modes/osint.sh b/modes/osint.sh index dfe16ac..bb9ada0 100644 --- a/modes/osint.sh +++ b/modes/osint.sh @@ -3,6 +3,19 @@ if [[ "$OSINT" = "1" ]]; then if [[ "$SLACK_NOTIFICATIONS" == "1" ]]; then /bin/bash "$INSTALL_DIR/bin/slack.sh" "[sn1persecurity.com] •?((¯°·._.• Started Sn1per OSINT scan: $TARGET [$MODE] (`date +"%Y-%m-%d %H:%M"`) •._.·°¯))؟•" fi + if [[ "$PAGODO" == "1" ]]; then + echo -e "${OKGREEN}====================================================================================${RESET}•x${OKGREEN}[`date +"%Y-%m-%d](%H:%M)"`${RESET}x•" + echo -e "$OKRED STARTING PAGODO PASSIVE SCANNER $RESET" + echo -e "${OKGREEN}====================================================================================${RESET}•x${OKGREEN}[`date +"%Y-%m-%d](%H:%M)"`${RESET}x•" + cd $INSTALL_DIR/plugins/pagodo + if [[ "$PAGODO_PROXYCHAIN" == "1" ]]; then + proxychains4 python3 pagodo.py -d $TARGET -g ./dorks/all_google_dorks.txt -i 30 -x 120 -m 2 -s $LOOT_DIR/osint/dorks-$TARGET.txt &> $LOOT_DIR/osint/pagodo-logs-$TARGET.log & + elif [[ "$PAGODO_PROXYCHAIN" == "0" ]]; then + python3 pagodo.py -d $TARGET -g ./dorks/all_google_dorks.txt -i 30 -x 120 -m 2 -s $LOOT_DIR/osint/dorks-$TARGET.txt &> $LOOT_DIR/osint/pagodo-logs-$TARGET.log & + else + python3 pagodo.py -d $TARGET -g ./dorks/all_google_dorks.txt -i 30 -x 120 -m 2 -s $LOOT_DIR/osint/dorks-$TARGET.txt -p $PAGODO_PROXYCHAIN &> $LOOT_DIR/osint/pagodo-logs-$TARGET.log & + fi + fi if [[ "$WHOIS" == "1" ]]; then echo -e "${OKGREEN}====================================================================================${RESET}•x${OKGREEN}[`date +"%Y-%m-%d](%H:%M)"`${RESET}x•" echo -e "$OKRED GATHERING WHOIS INFO $RESET"