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. // @license MIT
  12. // ==/UserScript==
  13.  
  14. const dict = `/swagger-resources
  15. /v2/api-docs
  16. /index.js
  17. /api/v1
  18. /%3f/
  19. /readme.txt
  20. /readme.md
  21. /robots.txt
  22. /swagger.yaml
  23. /swagger.json
  24. /uploadify/index.php
  25. /sonar
  26. /monitoring
  27. /gateway
  28. /test
  29. /.vscode/sftp.json
  30. /.idea/workspace.xml
  31. /.idea/compiler.xml
  32. /.idea/vcs.xml
  33. /.idea/modules.xml
  34. /.idea/inspectionProfiles/Project_Default.xml
  35. /error.log
  36. /config.json
  37. /wp-json
  38. /wp-json/wp/v2/users
  39. /api-docs
  40. /arthubdam.zip
  41. /setup.php
  42. /content
  43. /v3/api-docs
  44. /v2/api-docs
  45. /v1/api-docs
  46. /.svn/wc.db`.split("\n")
  47.  
  48. window.search = () => {
  49. dict.forEach(pathname => {
  50. const url = `${location.origin}${pathname}`
  51. fetch(url).then(res => {
  52. res.ok && console.log(url)
  53. }).catch(() => {})
  54. })
  55. }

QingJ © 2025

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