EG Information
Training Missions
Knowledge Bank
|
|
Enigma Group's Code Bank
PHP Information LoggerBy: s0cketWhore - Date Submitted: 2008-10-11 19:15:21 <?php //coded by s0cket of incursus security group //grabs users information $ipaddr = htmlentites (getenv('REMOTE_ADDR'), ENT_QUOTES , "UTF-8"); $hostname = htmlentites (getenv('REMOTE_ADDR'), ENT_QUOTES , "UTF-8"); //compiles message $totalmsg = "The users IP address is:" . $ipaddr . "n The users hostname is:" . $hostname . "n The port he's using is:" . $remoteport . "n The users referer is:" . $referer . "n The user agent is:" . $useragent . "nn"; //message compiled, now write information to the logs $fp = fopen('logs1918.txt', 'a'); ?>
|
| Return to
php category list |
|
|
Who's Online
405 Guests, 116 Users hettoo, Distorted, aVoid, c0re, Link-, raven001, Ops, apablo, hemiptera, Predatorc, Bloodmaster25, sameer kumar, damo, Nasrudin, Rex_Mundi, bakiido, N4g4c3N, klesco, destroyer, Bago, Psiber_Syn, psychomarine, darkang3l, m4r71an, shane007, glockz, somisettynaresh, lacanian, iwanlearn, cutie117098, Drakelx, jarlskov, Vahakn, buffer, flower, Brave, KingSpawn, avalor, RedEvolution, tkb2999, EngGi235, dark_void, hacker807, noother, omnipresence, blink_212, NotMyOwn, lgee227, Ghostrider, Calumoo, livinbeneath, deskata, lionaneesh, cracker, data, invas10n, LiquidSnake, TheFender, kcaz, T-Metal, ace386, hulk9914, BinaryShinigami, cd365, st3alth, Burning_Hardware, mark63534, Pizza, Lingt, spumoni27, j0sh, KaosFactor, Protagoras, DeKoala, pimpsta5000, computerbp13, Ausome1, enyo, Ultraminor, mm256, Bearmaul, sirEgghead, cracker18, Ashok_thepower, C, Base, chaos-angel, ergo, DnA-Ender, InjectioN, Virgin Mary, xXxAngelBabykxXx, obrigadoo, timmy, ishkur88, TrAnE, forty2, SaMTHG, FatalNIX, totalnoob, figjam, knight_pars, snozzberries, naren211, zofy, tucak, strycnine, TheRetech, chekifr, teehee, Zheka, aloksaini, greatness87, tnhtm, piking, nicks_707 |
| |
|
|
|
|
|