sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server="socks5://localhost:5555" --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost"
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
<?xml version="1.0" encoding="UTF-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:cap="urn:oasis:names:tc:emergency:cap:1.2"> | |
<id>https://api.weather.gov/alerts.atom?active=true&area%5B0%5D=NJ&limit=500</id> | |
<generator>NWS CAP Server</generator> | |
<updated>2023-07-08T23:15:00+00:00</updated> | |
<author> | |
<name>[email protected]</name> | |
</author> | |
<title>Current watches, warnings, and advisories for New Jersey</title> | |
<link rel="self" href="https://api.weather.gov/alerts.atom?active=true&area%5B0%5D=NJ&limit=500"/> |
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
from scapy.all import PcapReader, Raw | |
pcap = PcapReader("test.pcap") | |
f = open("test.mpg", "wb") | |
for packet in pcap: | |
f.write(bytes(packet.getlayer(Raw))) | |
f.close() |
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
import re | |
regex = re.compile(r'[0-9A-F]{8}', flags=re.MULTILINE | re.IGNORECASE) | |
def readable(s): | |
addr = '' | |
for i in range(0, len(s.group()), 2): | |
chunk = str(int(s.group()[i:i+2], 16)) | |
addr = chunk + '.' + addr | |
return addr.rstrip('.') |
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
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse | |
# deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse | |
# deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse | |
# deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse | |
# deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse | |
# deb-src http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse | |
deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse | |
# deb-src http://security.ubuntu.com/ubuntu precise-security main restricted universe multiverse |