This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 | |
00 | |
01 | |
02 | |
03 | |
1 | |
1.0 | |
10 | |
100 | |
1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ipaddress import ip_network, ip_address | |
import json | |
import requests | |
import sys | |
def find_aws_region(): | |
ip_json = requests.get('https://ip-ranges.amazonaws.com/ip-ranges.json') | |
#ip_json = json.load(open('ip-ranges.json')) | |
ip_json = ip_json.json() | |
prefixes = ip_json['prefixes'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias reconme='function frecon() | |
{ | |
mkdir $1 | |
$HOME/./gowitness --chrome-path=/usr/bin/google-chrome file --source=$HOME/aquatone/$1/urls.txt -d $1/ -$ | |
$HOME/./gowitness --chrome-path=/usr/bin/google-chrome -D /var/www/html/recon/$1/.gowitness-$1.db gene$ | |
mv report.html $1/report-$1.html | |
sed -i -e 's%var\/www\/html\/%%g' $1/report-$1.html | |
chown -R www-data:www-data /var/www/html/recon | |
touch /var/www/html/recon/$1/index.html |