begging work on script. Workable version with python integrated
This commit is contained in:
17
README.md
17
README.md
@@ -0,0 +1,17 @@
|
||||
## 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
|
||||
|
||||
```bash
|
||||
git clone {placeholder for git address}
|
||||
chmod +x external_pentest.sh
|
||||
./external_pentest.sh external_ips.txt
|
||||
```
|
||||
Reference in New Issue
Block a user