If it won't be simple, it simply won't be. [Hire me, source code] by Miki Tebeka, CEO, 353Solutions

Saturday, November 07, 2009

Find Cell Number Carrier


# Find the carrier for a cell number using whitepages

# Miki Tebeka <miki@mikitebeka.com>

if [ $# -ne 1 ]; then
echo "usage: $(basename $0) NUMBER"
exit 1

# Fake Firefox
agent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: "
agent="$agent Gecko/20061204 Firefox/"


curl -A "$agent" -L -s "$url" | \
grep -A1 carrier_result | tail -1 | \
sed -e 's/.*(\(.*\))/\1/' -e 's/^ \+//'


Anonymous said...

I found this site using [url=http://google.com]google.com[/url] And i want to thank you for your work. You have done really very good site. Great work, great site! Thank you!

Sorry for offtopic

Miki Tebeka said...

No worries, Thanks!

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...

It is very interesting for me to read that article. Thanks for it. I like such themes and anything that is connected to this matter. I would like to read a bit more soon.

Blog Archive