Before compiling Yaf, you need to compile and install the IPFIX library called libfixbuf is required (https://tools.netsa.cert.org/fixbuf/download.html). You will need libglib2.0-dev to compile libfixbuf.
./configure
make
#!/usr/bin/env python3 | |
import socket | |
import socks | |
from dns import query, rdatatype | |
from dns.resolver import Resolver | |
# Sync resolver | |
socks.set_default_proxy(proxy_type=socks.SOCKS5, addr='127.0.0.1', port=25345) |
#!/usr/bin/env python3 | |
from dns import nameserver, message, query, rdatatype | |
from dns.resolver import Resolver | |
from python_socks.sync import Proxy | |
class Socks5Do53Nameserver(nameserver.Do53Nameserver): |
#!/usr/bin/env python3 | |
import asyncio | |
import dns | |
import socket | |
# Async | |
from dns.asyncresolver import Resolver | |
from python_socks.async_.asyncio import Proxy | |
from dns._asyncio_backend import _maybe_wait_for, StreamSocket, Backend |
import socket | |
import threading | |
import select | |
SOCKS_VERSION = 5 | |
class Proxy: |
Before compiling Yaf, you need to compile and install the IPFIX library called libfixbuf is required (https://tools.netsa.cert.org/fixbuf/download.html). You will need libglib2.0-dev to compile libfixbuf.
./configure
make
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import pygame | |
from random import randint | |
from pygame.locals import QUIT | |
class Box(pygame.sprite.Sprite): | |
def __init__(self, w, h, color): | |
super().__init__() |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBEta9/0BEACwxZeeWlwzuBmtsC4HH8vf+nwYAl0d0shWIHHwnvqV/34U6p4f | |
M8xKDhJwu4PswlzRgAModAek/GtY1Pmh6gosFOYSZsvi3cEHuHo2gL0nAZV0VNnb | |
2849cKzi1o1L0sc5LhZncyPL7NB3LJXH9ZwJp6MFm4ick3Hztmo+sP+DPT9BVxeO | |
XvzKF4UISuRdYgVaPdX+qyJk/TlVOLeOM31lUYNstD1aP1uohxQPCwLZEagT77md | |
I5bjUsPyRIYJ3c7ZDLGozVnxcxhrMikx+wu1U3wvyKk9djAyBEVbbpt6lJCIwmJG | |
TC6NHh1hKuAHhpLBE+dr0yaAbikh6aJN/pfMnqAuTpWf8LgseP7wW0nPZNPvIkLB | |
H6hsKWOrKnIJ9zFEBS/Q/UDhJV0M7RkMhZsJGXXXD3mFktH7Wo3zxdImt+El6cSi | |
WTI6OLzJAGXqYMaTSmd9acvQY+9jGKuh5reGR5R1ieDDWczh98DK87o9/VpGs+KF |
#!/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 |