Has anyone heard of a way to get a jpeg to run a line of ...
I don't want to hack a server. I need a way to have an image set a cookie.
I just want a way to verify if a user loaded my image.
Clearly the image isnt hosted on my server or this would be easy.
I need the image to actually run some other code from a different domain
to set the cookie.
Think re-targeting advertising... not hacking...
I have googled this, for weeks. I don't want to exploit getimagesize();
my bad i didnt rad the JS part .
I think that's not possible , jpeg is just a format
it is super easy if you have access to the server the image will be on, or if you could us a php image
neither of these are an option. I have to upload the image to one of the larger advertising networks.
they distribute the image to there networks. So I have no idea where the images would end up.
But... If I could set a cookie... I could do lots of re-targeting advertising.
Basically, I need a hack that can add a virus to an image. Only this isn't a real virus
since it does not replicate or do any damage.
You want to upload pic to fb and cs all visitors of your fan page. Am I right?
It cant be done.
you would need to find a massive exploit in a browser / or a major flaw in an image standard.
this stuff is so widely used and scrutinized, its a very hard thing to do.
you won't find a wordpress plugin for that =)
$imgPng = imageCreateFromPng($strImagePath);
/* Output image to browser */
setcookie("TestCookie", $value, time()+3600, "/~rasmus/", "example.com", 1);
This will output a png while setting the cookie just call the php script on your html like following
if you are serious about this type of stuff, follow security mailing lists, everyday there are 0 days exploits/bugs reported that can be used toward your purpose.
but you need to know your stuff, and this stuff tend to get patched pretty quickly, the window of opportunity is small.
By erickishere in forum Blogging
Last Post: 04-08-2013, 02:24 AM
By matthewajumper in forum Affiliate Programs
Last Post: 08-30-2011, 02:41 AM
By TonyDavis202 in forum Hire a Freelancer
Last Post: 11-12-2009, 05:05 PM
By x5g7j9l3x in forum Cloaking and Content Generators
Last Post: 10-03-2009, 07:50 PM