I hereby claim:
- I am eonraider on github.
- I am eonraider (https://keybase.io/eonraider) on keybase.
- I have a public key ASCJEi_PalH4GZmzMPxDozNkedPapTiJpKrgegb2A6e1SAo
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| # https://gist.github.com/EONRaider/32c5dbf467c786f393bd0e7601246ddf | |
| __author__ = 'EONRaider @ keybase.io/eonraider' | |
| """ | |
| A low-level network sniffer for TCP/IP packets. | |
| """ | |
| import struct | |
| from binascii import hexlify |
| #!/usr/bin/env python3 | |
| # https://gist.github.com/EONRaider/a59d6c4636c1211c7a854c384ddf19a0 | |
| __author__ = 'EONRaider, keybase.io/eonraider' | |
| import argparse | |
| import ipaddress | |
| try: | |
| from scapy.all import * | |
| from scapy.layers.inet import ICMP, IP |
| #!/usr/bin/env python3 | |
| # https://gist.github.com/EONRaider/f2284ccf75613c8751e20062b9e750f3 | |
| __author__ = 'EONRaider, keybase.io/eonraider' | |
| try: | |
| import netifaces | |
| except ModuleNotFoundError as e: | |
| raise SystemExit(f"Requires {e.name} module. Run 'pip install {e.name}' " | |
| f"and try again.") |
| #!/usr/bin/env python3 | |
| # https://gist.github.com/EONRaider/3b7a8ca433538dc52b09099c0ea92745 | |
| __author__ = 'EONRaider, keybase.io/eonraider' | |
| import fcntl | |
| import socket | |
| import struct | |
| try: | |
| from netifaces import AF_INET, ifaddresses |
| #!/usr/bin/env python3 | |
| # https://gist.github.com/EONRaider/ebda160f27ce0a09f1ab1c7733ba0e8c | |
| __author__ = 'EONRaider, keybase.io/eonraider' | |
| import random | |
| def randomize_mac(*, sep: str = ':') -> str: | |
| """ | |
| Generates random MAC addresses in the format XX:XX:XX:XX:XX:XX by |
| #!/usr/bin/env python3 | |
| # https://gist.github.com/EONRaider/c34f6799b9cf2259e90fce54a39d693c | |
| __author__ = 'EONRaider, keybase.io/eonraider' | |
| import re | |
| def validate_mac(mac_address: str) -> bool: | |
| is_valid_mac = re.match(r'([0-9A-F]{2}[:]){5}[0-9A-F]{2}|' |
I hereby claim:
To claim this, I am signing this object: