View previous topic :: View next topic |
Author |
Message |
Burningmace Grandmaster Cheater
Reputation: 5
Joined: 17 Feb 2008 Posts: 520 Location: Inside the Intel CET shadow stack
|
Posted: Sun Oct 17, 2010 12:04 pm Post subject: Looking for a HTML / CSS image trick |
|
|
I'm coding something that acts as a web server as part of its functionality, and I'm using embedded base64 images to make my job easier. For example:
<img src="data:image/gif;base64,R0lGODlhEAAQAHAAACH5BAEAANgALAAAAAAQABAAhwAAAAAAMwAAZgAAmQAAzAAA/wArAAArMwArZgArmQArzAAr/wBVAABVMwBV...... " />
The problem is that in certain circumstances that image needs to be used in about 12,000 places in the document. In that case I end up with a page size exceeding 20MB, which is obviously unacceptable.
I know I could place the embedded image in a single span element and duplicate it on the client side using JavaScript, but I'd much rather use CSS or HTML to do it since JS isn't always enabled.
Any ideas?
_________________
It's not fun unless every exploit mitigation is enabled. |
|
Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Sun Oct 17, 2010 2:42 pm Post subject: |
|
|
I can't recant any CSS trickery, but if the problem is related to your difficulty handling multiple document requests then you could always host the image on a different server.
|
|
Back to top |
|
 |
AhMunRa Grandmaster Cheater Supreme
Reputation: 27
Joined: 06 Aug 2010 Posts: 1117
|
Posted: Mon Oct 18, 2010 12:26 pm Post subject: |
|
|
Wow, this reminds me of an IE image html exploit. Like you are trying to override a buffer when calling an image to either ddos IE or install something without user interaction as the user running IE.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.> |
|
Back to top |
|
 |
atom0s Moderator
Reputation: 204
Joined: 25 Jan 2006 Posts: 8579 Location: 127.0.0.1
|
|
Back to top |
|
 |
Burningmace Grandmaster Cheater
Reputation: 5
Joined: 17 Feb 2008 Posts: 520 Location: Inside the Intel CET shadow stack
|
|
Back to top |
|
 |
AhMunRa Grandmaster Cheater Supreme
Reputation: 27
Joined: 06 Aug 2010 Posts: 1117
|
Posted: Mon Oct 25, 2010 9:15 am Post subject: |
|
|
No worries, I'm all for the exploity bits too.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.> |
|
Back to top |
|
 |
|