Web Enumeration Tool Algorithm
1. Initialize the application interface
- Launch the tkinter GUI window.
- Display input field for URL, Scan, Stop, Quit buttons, and output text area.
2. Wait for user input
- Prompt user to enter a valid URL (http:// or https://).
3. User clicks 'Scan' button
- Validate URL format.
- If invalid, show error and halt.
- If valid, disable Scan, enable Stop.
4. Start scanning in background thread
- Define list of common directories (e.g., /admin, /login).
- For each directory:
• Combine base URL + directory.
• Send HTTP GET request (5s timeout).
• If status 200, display 'Found: URL'.
• Else, display 'Not Found: URL (Status: code)'.
• On request error, display error message.
• Check stop flag; if set, break loop.
5. After scan or stop
- Enable Scan, disable Stop.
- Display 'Enumeration finished.'
6. User can click 'Quit' anytime to close app and stop processes.