maurosoria / dirsearch

Web path scanner
11.93k stars 2.31k forks source link

How to check the URL of the open port 443? #1292

Closed lppyyy closed 1 year ago

lppyyy commented 1 year ago

i met this question sometimes 图片 How to scan websites on port 443 , and i have another question,how can i use another keyword list to blow up url in order,-w ? How to use this parameter , I didn't quite understand 。Need to place the keyword list under the ”db“ directory?

Prady18 commented 1 year ago

@https://github.com/lppyyy @lppyyy Regarding your second question, the "-w" parameter is often used in conjunction with a wordlist file to perform a brute force attack or directory/file enumeration on a website. The wordlist file contains a list of potential keywords or phrases that can be appended to a URL in order to test if a specific file or directory exists on the target website.

To use the "-w" parameter, you need to specify the path to the wordlist file after the "-w" flag in the command line. For example:

Thish is bash(code) [./tool -w /path/to/wordlist.txt] As for the location of the wordlist file, it can be placed in any directory on your system, but if the tool you are using has a "db" directory specifically for storing wordlists, then you can place your wordlist file there for organizational purposes. However, this may depend on the specific tool you are using. Run the following command to check if port 443 is open on a target system: This is css code

nmap -p 443

Replace with the IP address of the system you want to scan.

After running the command, nmap will scan the target system and display a report showing which ports are open. If port 443 is open, you will see the following message in the report: This code buld in python ok

PORT    STATE SERVICE
443/tcp open  https

This means that port 443 is open on the target system and is being used by the HTTPS service. If you do not see this message, then port 443 is closed or filtered by a firewall. If nothing happens then tell me

lppyyy commented 1 year ago

oh the second question i understand.But the first one,i use nmap find it really open 443,and what should I do next? use" python dirsearch.py -u ip " or another way.

Prady18 commented 1 year ago

@lppyyy tell me what you have to do now

Prady18 commented 1 year ago

@lppyyy @Prady18 The command you mentioned, "python dirsearch.py -u ip", is a valid way to use Dirsearch. You can replace "ip" with the IP address or domain name of the server you are targeting. This will launch Dirsearch and start scanning the target for directories and files. 👾