scaramanga::code-fu & historical stuff

code-fu & historical stuff

Small one-file snippets and single-purpose programs, mostly written in an afternoon. No project pages, no releases — just the source.

Archive

  • act.c — reads Symantec Act! databases. At one point was on its way to becoming a GUI called fuct.
  • cache.c — shows which pages of a file are resident in the kernel's page cache, using mincore(2).
  • crack-o-matic.c — checks the strength of passwords read from stdin. Needs cracklib (-lcrack).
  • lincap.c — a fast, lean packet sniffer for Linux using an mmap()'d packet socket, slightly stolen from Alexey Kuznetsov.
  • rip-vm.c — dumps a byte range from another process's memory to a file, given a PID and address range.
  • sieve.c — generates prime numbers using a Sieve of Eratosthenes, implemented over a bit-vector to keep cache and memory pressure down.
  • synflood.c — raw-socket TCP SYN flood packet generator; old testing tooling, kept for reference.
  • webschlong.c — a free implementation of the WISP protocol, as used by Websense for proxy interoperation. Related: a captured Websense transcript and tcpdump captures of WISP traffic.