n0va_sa

Hash Me Up

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