dirsearch.js

dirsearch js版

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         dirsearch.js
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  dirsearch js版
// @author       wuuconix
// @match        *
// @icon         https://www.google.com/s2/favicons?sz=64&domain=wuuconix.link
// @grant        none
// @include      *
// ==/UserScript==

const dict = `/swagger-resources
/v2/api-docs
/api/v1
/%3f/
/readme.txt
/readme.md
/robots.txt
/swagger.yaml
/swagger.json
/uploadify/index.php
/sonar
/monitoring
/gateway
/test
/.vscode/sftp.json
/.idea/workspace.xml
/.idea/compiler.xml
/.idea/vcs.xml
/.idea/modules.xml
/.idea/inspectionProfiles/Project_Default.xml
/error.log
/config.json
/wp-json
/wp-json/wp/v2/users
/api-docs
/arthubdam.zip
/setup.php
/content
/v3/api-docs
/v2/api-docs
/v1/api-docs
/.svn/wc.db
/actuator
/api/index.html`.split("\n")

window.search = () => {
    dict.forEach(pathname => {
        const url = `${location.origin}${pathname}`
        fetch(url).then(res => {
            res.ok && console.log(url)
        }).catch(() => {})
    })
}