Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Shodan Link Strip
  3. // @namespace Nugget
  4. // @version 1.0
  5. // @description Strips Shodan links down in to a list
  6. // @author Nugget
  7. // @match https://www.shodan.io/search?query=*
  8. // @grant none
  9. // ==/UserScript==
  10. // Do not send out, code is property of Nugget
  11.  
  12.  
  13. var ipLinks = [];
  14.  
  15. $(document).ready(function() {
  16. // .:-:. //
  17. $(".search-result").hide();
  18. // .:-:. //
  19. var $div = $("<br /><textarea id='ipList' style='width:400px;height:200px;border:0px;font-size:12px;color:#000;margin-top:16px;'></textarea>").appendTo(".span9"), thisIP;
  20. // .:-:. //
  21. $(".ip").each(function() {
  22. thisIP = $(this).find('a').attr('href');
  23. ipLinks.push(thisIP);
  24. $div.append(thisIP + "\r\n");
  25. });
  26. // .:-:. //
  27. $("#ipList").focus();
  28. $("#ipList").select();
  29. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement