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.
Files
external_pentest/README.md
2025-01-13 21:51:11 +00:00

27 lines
634 B
Markdown

## 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.
```bash
jq '.data[].entity.publicIpAddress // .data[].properties.publicIpAddress' *.json | grep -v 2600 | cut -d '"' -f 2 >> external_ips.txt
```
## Script Execution Instructions
1.
```bash
git clone {placeholder for git address}
```
2.
```bash
chmod +x external_pentest.sh
```
3.
```bash
sudo ./external_pentest.sh external_ips.txt
```
or
```bash
sudo bash external_pentest.sh external_ips.txt
```