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 glob | |
| from scapy.all import rdpcap, wrpcap | |
| all_packets = [] | |
| for file in sorted(glob.glob("*.pcap")): | |
| try: | |
| packets = rdpcap(file) | |
| all_packets.extend(packets) | |
| print(f"{file}: Completed.") | |
| except Exception as e: | |
| print(f"{file}: {e}") |
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 debian:latest | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| build-essential \ | |
| wget \ | |
| python3 | |
| WORKDIR /build |
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 ubuntu:rolling | |
| ENV DEBIAN_FRONTEND noninteractive | |
| RUN apt-get -y update && apt-get install -y \ | |
| gcc \ | |
| git \ | |
| make \ | |
| pkg-config \ | |
| libipt-dev \ |
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
| #sudo setcap cap_net_raw=eip /bin/python3.10 | |
| from scapy.all import * | |
| from struct import * | |
| def dissect(srcMac, load): | |
| categoryCode = unpack('B', load[:1])[0] | |
| organizationIdentifier = load[1:4] | |
| randomValues = load[4:8] | |
| # Vendor Specific | |
| vsElementId = unpack('B', load[8:9])[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
| package main | |
| import ( | |
| "bytes" | |
| "fmt" | |
| "math" | |
| "math/rand" | |
| ) | |
| func shannon(input []byte) (entropy float64) { |
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
| //General Program flow. | |
| //Replace lines 34/35 with something to log to STDOUT with like "X" for dead and "O" for alive to debug | |
| //Shouldn't require any external dependencies | |
| //Setup | |
| //initGrid(); | |
| //drawGrid(); | |
| //LOOP | |
| // computeCA(); | |
| // drawGrid(); |
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
| RunSanDiskSecureAccess-Win.exe v1.1.19150 is configured using the password "test123" for the secure file vault. | |
| https://www.virustotal.com/gui/file/1822d68ef4f3276b785ee30f65bb3bac36f97685c81cc5b11837a34528c398e2/details | |
| A Zero-Byte file (MD5 Sum: d41d8cd98f00b204e9800998ecf8427e) is added to the vault. | |
| The resulting encrypted file is: | |
| MD5 Sum: e2d484fa4d7f5f457f6571a075a967d4 | |
| File: 30 4A 34 C4 D7 DB 20 86 12 01 42 5B 68 18 99 FB A3 D9 52 E6 28 63 89 92 F7 4D 10 E0 24 2A F3 1D | |
| Base64: MEo0xNfbIIYSAUJbaBiZ+6PZUuYoY4mS900Q4CQq8x0= | |
| File Length: 32 Bytes |
NewerOlder