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
483 Guests, 101 Users ckryptix, viper0i0, Diznablo, rabbidmind, asapong, Nasrudin, CollapsingWalls, mehtaparag, bitstrike, jnony, C, Nicid1, 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, Ios, 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, Jakabo |
| |
|
|
|
|
|