dirsearch.js

dirsearch js版

当前为 2022-07-20 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name dirsearch.js
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description dirsearch js版
  6. // @author wuuconix
  7. // @match *
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=wuuconix.link
  9. // @grant none
  10. // @include *
  11. // ==/UserScript==
  12.  
  13. const dict = `/swagger-resources
  14. /v2/api-docs
  15. /index.js
  16. /api/v1
  17. /%3f/
  18. /readme.txt
  19. /readme.md
  20. /robots.txt
  21. /swagger.yaml
  22. /swagger.json
  23. /uploadify/index.php
  24. /sonar
  25. /monitoring
  26. /gateway
  27. /test
  28. /.vscode/sftp.json
  29. /.idea/workspace.xml
  30. /.idea/compiler.xml
  31. /.idea/vcs.xml
  32. /.idea/modules.xml
  33. /.idea/inspectionProfiles/Project_Default.xml
  34. /error.log
  35. /config.json
  36. /wp-json
  37. /wp-json/wp/v2/users
  38. /api-docs
  39. /arthubdam.zip
  40. /setup.php
  41. /content
  42. /v3/api-docs
  43. /v2/api-docs
  44. /v1/api-docs
  45. /.svn/wc.db`.split("\n")
  46.  
  47. window.search = () => {
  48. dict.forEach(pathname => {
  49. const url = `${location.origin}${pathname}`
  50. fetch(url).then(res => {
  51. res.ok && console.log(url)
  52. }).catch(() => {})
  53. })
  54. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址