Added pagodo install, execute and config

This commit is contained in:
cgeopapa 2023-02-13 19:59:05 +02:00
parent 88dc7f3afd
commit 859d808f3d
3 changed files with 23 additions and 0 deletions

View File

@ -176,6 +176,8 @@ VHOSTS="0"
H8MAIL="0"
GITHUB_SECRETS="0"
URLSCANIO="1"
PAGODO="1"
PAGODO_PROXYCHAIN="0"
# DYNAMIC APPLICATION SCANNERS
BURP_SCAN="0"

View File

@ -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

View File

@ -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 > /dev/null &
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 > /dev/null &
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 > /dev/null &
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"