Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.140.024 Times

MassResolve 0.1

  Date Added: September 13, 2010  |  Visits: 726

MassResolve

Report Broken Link
Printer Friendly Version


Product Homepage
Download (103 downloads)



MassResolve application performs reverse DNS lookups for network blocks or an input file. The requests can be performed mulit-threaded. Usage: ./res < subnet or filename to resolve > < forks > Code: /* MassResolve (C) 2000 John Anderson (john@ev6.net) This program performs reverse dns lookups for network blocks or an input file and supports multi threading. */ #include < stdio.h> #include < fcntl.h> #include < netdb.h> #include < signal.h> #include < sys/time.h> #include < unistd.h> #include < netinet/in.h> #include < netinet/ip.h> #include < netinet/ip_icmp.h> #include < errno.h> #include < string.h> #include < getopt.h> #include < setjmp.h> char * rlookup (u_long ip) { static char hostname[256]; struct hostent *host; struct sockaddr_in addr; addr.sin_addr.s_addr = ip; host = gethostbyaddr ((char *) &addr.sin_addr, sizeof (addr.sin_addr), AF_INET); if (host == NULL) { printf ("%s does not resolve.n", inet_ntoa (ip)); fflush (stdout); } else { printf ("%s resolves to %sn", inet_ntoa (ip), host->h_name); fflush (stdout); } } int maxforq = 0; int main (int argc, char **argv) { int pid, k, j, frk, i, mforks; char *pt; char mehost[200], sv[3]; FILE *inp; mforks = 64; /* default */ if (argv[1] == NULL) { printf ("Usage: %s n", argv[0]); exit (0); } if (!argv[2] == NULL) { mforks = atoi (argv[2]); } /* printf ("Resolving all hosts in %s with %d threadsn", argv[1], mforks); */ if((inp=fopen(argv[1],"r"))!=NULL) { while(fgets(mehost,sizeof(mehost),inp)) { sscanf(mehost,"%sn",mehost); frk = fork (); if (frk == 0) { fflush (stdout); rlookup (inet_addr (mehost)); exit (0); } else { /* frk = 0 */ maxforq++; if (maxforq > mforks) { wait (NULL); // waiting until the child died maxforq--; } } } fclose(inp); exit(0); } pt = strchr (argv[1], .); if (pt == NULL) { /* ANET */ for (k = 0; k <= 255; k++) { for (j = 0; j <= 255; j++) { for (i = 1; i <= 255; i++) { frk = fork (); if (frk == 0) { snprintf (mehost, sizeof (mehost), "%s.%u.%u.%u", argv[1], k, j, i); fflush (stdout); rlookup (inet_addr (mehost)); exit (0); } else { /* frk = 0 */ maxforq++; if (maxforq > mforks) { wait (NULL); // waiting until the child died maxforq--; } } } } } fprintf (stderr, "%u ", j); } else { pt++; pt = strchr (pt, .); if (pt == NULL) { /* BNET */ for (j = 0; j <= 255; j++) { for (i = 1; i <= 255; i++) { frk = fork (); if (frk == 0) { snprintf (mehost, sizeof (mehost), "%s.%u.%u", argv[1], j, i); fflush (stdout); rlookup (inet_addr (mehost)); exit (0); } else { maxforq++; if (maxforq > mforks) { wait (NULL); // waiting until the child died maxforq--; } } } } fprintf (stderr, "%u ", j); } else { /* CNET */ pt++; pt = strchr (pt, .); if (pt != NULL) /* Single host? */ { rlookup (inet_addr (argv[1])); } else { for (i = 1; i <= 255; i++) { frk = fork (); if (frk == 0) { snprintf (mehost, sizeof (mehost), "%s.%u", argv[1], i); fflush (stdout); rlookup (inet_addr (mehost)); exit (0); } else { maxforq++; if (maxforq > mforks) { wait (NULL); // waiting until the child died maxforq--; } } } fprintf (stderr, "!! %u !!", k); } } } }. John The Ripper MPI Patch

Requirements: No special requirements
Platforms: Linux
Keyword: Argv Char Dns Lookups Include Input Massresolve Network Network Blocks Networking Null Reverse Dns Reverse Dns Lookups System
Users rating: 0/10

License: Freeware Size: 4.1 KB
USER REVIEWS
More Reviews or Write Review


MASSRESOLVE RELATED
Password Recovery  -  SterJo Wireless Passwords 1.4
Ever happened to you that you forgot the WiFi password on your PC that you recently changed into a complex combination of letters, numbers and symbols just to be more safe regarding your wifi security? This is where SterJo Wireless Passwords...
778.21 KB  
Networking Tools  -  TiVoBridge 1.0.1
TiVoBridge is a packet repeater for both the TiVo discovery beacon and Multicast DNS (used in ZeroConf, Bonjour, Rendevous, etc.) protocols. The project is intended as a way for TiVo boxes and other devices or programs that use either of those...
96.26 KB  
Utilities  -  lib378 0.2
lib378 is a library for predictive text input. The API is very simple and provides dictionary autocompletion and both partial and full matching. The project can be used to get text input from input devices with few keys (like cellphones)....
3.07 KB  
Networking Tools  -  GNOME Network 1.4.1
GNOME Network is a set of client network-oriented tools, which currently contains a network information tool, a remote shell and desktop clients and a personal web server and a desktop sharing tool. GNOME Network is Free Software distributed...
471.04 KB  
Networking  -  Get the IP address of a network interface 1.0
This script uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface, given the name of that interface, e.g. "eth0". The address is returned as a string containing a dotted quad.
 
Networking  -  Network Asset Management Archive 1.0
NAMA Network Asset Management Archive: NAMA is a set to tools to track network assets. It uses SNMP to monitor assets added to your network and stores the information in an odbc compliant database. Assets can then be tracked through a PHP...
 
Networking  -  RedBaron Network Inventory System 3.2
The RedBaron Network Inventory System is a powerful web-based program used to track IT assets across an organization.RNIS can manage multiple clients and locations, asset history, network IP address managment, and work force billing/expense...
727.04 KB  
Utilities  -  IPv4/IPv6 DNS and DHCP config generator for Linux 0.1.2
IPv4/IPv6 DNS and DHCP config generator is a tool that can be used to generate DNS and DHCP configuration files from a central configuration file. IPv4/IPv6 DNS and DHCP config generator supports IPv4 and IPv6 addresses and reverse...
20.48 KB  
Network Monitors  -  Network Olympus Monitoring 1.4.0
Complete network monitoring solutions for ultimate system analysis. Network Olympus is an all-in-one, truly agentless system for monitoring network devices, interacting with network administrators and maintaining flawless performance of the...
108.71 MB  
Networking Tools  -  Netsh 0.1.1
Netsh is a tool designed to debug network applications. It enables the user to dump incoming packets in ascii or hexadecimal, and to send handmade custom packets (again, ascii and hexadecimal forms can also be used). It is also able to forward the...
25.6 KB  
NEW DOWNLOADS IN NETWORK & INTERNET, NETWORKING TOOLS
Network & Internet  -  Free WiFi Hotspot 3.3.1
Free WiFi Hotspot is a super easy solution to turn your laptop or notebook into a portable Wi-Fi hotspot, wirelessly sharing your internet connections like DSL, Cable, Bluetooth, Mobile Broadband Card, Dial-Up, etc. through the built-in wireless...
1.04 MB  
Network & Internet  -  Easy Uploads 1.8
Easy uploads is a file storage media streaming application designed by Filestreamers that allows you to upload, store, and stream your files from their virtually unlimited file storage server. Easy Uploads can backup,share, and stream your files...
615.97 KB  
Network & Internet  -  PacketFence ZEN 3.1.0
PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) system. Boosting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, 802.1X...
1024 MB  
Network & Internet  -  django-dbstorage 1.3
A Django file storage backend for files in the database.
10.24 KB  
Network & Internet  -  SQL Inject Me 0.4.5
SQL Inject Me is a Firefox extension used to test for SQL Injection vulnerabilities. The tool works by submitting your HTML forms and substituting the form value with strings that are representative of an SQL Injection attack.
133.12 KB  
Networking Tools  -  gvrpad 0.1
gvrpad is a daemon that makes GVRP announcements of all VLAN interfaces on a FreeBSD system. GVRP is the GARP VLAN Registration Protocol, defined in IEEE 802.1Q (VLANS); GARP is the Generic Attribute Registration Protocol, defined in 802.1D...
15.36 KB  
Networking Tools  -  Cheops 0.61
Cheops is an Open Source Network User Interface. It is designed to be the network equivalent of a swiss-army knife, unifying your network utilities. Cheops is for the network what a file manager is for your filesystem..
317.44 KB  
Networking Tools  -  ssh tunnel on demand 1.0
ssh tunnel on demand provides a script that creates an SSH tunnel on demand. ssh tunnel on demand is a script that makes it possible for a user to create an SSH tunnel to a server and connect to it without needing an account on the box or any...
13.31 KB  
Networking Tools  -  strongSwan 4.1.5
strongSwan is an OpenSource IPsec implementation for the Linux operating system. strongSwan is an OpenSource IPsec implementation for the Linux operating system. In order to have a stable IPsec platform to base our future extensions of the X.509...
1.7 MB  
Networking Tools  -  triggers 0.41
trigger is a lightweight, asynchronous notification mechanism to set off events in and across systems. The poor mans daily snapshot, glastree builds live backup trees, with branches for each day. Users directly browse the past to recover older...
14.34 KB