Purifying HOSTS lists

identifying non domain names

^.*[^a-z0-9\.\-]+.*$
^.*[^a-z0-9\.\-\ \_]+.*$

IPs are not permitted in HOSTS file

^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$

Ripping developer.android.com – Data Mining From Manifest / Permission Page

Quick && Dirty :)
The following code will collect and aggregate the data from the page, into a JSON object which can be beautified and stored..
I’m just grabbing it all for my PHP project Hack’aton to provide a dictionary of references for all permissions available, each one with its own description (flatten.. not \n etc..)
Continue reading