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: Packet Injection Attack
Scapy Python API
from scapy.all import IP, TCP, UDP, ICMP, Raw, sr1, send
# Craft and send TCP SYN
pkt = IP(dst="10.10.20.10") / TCP(dport=80, flags="S")
resp = sr1(pkt, timeout=2, verbose=0)
# Send without waiting for response
send(pkt, verbose=0)
# Fragment a packet
from scapy.all import fragment
frags = fragment(IP(dst="10.10.20.10") / ICMP() / Raw(load="X"*65500))
send(frags, verbose=0)
Scapy Packet Layers
| Layer | Fields | Example |
|---|---|---|
IP |
src, dst, ttl, flags, frag | IP(dst="10.0.0.1", ttl=64) |
TCP |
sport, dport, flags, seq, ack | TCP(dport=80, flags="S") |
UDP |
sport, dport | UDP(dport=53) |
ICMP |
type, code | ICMP(type=8) |
DNS |
qd, rd | DNS(rd=1, qd=DNSQR(qname="test.com")) |
TCP Flag Values
| Flag | Value | Description |
|---|---|---|
| S | SYN | Connection initiation |
| A | ACK | Acknowledgment |
| F | FIN | Connection termination |
| R | RST | Connection reset |
| P | PSH | Push data |
| U | URG | Urgent pointer |
hping3 CLI
| Command | Description |
|---|---|
hping3 -S -p 80 <target> |
Send SYN packets |
hping3 -S --flood -c 100 <target> |
Limited SYN flood test |
hping3 -S -p 80 -w 0 <target> |
Zero window test |
Python Libraries
| Library | Version | Purpose |
|---|---|---|
scapy |
>=2.5 | Packet crafting, sending, and receiving |
References
- Scapy documentation: https://scapy.readthedocs.io/
- hping3: http://www.hping.org/
- Nping (Nmap): https://nmap.org/nping/
- tcpreplay: https://tcpreplay.appneta.com/