FOr example.. Since you run your exploit as JPG and not HTML, or PHP file, you can link it to avatar on any forum and anyone that "sees" your avatar, gets infected, you can then send picture to someone in HTML email(it downloads automatically)... But that stuff is still in development and could use some help from bigger experts then myself...
This example will just use simple script to show your IP... But executing script is the main point of this so that is all you need...
1. Make sure your webserver has php GD installed..
2. Content of picture.JPG
<?php
header("Content-type: image/jpeg");
$string = $_SERVER['REMOTE_ADDR'];
$im = imagecreatefromjpeg("some_picture.jpg");
$orange = imagecolorallocate($im, 220, 210, 60);
$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
imagestring($im, 3, $px, 9, $string, $orange);
imagejpeg($im);
imagedestroy($im);
?>3. putt in same dir some picture that will be shown when you run picture.jpg and name it "some_picture.jpg"
4. In same directory of your Apache webserver, putt one .htaccess file. And content of that file will be:
AddType application/x-httpd-php .php .jpg
Now just visit host.com/picture.jpg via your web browser and voala.. You will see your IP displayed in picture.. Script executed, and you just thought you were just looking at harmless picture...

Sign In
Register
Help
MultiQuote