Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setlocal enabledelayedexpansion
- :LoopStart
- set "PREFIX="
- set /p REFERER=Enter The referer URL:%=%
- set /p FNP=Enter the file name prefix:%=%
- set /p PREFIX=Enter any prefix for numbers 0-9:%=%
- set /p LOWERBOUND=Enter lower bound:%=%
- set /p UPPERBOUND=Enter upper bound:%=%
- set /p EXTENSION=Enter the extension:%=%
- set MAXBOUND=%UPPERBOUND%
- if %LOWERBOUND% LSS 10 (
- if %UPPERBOUND% GTR 9 (
- set UPPERBOUND=9
- )
- )
- if %LOWERBOUND% LSS 10 (
- for /l %%x in (%LOWERBOUND%, 1, %UPPERBOUND%) do (
- "C:\Program Files (x86)\GnuWin32\bin\wget" --no-check-certificate --secure-protocol=TLSv1 --random-wait --referer=%REFERER% -r -p -e robots=off -U mozilla "%REFERER%%FNP%%PREFIX%%%x%EXTENSION%"
- )
- set LOWERBOUND=10
- set UPPERBOUND=%MAXBOUND%
- )
- for /l %%x in (%LOWERBOUND%, 1, %UPPERBOUND%) do (
- "C:\Program Files (x86)\GnuWin32\bin\wget" --no-check-certificate --secure-protocol=TLSv1 --random-wait --referer=%REFERER% -r -p -e robots=off -U mozilla "%REFERER%%FNP%%%x%EXTENSION%"
- )
- set /P REPEAT=Enter y to repeat:%=%
- if %REPEAT%==y GOTO LoopStart
- pause
Advertisement
Add Comment
Please, Sign In to add comment