Skip to content

Instantly share code, notes, and snippets.

@Rafiot
Rafiot / socks5.py
Created July 24, 2024 11:20 — forked from t3ch9/socks5.py
Socks5 proxy server in Python
import socket
import threading
import select
SOCKS_VERSION = 5
class Proxy:
@Rafiot
Rafiot / yaf-notes.MD
Created January 9, 2016 06:41 — forked from adulau/yaf-notes.MD
yaf notes
@Rafiot
Rafiot / iporigin.pl
Created May 3, 2011 16:48 — forked from adulau/iporigin.pl
Lookup origin, country and BGP Ranking for a given IP address
#!/usr/bin/perl
#
# Takes as input IP address (one per line)
# and output the guessed IP location along with ASN origin and its description
# and the BGP Ranking of each ASN
#
#perl ip2asn.pl
# www.microsoft.com
# US;AS8075;MICROSOFT-CORP---MSN-AS-BLOCK - Microsoft Corp;65.55.12.249;8075,1.00036643769349,3/9
# 8.8.8.8