This file contains hidden or 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
| AS | BGP Prefix | CC | Registry | Allocated | AS Name | |
| 13335 | 1.0.0.0/24 | AU | apnic | 2011-08-11 | CLOUDFLARENET, US | |
| 3215 | 2.0.0.0/16 | FR | ripencc | 2010-07-12 | France Telecom - Orange, FR | |
| 16509 | 3.0.0.0/15 | US | arin | 2017-12-20 | AMAZON-02, US | |
| 3356 | 4.0.0.0/9 | US | arin | 1992-12-01 | LEVEL3, US | |
| 29256 | 5.0.0.0/19 | SY | ripencc | 2012-04-23 | INT-PDN-STE-AS STE PDN Internal AS, SY | |
| 3356 | 8.0.0.0/12 | US | arin | 1992-12-01 | LEVEL3, US | |
| 7018 | 12.0.0.0/9 | US | arin | 1983-08-23 | ATT-INTERNET4, US | |
| 13979 | 15.0.0.0/23 | US | arin | 1994-07-01 | ATT-IPFR, US | |
| 714 | 17.0.0.0/21 | US | arin | 1990-04-16 | APPLE-ENGINEERING, US |
This file contains hidden or 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
| 100.20.0.0/14 Amazon.com, Inc. 262,144 | |
| 103.246.148.0/23 Amazon.com, Inc. 512 | |
| 103.246.150.0/23 Amazon.com, Inc. 512 | |
| 103.4.8.0/21 Amazon Data Services Japan KK 2,048 | |
| 103.8.172.0/22 Amazon Corporate Services 1,024 | |
| 104.193.186.0/24 Snapchat, Inc 256 | |
| 108.128.0.0/13 Amazon Data Services Ireland Limited 524,288 | |
| 109.95.191.0/24 | |
| 122.248.192.0/18 Amazon Asia-Pacific Resources Private Limited 16,384 | |
| 130.137.20.0/24 Amazon Technologies Inc. 256 |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains hidden or 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
| 198.143.133.154;AS32475;SingleHop;Linux 3.11+;server1.phx.internet-census.org | |
| 107.6.171.130;AS32475;SingleHop;Linux 3.11+;server2.ams.internet-census.org | |
| 45.33.66.232;AS63949;Linode;Linux 3.11+;li-new-us-gp1-wk101.internet-census.org | |
| 69.175.97.170;AS32475;SingleHop;Linux 3.11+;server1.chi3.internet-census.org | |
| 173.255.213.43;AS63949;Linode;Linux 3.11+;li-cal-us-gp1-wk102.internet-census.org | |
| 198.20.103.242;AS32475;SingleHop;Linux 3.11+;server1.ams.internet-census.org | |
| 45.33.2.193;AS63949;Linode;Linux 3.11+;li-dal-us-gp2-wk101.internet-census.org | |
| 107.6.169.250;AS32475;SingleHop;Linux 3.11+;server3.ams.internet-census.org | |
| 184.154.189.90;AS32475;SingleHop;Linux 3.11+;server4.chi3.internet-census.org | |
| 184.154.47.2;AS32475;SingleHop;Linux 3.11+;server2.chi3.internet-census.org |
This file contains hidden or 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
| """ | |
| Process the MaxMind GeoLite2 IPv4 and IPv6 blocks CSVs | |
| into a single CSV with network and broadcast addresses | |
| calculated | |
| STEPS | |
| * Download the MaxMind GeoLite2 city databases: | |
| http://dev.maxmind.com/geoip/geoip2/geolite2/ | |
| * Run this program to calculate network and broadcast | |
| addresses for each IP network entry |
This file contains hidden or 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
| # https://www.percona.com/blog/2008/11/07/poor-mans-query-logging/ | |
| tcpdump -i eth0 -s 0 -l -w - dst port 3306 | strings | perl -e ' | |
| while(<>) { chomp; next if /^[^ ]+[ ]*$/; | |
| if(/^(SELECT|UPDATE|DELETE|INSERT|SET|COMMIT|ROLLBACK|CREATE|DROP|ALTER)/i) { | |
| if (defined $q) { print "$q\n"; } | |
| $q=$_; | |
| } else { | |
| $_ =~ s/^[ \t]+//; $q.=" $_"; | |
| } |
This file contains hidden or 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
| আফটার ডিস্কানেট ইউর নেট, এনজয়! :D | |
| 1. licensed email: c2942269@drdrb.com | |
| registration code: 00289623F7B3B81E14AEB526144B6D08 | |
| 2. licensed email: c2943267@drdrb.com | |
| registration code: D772BE0279AFE60AF0E1D2109CA89A19 | |
| (10 likes) | |
| 3. licensed email: iskar@mail.com | |
| registration code: F3417231967A385CC355EA57DBCA0932 |
This file contains hidden or 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
| # Source: | |
| # https://www.cloudflare.com/ips | |
| # https://support.cloudflare.com/hc/en-us/articles/200169166-How-do-I-whitelist-CloudFlare-s-IP-addresses-in-iptables- | |
| for i in `curl https://www.cloudflare.com/ips-v4`; do iptables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done | |
| for i in `curl https://www.cloudflare.com/ips-v6`; do ip6tables -I INPUT -p tcp -m multiport --dports http,https -s $i -j ACCEPT; done | |
| # Avoid racking up billing/attacks | |
| # WARNING: If you get attacked and CloudFlare drops you, your site(s) will be unreachable. | |
| iptables -A INPUT -p tcp -m multiport --dports http,https -j DROP |
This file contains hidden or 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
| #!/usr/bin/python | |
| import sys | |
| import netaddr | |
| import logging | |
| logging.getLogger("scapy.runtime").setLevel(logging.ERROR) | |
| from scapy.all import sr1, IP, ICMP | |
| PING_TIMEOUT = 3 | |
| IFACE='eth0' |
This file contains hidden or 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
| /* | |
| * https://myip.ms/view/ip_owners/179248/Aliyun_Computing_Co_Ltd.html | |
| res = ""; for (i=0; i<41; i++) { console.log(arr[i].text); res = res + "\n" + arr[i].text; } | |
| arr = $("table .JColResizer .row_name a") | |
| 101.132.0.0 - 101.133.255.255 | |
| 101.200.0.0 - 101.201.255.255 | |
| 101.37.0.0 - 101.37.255.255 | |
| 106.14.0.0 - 106.15.255.255 |
This file contains hidden or 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
| nslookup -q=TXT o-o.myaddr.l.google.com. ns1.google.com. | |
| dig -4 TXT +short o-o.myaddr.l.google.com. @ns1.google.com. | |
| nslookup myip.opendns.com. resolver1.opendns.com. | |
| dig -4 A +short myip.opendns.com. @resolver1.opendns.com. | |
| nslookup whoami.akamai.net. ns1-1.akamaitech.net. | |
| dig -4 A +short whoami.akamai.net. @ns1-1.akamaitech.net. | |
| curl -s https://api.ipify.org |