// // Version 3 added optional IP logging! // Version 4 removed the logging, and added images (via a new bgimg) // START Environment Spy Mechanism /* * Environment Spy Mechanism * Part 1 - Get the user's Browser */ if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko') ) { if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Netscape') ) {$browser = 'Browser: Netscape Nav\'r';} else if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') ) {$browser = 'Thanks for using Firefox!';} else {$browser = 'Browser: Mozilla Browser';} } else if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') ) { if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') ) {$browser = 'Browser: Opera';} else {$browser = 'Browser: MSIE';} } else {$browser = 'Browser: Unknown';} /* * Environment Spy Mechanism * Part 2 - Get the user's IP */ $ip = $_SERVER['REMOTE_ADDR']; // END Environment Spy Mechanism /* * And of course, no proper sig script would be complete without... * RANDOM QUOTES!!! :-D */ $quotes[] = 'Yo Momma for CinC!'; $quotes[] = 'Knowledge is Power!'; $quotes[] = 'Try Linux today!'; $quotes[] = 'PHP is the best language, PERIOD.'; $quotes[] = 'PHP > *'; srand ((double) microtime() * 1000000); $random_number = rand(0,count($quotes)-1); /* * Image Generation Section * (If you don't know how to modify this, email me) */ Header ("Content-type: image/png"); $img_handle = imageCreateFromPNG("ploy.png"); $caugreen = ImageColorAllocate ($img_handle, 102, 204, 51); // CAU Green $caorange = ImageColorAllocate ($img_handle, 255, 153, 51); // CA Exec Orange $osixblue = ImageColorAllocate ($img_handle, 51, 255, 255); // OSIX Light Blue $colwhite = ImageColorAllocate ($img_handle, 255, 255, 255); // White $sasbluey = ImageColorAllocate ($img_handle, 111, 125, 255); // SAS Dark Blue $sosyello = ImageColorAllocate ($img_handle, 255, 215, 0); // SOS Yellow $colorred = ImageColorAllocate ($img_handle, 255, 0, 0); // Red ImageString ($img_handle, 3, 70, 9, "Gamma Trooper Ploy", $sosyello); ImageString ($img_handle, 2, 70, 25, "CyberArmy Intelligence & Security", $sosyello); ImageString ($img_handle, 2, 70, 41, "Project Volund Administrator", $caorange); //ImageString ($img_handle, 2, 70, 57, "Third line goes here, uncomment to enable.", $caugreen); ImageString ($img_handle, 2, 70, 80, "Email: ploy@volund.cyberarmy.net", $colwhite); ImageString ($img_handle, 2, 70, 95, "IRC: irc.cyberarmy.net #volund", $colwhite); ImageString ($img_handle, 2, 70, 111, "$quotes[$random_number]", $colwhite); ImageString ($img_handle, 2, 250, 80, "Your IP: $ip", $caorange); ImageString ($img_handle, 2, 250, 92, "$browser", $caorange); ImagePng ($img_handle); // Generate Image ImageDestroy ($img_handle); // Remove image from Server ?>