This repository was archived by the owner on Mar 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path--CNEWUSER--.bat
More file actions
51 lines (40 loc) · 1.33 KB
/
--CNEWUSER--.bat
File metadata and controls
51 lines (40 loc) · 1.33 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
@echo off
setlocal EnableDelayedExpansion
set charSets=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
:: DELETE OLD FILES ::
del injector.exe
del blackmode.exe
del "G:\work\C++\PROTECT\NEWUSER\*.exe"
del "G:\work\C++\PROTECT\*.rar"
:: COPY NEW COMPILED FILES ::
Copy "G:\work\C++\External-WallHack-SAMP\Release\External-WallHack-SAMP.exe" "G:\work\C++\PROTECT\injector.exe"
:: START ::
Set _BuildCount=1
:BuildLoop
echo --------------------------------------------------
echo Generate Random Name
echo --------------------------------------------------
set buffer=% %
set count=0
set /a length=15
:Loop
set /a count+=1
set /a rand=%Random%%%69
set buffer=!buffer!!charSets:~%rand%,1!
if !count! leq !length! goto Loop
echo Rename OUTPUTED files
:: PROTECTING ::
echo --------------------------------------------------
echo Protecting [%_BuildCount%]
echo --------------------------------------------------
VMProtect.exe injector.exe NEWUSER\%buffer%.exe -pf Settings.vmp
:: ARCHIVE ::
echo --------------------------------------------------
echo ARCHIVE [%_BuildCount%]
echo --------------------------------------------------
cd NEWUSER
call "C:\Program Files (x86)\WinRAR\Rar.exe" a -r "G:\work\C++\PROTECT\%buffer%.rar" *
Set buffer=% %
Set /A _BuildCount-=1
If %_BuildCount% GTR 0 GoTo BuildLoop
timeout /t 2