exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

zipp0.c

zipp0.c
Posted Nov 4, 1999
Authored by misteri0

Broadcast address list cleaner. Takes a list of broadcast addresses as input, pings them all, and returns the addresses that give multiple responses.

tags | tool, scanner
systems | unix
SHA-256 | 131a00118dcf7be4f10930890886f39a6273e53cded0713ac463504a863e07a1

zipp0.c

Change Mirror Download
/*
_______ __ .__
_____________ \ _ \_/ |_ ____ ____ ____ | |
\____ \_ __ \/ /_\ \ __\/ _ \_/ ___\/ _ \| |
| |_> > | \/\ \_/ \ | ( <_> ) \__( <_> ) |__
| __/|__| \_____ /__| \____/ \___ >____/|____/
|__| \/ \/
-misteri0@unet

*/


/**************************************************************************************************
* [pr0tocol] *
* Name : zipp0.c
* Author: misteri0 [leet@ibw.com.ni] *
* Description: Opens a broadcast file & checks each of the addresses if they answer DUP's. *
* Very effective when you have those old bcast files. *
* Greets: Well to start off I don't wanna look like a code ripper as some fags would call me in *
* #linuxsex, I would start off by giving credit to Vacuum from Technotronic for *
* broadscan.c which has some of his code. Then greets go out to people from #bitchx@unet *
* #outlaw@unet, #slackware@unet, pr0tocol's channel <-- [e-mail: leet@ibw.com.ni for info*
* on how to join], thanx to everyone who has helped me with every single problem I've had*
* in linux. Packetstorm Security, *
* Fuck youz: *
* #linuxsex@unet for juping my nick (and I'm lame?), fags that took over #pr0tocol. *
* (amazingly these are the only fuckheads that I truly hate). *
**************************************************************************************************
*/
#include <stdlib.h>
#include <stdio.h>
#include <sys/wait.h>
#include <errno.h>
#include <netdb.h>
#include <signal.h>

#define DEBUG 1 /* messy code from here down! */
FILE *stream; /* very messy declarations, don't gross out... */
FILE *fp1;

char oneword[100];
char *c;

int counter,flag;

char *streamer, *streamer2;

FILE *stream;

char tempstring[2048];
char parse[2048];

void pingemup();

readline()
{

fp1 = fopen(streamer, "r");
if (fp1 == NULL)
{
printf("Fail to Open...\n");
exit (EXIT_FAILURE);
}

do
{
c = fgets(oneword, 100, fp1); /* get one line from the file */
if (c != NULL)
printf("[*] Scanning: %s", oneword);
pingemup();
} while (c != NULL); /* repeat until NULL */

fclose(fp1);
}
/* stolen from broadscan.c */
void pingemup()

{


flag=0;
sprintf(tempstring,"ping -c 2 -n %s",oneword);
stream=popen(tempstring,"r");
while (fgets(parse,sizeof(parse),stream)!=NULL)
{
if (DEBUG) /* printf("Results:%s",parse); */
if (strstr(parse,"DUP"))
{
flag=1;
fclose(stream);
break;
}

}
if (flag==1)
stream=fopen(streamer2, "a");
fprintf(stream,"%s",oneword);
fclose(stream);
}


main(int argc, char *argv[])
{


if (argc!=3)
{
printf("\t zipp0.c - coded by misteri0@unet [pr0tocol]\n");
printf("\nusage : %s <input.txt> <output.txt>\n\n",argv[0]);
exit(0);
}


printf("[*] Scanning addresses from --> [%s]\n",argv[1]);
printf("[*] Output of addresses will go to ---> [%s]\n",argv[2]);
printf("+------------------------------------------------------------------------+\n");
streamer=argv[1];
streamer2=argv[2];
readline();
}

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close