| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Jul 2004 Location: Florida
Posts: 1,492
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Wanted Perl Script - Name your price I am looking for a script I can install to my server that will load a file called names.txt which I will have the following format: ????: NamePros.com http://www.namepros.com/programming/355511-wanted-perl-script-name-your-price.html Name.com Name2.com It will go one by one and check to see if the domain is available. If it is, it will take and open names_avail.txt and insert the available name at the bottom of the list. If the name is not available it will keep it in the list but add an * at the end of the domain ie) Name2.com* This will show it was checked and was not available. I want to be able to execute the script using SSH and the command line on my server with a command like > scan.pl names.txt or something similar saying to run scan.pl and scan the file names.txt Please PM me your asking price and time it would take for completion. I want it to be able to handle any amount of domain extensions. I want to have this thing ridiculously fast. |
| |
| | #2 (permalink) | ||||
| NamePros Regular Join Date: May 2004 Location: NYC
Posts: 236
![]() ![]() ![]() |
| ||||
| |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: Jul 2004 Location: Florida
Posts: 1,492
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Basically I have list names.txt full of domains. The script should open this file and go down the list one by one checking for availability. If the domain is available it should open a second file called names_available.txt or whatever and write that name to the file and close it. It then moves on to the next name. If the name is UNavailable it can either remove the name from the file and move on to the next. I want something that runs FAST and is not so resource intensive. ????: NamePros.com http://www.namepros.com/showthread.php?t=355511 The program should read in a list and if there is a * after a domain i.e.) domain.com* it will know it has been scanned already and move on to the next name. I mainly want COM/NET/ORG/INFO/US/BIZ/CC/SC/WS or as many extensions as I can get. Another REQUIREMENT is to do the whois in a way the IP will not get banned from the whois server. This way I can scan 20,50,100 names per second. I want to run the script from the command line so printing to the screen will likely take time, so it is could just say working and give me some sign it is scanning without limiting speed of the script however you do it is fine. It can do like Scanning 5/100 and count up or just say 5% 10% 15% AND it must be able to handle list sizes of 50k, 100k or more
Last edited by jdk; 07-29-2007 at 05:02 PM.
|
| |
| | #4 (permalink) |
| NamePros Regular Join Date: May 2004 Location: NYC
Posts: 236
![]() ![]() ![]() | Got it. But I didn't see your edits until I came back here to post. I wrote something quick which uses Net::Whois::Raw from cpan, but it doesn't handle all the extensions you listed (I know I've seen Perl code somewhere that does, though), I doubt it can process the results of 50/100 names per second, and I also have no idea how to prevent getting banned from the whois servers. It's not hard to throttle request calls in the while() loop, but I just don't know the subtleties of each registrar's thresholds. So...I'll have to leave this in someone else's hands, but in the interim, if you want me to post what I wrote, let me know. |
| |