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.
29c9e762d4f208266c167f723e7656ea513906f0
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
tmux new -s pentest
git clone {placeholder for git address}
chmod +x external_pentest.sh
sudo ./external_pentest.sh external_ips.txt
or
sudo bash external_pentest.sh external_ips.txt
Description
Languages
Shell
100%