VocabScan v1.0 (dig version) scans just .com and outputs to result.txt. Takes the hosts from a wordlist, so be sure between IPs there are not undesired domains.
94aee50dc4cb80d46e86b902bab25b703f67984806193dcb779bea6b393b2ac0
// *PRIVATE*DO NOT DISTRIBUTE*PRIVATE*
//This VocabScan v1.0 (dig version) by DanteAlighieri
//Now it scans just .com, output on result.txt
//New way to look to scans.. it just takes the host
//from a wordlist.. so u sure between IPz there'r not
//undesidered domains.
//Usage: [r00t@localhost]# mount /dev/brain
// [r00t@localhost]# gcc -o vocabind vocabind.c
// [r00t@localhost]# ./vocabind
//gr33tz go to: Bakunin and Cthulhu
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#define VOCAB "vocabulary.txt"
#define COMMAND "dig @"
#define COMM_OPT "version.bind chaos txt | grep 8"
#define LOGFILE "result.txt"
main(void) {
FILE *a;
char b[25],c[100],d[125];
pid_t ciao;
if(fork()==0){
sleep(10);
ciao=getpid();
kill(ciao);
} else {
if((a=fopen(VOCAB,"r"))==NULL) puts("File does not exist...fr0x"),exit(1);
while(!feof(a)) {
fscanf(a,"%s",b);
printf("Scanning %s.com ....\n",b);
sprintf(c,"%s%s.com %s >>%s 2>&1",COMMAND,b,COMM_OPT,LOGFILE);
system(c);
exit;
}
}
}