-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathSTART_PATHFINDER.bat
More file actions
201 lines (186 loc) · 5.62 KB
/
START_PATHFINDER.bat
File metadata and controls
201 lines (186 loc) · 5.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
@echo off
title PathFinder v3.0 ULTIMATE
color 0A
cls
echo.
echo ================================================================================
echo PathFinder v3.0 ULTIMATE - Web Path Discovery Tool
echo ================================================================================
echo.
echo Just enter a target URL and we'll scan it for you!
echo.
echo ================================================================================
echo.
:MENU
echo.
echo [1] Quick Scan (Basic)
echo [2] Fast Scan (High Speed)
echo [3] Thorough Scan (Extensions + Filters)
echo [4] Custom Command
echo [5] View Help
echo [6] Exit
echo.
set /p choice="Select option (1-6): "
if "%choice%"=="1" goto QUICK
if "%choice%"=="2" goto FAST
if "%choice%"=="3" goto THOROUGH
if "%choice%"=="4" goto CUSTOM
if "%choice%"=="5" goto HELP
if "%choice%"=="6" goto END
goto MENU
:QUICK
cls
echo.
echo ================================================================================
echo QUICK SCAN MODE
echo ================================================================================
echo.
set /p target="Enter target (e.g., example.com or https://example.com): "
if "%target%"=="" (
echo ERROR: No target provided!
timeout /t 2 >nul
goto MENU
)
REM Auto-add https:// if not present
echo %target% | findstr /i "http://" >nul
if %errorlevel% neq 0 (
echo %target% | findstr /i "https://" >nul
if %errorlevel% neq 0 (
set target=https://%target%
)
)
echo.
echo Starting quick scan of %target%...
echo.
pathfinder.exe -target %target% -wordlist wordlist.txt
echo.
echo ================================================================================
echo SCAN COMPLETE!
echo ================================================================================
echo.
pause
goto MENU
:FAST
cls
echo.
echo ================================================================================
echo FAST SCAN MODE (High Concurrency)
echo ================================================================================
echo.
set /p target="Enter target (e.g., example.com or https://example.com): "
if "%target%"=="" (
echo ERROR: No target provided!
timeout /t 2 >nul
goto MENU
)
REM Auto-add https:// if not present
echo %target% | findstr /i "http://" >nul
if %errorlevel% neq 0 (
echo %target% | findstr /i "https://" >nul
if %errorlevel% neq 0 (
set target=https://%target%
)
)
echo.
echo Starting fast scan of %target% with 100 concurrent requests...
echo.
pathfinder.exe -target %target% -wordlist wordlist.txt -concurrency 100
echo.
echo ================================================================================
echo SCAN COMPLETE!
echo ================================================================================
echo.
pause
goto MENU
:THOROUGH
cls
echo.
echo ================================================================================
echo THOROUGH SCAN MODE (Extensions + Filtering)
echo ================================================================================
echo.
set /p target="Enter target (e.g., example.com or https://example.com): "
if "%target%"=="" (
echo ERROR: No target provided!
timeout /t 2 >nul
goto MENU
)
REM Auto-add https:// if not present
echo %target% | findstr /i "http://" >nul
if %errorlevel% neq 0 (
echo %target% | findstr /i "https://" >nul
if %errorlevel% neq 0 (
set target=https://%target%
)
)
echo.
echo Starting thorough scan of %target%...
echo Looking for PHP, HTML, JS, TXT files...
echo Filtering for interesting status codes only...
echo.
pathfinder.exe -target %target% -wordlist wordlist.txt -x php,html,js,txt,asp,aspx -mc 200,301,302,401,403 -concurrency 75
echo.
echo ================================================================================
echo SCAN COMPLETE!
echo ================================================================================
echo.
pause
goto MENU
:CUSTOM
cls
echo.
echo ================================================================================
echo CUSTOM COMMAND MODE
echo ================================================================================
echo.
echo Enter your full PathFinder command (without "pathfinder.exe")
echo Example: -target https://example.com -wordlist wordlist.txt -x php,html
echo.
set /p customcmd="Command: "
if "%customcmd%"=="" (
echo ERROR: No command provided!
timeout /t 2 >nul
goto MENU
)
echo.
echo Running: pathfinder.exe %customcmd%
echo.
pathfinder.exe %customcmd%
echo.
echo ================================================================================
echo SCAN COMPLETE!
echo ================================================================================
echo.
pause
goto MENU
:HELP
cls
echo.
echo ================================================================================
echo PathFinder v3.0 ULTIMATE - Help
echo ================================================================================
echo.
pathfinder.exe
echo.
echo ================================================================================
echo.
echo Quick Examples:
echo.
echo Basic: -target https://example.com -wordlist wordlist.txt
echo Extensions: -target https://example.com -wordlist wordlist.txt -x php,html,js
echo Filtering: -target https://example.com -wordlist wordlist.txt -mc 200,301
echo Fast: -target https://example.com -wordlist wordlist.txt -concurrency 100
echo Export JSON: -target https://example.com -wordlist wordlist.txt -o results.json -of json
echo.
echo ================================================================================
echo.
pause
goto MENU
:END
cls
echo.
echo Thanks for using PathFinder!
echo Exiting...
echo.
timeout /t 2 >nul
exit