AOH :: HP Unsorted C :: TB10473.HTM

Cross Domain XMLHttpRequest



Cross Domain XMLHttpRequest
Cross Domain XMLHttpRequest



Due to "security reasons" many Web Browsers doesn't allow cross
domain XMLHttpRequests. In fact this is only troublesome for web
developers and not for virus coders/crackers/etc. Some time ago there
was presetened a technic which used cssText property to perform some
cross domain requests. After some research I was able to create an
object that has some part of original XMLHttpRequests functionality
and allows Cross Domain requests. In conclusion Web Browers
Developpers should allow some limited cross domain XMLHttpRequests. My
implementation (MyXMLHttpRequest) uses script tag but it is possible
to use different ones (for instance style). It was tested on all
modern web browsers.
PoC: http://sectroyer.110mb.com/ 
It uses both XMLHttpRequest and MyXMLHttpRequests.
Michal Majchrowicz.

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.