|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
How easy (or hard) would this be to code?
I guess in php.
The program grabs ips from a text file and does this: 12.108.24.0 12.108.24.255 12.106.223.0 12.106.223.255 12.104.79.0 12.104.79.255 etc. It makes a range from 0 to 255 for each ip on a new line. Is this simple to do? Anybody can do it for some paypal or epass $? |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Mar 2003
Posts: 365
|
icq me
8char |
|
|
|
|
|
#3 |
|
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Don't pay for that. It's a 2 minute job for any competent programmer.
__________________
I like pie. |
|
|
|
|
|
#4 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Done, thanks
|
|
|
|
|
|
#5 | |
|
Confirmed User
Join Date: Jan 2005
Posts: 105
|
Quote:
use strict ; open (FILE, "NAMEOFFILE") ; my @buf = <FILE> ; close (FILE) ; foreach my $item (@buf) { chomp $item ; my ($one,$two,$three) = split (/\./, $item) ; for my $i (0 .. 255) { print "$one.$two.$three.$i\n" ; } } Change NAMEOFFILE to whatever the file is that has your IP's listed. IP's should be in the form of: 1.1.1.1 2.2.2.2 3.3.3.3 Etc. If you have a question let me know. |
|
|
|
|
|
|
#6 | |
|
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Quote:
|
|
|
|
|
|
|
#7 |
|
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Perl is sexy.
__________________
I like pie. |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Jan 2004
Location: Edmonton, Alberta
Posts: 75
|
Here's my Ruby version, just for the hell of it ;)
Code:
IO.foreach('ips.txt') do |line|
match = line.sub(/^(\d+\.\d+\.\d+)\.\d+$/, '\1').chomp
for i in 0..255
print match, ".#{i}\n"
end
end
|
|
|
|
|
|
#9 |
|
G F Y not
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
|
You ever get that software written?
__________________
![]() TGPFactory Full TGP Design & Installation Services ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com See who I am at AdultWhosWho.com! |
|
|
|
|
|
#10 |
|
G F Y not
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
|
Got bored so I threw one together.
It loads a source file, removes any duplicates, verifies that each entry is only numbers and periods, then generates a new list based upon the range you supply. Will require VB dependencies MSVBVM60.DLL and COMDLG32.OCX which most of you probably have already anyhow. http://www.dynamixxx.com/complete/software/ipRange.exe ![]()
__________________
![]() TGPFactory Full TGP Design & Installation Services ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com See who I am at AdultWhosWho.com! |
|
|
|
|
|
#11 | |
|
I help you SUCCEED
Industry Role:
Join Date: Nov 2003
Location: The Pearl of the Orient Seas
Posts: 32,195
|
Quote:
|
|
|
|
|
|
|
#12 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Oh wow, thanks.
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Oct 2002
Posts: 252
|
Scrap that. Wasn't clear on what he wanted.
|
|
|
|
|
|
#14 | |
|
Strength and Honor
Join Date: Jul 2004
Location: Europe
Posts: 16,540
|
Quote:
|
|
|
|
|