Skip to content

Instantly share code, notes, and snippets.

View millipedia's full-sized avatar

millipedia millipedia

View GitHub Profile
@millipedia
millipedia / adb_screenshot
Last active December 19, 2015 12:39
Grab an android screenshot from adb and save to local computer. Originally came from http://stackoverflow.com/a/14353315
adb shell screencap -p | sed 's/\r$//' > screen.png
@millipedia
millipedia / gist:5755827
Last active December 18, 2015 08:39
Use dig to look up name servers being used by a list of domains.
cat domainlist.txt | xargs -izzz -n 1 sh -c "echo \"Domain: \" zzz; dig zzz ns +short; echo"