Actionscript/ Wikipedia API -


i'm working on actionscript project , need call wikipedia api's , wikipedia doesn't contain crossdomain.xml file enable flash access.

any suggestion !

thanks

if project web page , have control on html source, proxy calls via externalinterface javascript. if have control on server, can write simple php script relay commands wikipedia.

however, if on web page don't have control on js part, don't fret: turns out have full control injecting whatever js like:

// initially: call anonymous function writing named function global js space // more or less inject complete framework here. or simple js http proxy. externalinterface.call('function(){hello = function(foo){alert(foo);};}()'); // somewhere else in code externalinterface.call('hello("world")'); 

isn't fun how can work around useless security measure (cossdomain.xml) abusing critical security problem (javascript injection)? :)


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -