This repository has been archived on 2025-05-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2025-01-13 22:02:16 +00:00
2025-01-13 21:47:42 +00:00
2025-01-13 22:02:16 +00:00

JupiterOne Query to Find a list of all external IP Addresses

FIND aws_eip

Download the above as a json file and run the following command to get a complete list of all external IP addresses and export them to a text file.

jq '.data[].entity.publicIpAddress // .data[].properties.publicIpAddress' *.json | grep -v 2600 | cut -d '"' -f 2 >> external_ips.txt

Script Execution Instructions

Because of How long this script will take to run it is HIGHLY recommended to run this in a tmux session in case the connection gets killed so it will keep running in the background.

tmux new -s pentest
git clone {placeholder for git address}

Move the external_ips.txt file into the directory greated from the git clone.

mv external_ips.txt external_pentest/

Change Directories

cd external_pentest
chmod +x external_pentest.sh
sudo ./external_pentest.sh external_ips.txt

or

sudo bash external_pentest.sh external_ips.txt

All of the raw files are retained from this script in the relevant folders, please tar these up and save them in google drive for reference later if needed.

tar -jcvf name.tar.bz2 folder_to_be_compressed

Finally, the results are going to be automatically put into a PDF for easy consumption a quick review.

Description
No description provided
Readme 72 KiB
Languages
Shell 100%