EG Information
Training Missions
Knowledge Bank
|
|
Enigma Group's Code Bank
[PHP] Live-Site v1.0By: blink_212 - Date Submitted: 2009-12-20 15:31:37 <?php /** * Same-Server v1.0 * * Script for testing a large list * of website sites retrieved from * a reverse IP domain check. This * is useful for when you want access * to a specific server and discover * the server is hosting alot of other * sites on the server. * * Here is a short list of reverse * IP domain checkers :- * * yougetsignal.com * myipneighbors.com * ip-domain.com.cn * domaintools.com * * Simply do the check, and copy-paste * all of the results into a text file * and put the name of the file in the * same dir. Dont for get to name the * text file accordingly in the * settings. * * The results are saved in * '127.0.0.1-live.html'. Where the IP * address is the IP of the target * specified. The file is overwritten, * each time. * * Coded by blink_212 * * ~ Enjoy! */ $list = "list.txt"; // List of websites from reverse IP domain check. $target = "72.167.183.31"; // Server you want to test against. Best to use IP address. $save = fopen("$target-live.html","w"); fwrite($save, "<html><head><title>$target Active-Domain Results ~ Coded by zeN</title></head><body>"); echo "n[+] Checking [$count] domains on [$target]...n"; if( (GetIP ($site) == $target) ){ echo "[+] [$site] is active!n"; @$i++; SaveSite($site); echo "[-] [$site] is down!n"; } echo "[-] [$site] isn't on the server!n"; } } } echo "n[+] Finished! [$i / $count] hosts active!nn"; $save = fopen("$target-live.html","a"); fwrite($save, "</body></html>"); function GetIP($host){ } function CheckHost($host) { $ret = false; $ret = true; } } function SaveSite($host) { $log = ' <a href="http://'.$host.'">'.$host.'</a><br />'."n"; $save = fopen("$target-live.html","a"); } ?>
|
| Return to
php category list |
|
|
Who's Online
487 Guests, 99 Users ckryptix, Diznablo, Nicid1, Ios, viper0i0, rabbidmind, Nasrudin, CollapsingWalls, mehtaparag, bitstrike, jnony, C, Nusquam-Redono-Sapientia, bazcrown, saifulfaizan, The End, Ultraminor, psychomarine, st3alth, themastersinner, pgmrlink, login, lionaneesh, ishkur88, mahraja, Mac, chekifr, gandalf88, Vap0r, t0ast, tantrum6226, BnE, Distorted, Psiber_Syn, Ausome1, invas10n, oldgoat, freedaysbecumei, BinaryShinigami, Rex_Mundi, Red_beard, Strobeflux, s0m3nak3dguy, Descent, teehee, machupicchu, Genetix, Anandarl, NotMyOwn, thegamerdude, Godzila, popo12341234, RedEvolution, velocity_b, myne17, teto111, aVoid, Central-Gsm, 1101, JackalReborn, InjectioN, h4lted, c0re, DisPater, markt4death, splatta, Jackowacko, saint556, Pyron2312, Azerion, howsens, white.hat.gone.bad, vazzilly, pwunkz, Inverted, QuarterCask, Infernoe11, deskata, cr4ck3rj4ck, Blizer, jasonmax, j0sh, gwenwavor, N4g4c3N, spizeyboy, Network X, Uino59, Jae Cee, ianFDK, saykov, medhaavee, zofy, demonkiller410, Stumble, SaMTHG, kishore, Raze, helasraizam, Venom1019 |
| |
|
|
|
|
|