Jump to content


Photo
- - - - -

A new script


  • Please log in to reply
1 reply to this topic

#1 ntheory

ntheory

    data pillager

  • Agents of the Revolution
  • 1,757 posts

Posted 27 May 2003 - 10:59 PM

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

#2 ntheory

ntheory

    data pillager

  • Agents of the Revolution
  • 1,757 posts

Posted 28 May 2003 - 09:28 AM

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.




BinRev is hosted by the great people at Lunarpages!