Hasty Briefsbeta

Bilingual

Gaining control of every projector and camera on campus

2 days ago
  • #DNS Optimization
  • #Network Security
  • #Rust Development
  • The user discovered a preference for the Helix modal editor, noting its usefulness for Rust compared to Python.
  • Optimized a DNS permutation algorithm by switching from multi cartesian product to incrementing an integer and converting to base 36.
  • Implemented multi-process DNS querying via a bash script to parallelize work, avoiding threading complexities in Rust.
  • Direct UDP socket access in Rust allowed separate async functions for reading and writing DNS queries.
  • Fixed a memory leak in the async stack by limiting spawned queries and preventing excessive accumulation.
  • Achieved high throughput (up to 200 Mbps per 2 threads) but caused a campus-wide DNS outage, leading to a request to stop.
  • Learned about reverse DNS records and scanned IPs within the network to map domains.
  • Developed a port scanner using tokio's TcpStream, then optimized with AF_XDP in Linux for high-speed scanning (300k ports/sec).
  • Discovered and accessed unauthorized camera controls and room projection systems via reverse-engineered APIs.
  • Reported the security vulnerabilities to IT, which were partially patched later.