Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 20th, 2012  |  syntax: None  |  size: 0.31 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Same origin issue (file upload)
  2. (a=(b=doc)
  3. .createElement('script'))
  4. .src='http://foo.com/upload.php?'+Math.random(),
  5. b.body.appendChild(a);
  6. void(0);
  7.        
  8. <?xml version="1.0" ?>
  9. <cross-domain-policy>
  10. <allow-access-from domain="*" />
  11. <allow-access-from domain="*.foo.com" secure="false" />
  12. </cross-domain-policy>