mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
1.6 KiB
1.6 KiB
API Reference: Network Forensics with Wireshark
pyshark API
import pyshark
# Open capture file
cap = pyshark.FileCapture("capture.pcap")
cap = pyshark.FileCapture("capture.pcap", display_filter="http.request")
# Access packet fields
for pkt in cap:
print(pkt.ip.src, pkt.ip.dst)
print(pkt.tcp.dstport)
print(pkt.http.request_uri)
tshark CLI
| Command | Description |
|---|---|
tshark -r <pcap> -q -z conv,tcp |
TCP conversation statistics |
tshark -r <pcap> -Y "dns.qr==0" -T fields -e dns.qry.name |
Extract DNS queries |
tshark -r <pcap> --export-objects http,<dir> |
Export HTTP objects |
tshark -r <pcap> -q -z io,phs |
Protocol hierarchy statistics |
tshark -r <pcap> -q -z endpoints,ip |
IP endpoint statistics |
Display Filters
| Filter | Description |
|---|---|
dns.qr==0 |
DNS queries only |
http.request |
HTTP requests |
tls.handshake.extensions_server_name |
TLS SNI values |
tcp.flags.syn==1 && tcp.flags.ack==0 |
TCP SYN packets |
ip.dst==<ip> && tcp.dstport==443 |
Traffic to specific host |
Python Libraries
| Library | Version | Purpose |
|---|---|---|
pyshark |
>=0.6 | Python wrapper for tshark packet analysis |
dpkt |
>=1.9 | Low-level PCAP parsing without tshark dependency |
scapy |
>=2.5 | Packet crafting and analysis |
References
- pyshark: https://github.com/KimiNewt/pyshark
- Wireshark display filters: https://wiki.wireshark.org/DisplayFilters
- dpkt: https://github.com/kbandla/dpkt
- NetworkMiner: https://www.netresec.com/?page=NetworkMiner