Sign in to follow this  
Followers 0
ntheory

A new script

2 posts in this topic

I noticed today that someone tried to put a full phone number into the NPA.php. This unfortunately won't give you the output you desire.

Although I didn't mention it there is a script (ReverseLookup.php) that does a true reverse lookup (if that's what you're looking for). It's essentially a hack that grabs the info from phonenumber.com. It's just nice because it filters out the ads for you.

I took Raven's interface from the NPA script, threw it into this script, and posted the source with a command-line Perl tool to do all the work without your web-browser. Enjoy it!

Oh, and someone tried to pass the string "drop table users" to my NPA script. Briefly, it didn't work because the NXX variable gets converted to an int before it's put into the MySQL statement. In the end the string ends up as the numeric value "0". Sorry. :P

0

Share this post


Link to post
Share on other sites

I modified ReverseLookup.php to use POST instead of GET. This way any requests made by the PHP script don't have the number stored in my webserver logs.

The Perl script however still uses GET. I'll fix that soon.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0