How crownss/pulsar-star works
pulsar-star is a Linux layer-2 ARP cache-poisoning tool. The documented workflow parses options, discovers subnet hosts with nmap, selects targets and an interface, then starts a CPU-pinned sender that repeatedly broadcasts forged ARP replies through a raw datalink channel. The graph separates discovery and target preparation from packet transmission, and includes the main-thread progress display. The README documents the overall stages; the sampled source confirms the sender and packet-building calls. All implementation responsibilities reside in src/main.rs.
Main entry points: main.rs Sender thread
Components 14
Discovery and targeting
- Host discovery
src/main.rs - Target filtering
src/main.rs - Interface selection
src/main.rs
ARP transmission
- Sender thread
src/main.rs - CPU affinity
src/main.rs - Datalink channel
src/main.rs - Poison loop
src/main.rs - ARP reply builders
src/main.rs
Runtime coordination
- CLI options
src/main.rs - Main workflow
src/main.rs - Progress display
src/main.rs
Other components
- Operator
- nmap scanner
- LAN hosts
Connections 16
- Operator → CLI options: provides options
README.md - CLI options → Host discovery: configures scan
README.md - Host discovery → nmap scanner: runs scan
README.md - nmap scanner → Host discovery: reports hosts
README.md - Host discovery → Target filtering: returns hosts
README.md - Target filtering → Main workflow: sets targets
src/main.rs - Main workflow → Interface selection: uses interface
README.md - Main workflow → Sender thread: starts sender
src/main.rs - Sender thread → CPU affinity: pins thread
src/main.rs - Sender thread → Datalink channel: opens channel
src/main.rs - Sender thread → Interface selection: uses interface
src/main.rs - Sender thread → Poison loop: runs loop
src/main.rs - Poison loop → ARP reply builders: builds replies
src/main.rs - ARP reply builders → Datalink channel: sends frames
src/main.rs - Datalink channel → LAN hosts: broadcasts frames
README.md - Main workflow → Progress display: prints progress
src/main.rs