1
2
Fork 0
mirror of https://github.com/carlospolop/hacktricks.git synced 2023-12-14 19:12:55 +01:00

GITBOOK-3786: No subject

This commit is contained in:
CPol 2023-02-16 14:44:06 +00:00 committed by gitbook-bot
parent a29bf55e79
commit d3ff9adf81
No known key found for this signature in database
GPG key ID: 07D2180C7B12D0FF

View file

@ -40,6 +40,10 @@ done
### Uncovering Cloudflare from AWS machines
For a better description of this process check:
{% embed url="https://trickest.com/blog/cloudflare-bypass-discover-ip-addresses-aws/?utm_campaign=hacktrics&utm_medium=banner&utm_source=hacktricks" %}
```bash
# Find open ports
sudo masscan --max-rate 10000 -p80,443 $(curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select(.service=="EC2") | .ip_prefix' | tr '\n' ' ') | grep "open" > all_open.txt