Go Back   EliteHackers.info Discussion Forums > Graphics & Web Development Corner > Web Development

Reply
 
Thread Tools

 Bypassing HTML Entities
Old February 8th, 2010, 14:25   #1
1100
Advanced Member
 
1100 is offline
Join Date: Dec 2009
Posts: 705
1100 is on a distinguished road
Default Bypassing HTML Entities

Is it possible? For example, whenever I input the character ">" out comes > in it's place. Any way to exploit this?
  Reply With Quote

 
Old February 9th, 2010, 04:00   #2
Scrapheap
Moderator
 
Scrapheap is offline
Join Date: Nov 2004
Posts: 1,895
Scrapheap is on a distinguished road
Default

The usual way to exploit <>'s is when the system doesn't replace them with &lt; and &gt; as you can then insert your own html tags and script tags.
  Reply With Quote

 
Old February 9th, 2010, 06:16   #3
1100
Advanced Member
 
1100 is offline
Join Date: Dec 2009
Posts: 705
1100 is on a distinguished road
Default

Well yeah but I was wondering if that was possible to bypass ( the translation of < to &lt; and > to &gt; )

Also, I was once part of a forum that made HTML comments for every thread name and post body. It was ridiculous. All you had to do was type "-->" and then inject any HTML code you wanted, and of course CSS and Javascript if you wanted. Haha just thought I'd share that.

Example:
thread name was "--> <style type="text/css"> blah blah <!--"

<!-- thread name -->

<!-- --> <style type="text/css"> blah blah <!-- -->

Last edited by 1100; February 9th, 2010 at 06:19..
  Reply With Quote

 
Old February 9th, 2010, 06:44   #4
Scrapheap
Moderator
 
Scrapheap is offline
Join Date: Nov 2004
Posts: 1,895
Scrapheap is on a distinguished road
Default

You try using url encoding of a unicode value which can sometimes get through to the browser.
  Reply With Quote

 
Old February 9th, 2010, 06:58   #5
1100
Advanced Member
 
1100 is offline
Join Date: Dec 2009
Posts: 705
1100 is on a distinguished road
Default

Hmm. I'm assuming that doesn't really work much nowadays, though. Right? Thanks for the suggestion!
  Reply With Quote

 
Old February 9th, 2010, 07:08   #6
Scrapheap
Moderator
 
Scrapheap is offline
Join Date: Nov 2004
Posts: 1,895
Scrapheap is on a distinguished road
Default

It doesn't work so much these days, but it's always worth trying just to be sure.
  Reply With Quote

 
Old February 9th, 2010, 07:13   #7
1100
Advanced Member
 
1100 is offline
Join Date: Dec 2009
Posts: 705
1100 is on a distinguished road
Default

Thanks again, buddy!
  Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -4. The time now is 20:23.


Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2007, EliteHackers.info