ВОт кстати код кросдоменника
Код AS1/AS2:
var server = require('net').createServer(
function(stream){
//console.log('connected'); // <-- log —---------
stream.on('error', function (extension) {
console.log('policy.socket.error');
});
stream.on('data',function(){
stream.write('<?xml version="1.0"?>\n');
stream.write('<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">\n');
stream.write('<!-- Policy file for xmlsocket://88.198.13.155 -->\n');
stream.write('<cross-domain-policy>\n');
stream.write('<!-- This is a master socket policy file -->\n');
stream.write('<site-control permitted-cross-domain-policies="all"/>\n');
stream.write('<!-- No other socket policies on the host will be permitted -->\n');
stream.write('<site-control permitted-cross-domain-policies="master-only"/>\n');
stream.write('<!-- Instead of setting to-ports="*", administrators can use ranges and commas -->\n');
stream.write('<!-- This will allow access to ports 123, 456, 457 and 458 -->\n');
stream.write('<allow-access-from domain="*" to-ports="*" secure="false" />\n');
stream.write('</cross-domain-policy>\0');
/*
stream.write('<?xml version="1.0"?>');
stream.write('<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">');
stream.write('<cross-domain-policy>');
stream.write('<allow-access-from domain="*" to-ports="*" />');
stream.write('<site-control permitted-cross-domain-policies="master-only" />');
stream.write('</cross-domain-policy>');
*/
stream.end();
});
});
server.listen(843, '88.198.13.155');
Добавлено через 59 секунд
Сейчас попробую тот
Добавлено через 27 минут
те же яйца, только в профиль ((