Last active
January 12, 2019 10:12
-
-
Save Alex4386/921a3e0e909ca847de06973027464ba0 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
var danalbabo = new XMLHttpRequest(); | |
danalbabo.open("POST", "http://otmsg.kr/send.php"); | |
danalbabo.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); | |
danalbabo.addEventListener("load", function() { | |
console.log(danalbabo.response.match(/http:\/\/otmsg.kr\/read.php\?no\=([A-Za-z0-9]+)/gm)[0]); | |
}); | |
danalbabo.send("message="+encodeURIComponent("NOPE SHIT")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment