Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //https://ringzer0team.com/challenges/13/
- //This getScript will import SHA512() from github
- // @author Chen, Yi-Cyuan [emn178@gmail.com]
- $.getScript("https://cdn.rawgit.com/emn178/js-sha512/master/src/sha512.js", function(){
- // selecting the message from SRC
- let selectorBox = $(".message").text();
- // Removing the unnecessary stuffs from the message
- window.location.href += '/' + sha512(selectorBox.split("\n")[2].substring(2,selectorBox.lenght));
- });
Add Comment
Please, Sign In to add comment