Skip to content

Instantly share code, notes, and snippets.

@iirelu
Created September 20, 2014 14:19
Show Gist options
  • Save iirelu/844a54d8d953458f6aee to your computer and use it in GitHub Desktop.
Save iirelu/844a54d8d953458f6aee to your computer and use it in GitHub Desktop.
Subnet REV size extractor
#!/usr/bin/env bash
curl -s http://www.mateuszskutnik.com/submachine/subnet_data/{$1}.swf > /tmp/temp.swf
swfdump /tmp/temp.swf | awk '/File size: [0-9]+/ {print "REV size: " $4;}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment