![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Scan Rates | Negm | AIX | 2 | 04-16-2009 11:29 AM |
| scan direcotries | nagrcm | Shell Programming and Scripting | 1 | 03-03-2008 02:37 AM |
| How to scan and capture | akondeti | Shell Programming and Scripting | 3 | 01-07-2008 12:10 AM |
| Please let me know Regarding Port Scan | myramkumar | UNIX for Advanced & Expert Users | 7 | 05-17-2007 12:11 PM |
| File Scan | Dastard | Shell Programming and Scripting | 2 | 04-08-2007 04:35 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
There is a DNS scanning utility that is often used by hackers or security folks that do a dnswalk or similar scan. Try this and let us know if it works for you!
http://sourceforge.net/projects/dnswalk/ |
|
||||
|
hi. well all DNS components for perl was not installed so it didnt work with dnswalk. however I asked a workingmate and he wrote a script in a few minutes... Code:
#!/usr/bin/perl
use Socket;
# While sdtin
while(<>) {
chomp($_);
if($_ =~ /(\d+\.\d+\.\d+\.)(\d+)\s+(\d+)/) {
for($2..$3) {
$iaddr = inet_aton( "$1$_" );
print "$1$_ = ".(gethostbyaddr($iaddr, AF_INET) or "hostname not found")."\n";
}
} elsif($_ =~ /(\d+\.\d+\.\d+\.\d+)/ ) {
$iaddr = inet_aton( $1 );
print "$1 = ".(gethostbyaddr($iaddr, AF_INET) or "hostname not found")."\n";
} else {
print "Invalid ip\n";
}
}
//nicke inserted code tags for readability --oombera Last edited by oombera; 02-16-2004 at 04:26 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|