Advertisement
kernel_memory_dump

Untitled

Feb 12th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.51 KB | None | 0 0
  1. <html>
  2. <head>
  3. </head>
  4. <body>
  5.  
  6. <script>
  7. var upit = window.location.search;
  8. upit = upit.substring(1);
  9. // username=seb&password=123
  10. var delovi  =  upit.split("&");
  11. // { " username=seb", "password=123"}
  12.           // [0]                         // [1]
  13. //  {"username" , "seb"}
  14. //                         [1]
  15.  
  16. // {"passsword" , "123"}
  17.  
  18.  
  19. var username = delovi[0].split("=")[1];
  20. var password = delovi[1].split("=")[1];
  21.  
  22. alert("Username je:"  + username);
  23. alert("password je:" + password);
  24.  
  25. </script>
  26.  
  27. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement