-
Notifications
You must be signed in to change notification settings - Fork 6
/
ART.bat
103 lines (99 loc) · 2.77 KB
/
ART.bat
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@echo off
:start
cls
echo.
echo ^>^> Which Operation you want to perform?
echo.
echo 1 --^> Install Atomic-Red-Team.
echo 2 --^> Prereqs for FIN6-ART.
:: echo 2 --^> Uninstall Atomic-Red-Team.
echo 3 --^> Automated FIN6-ART Testing.
echo 4 --^> Clean-Up FIN6-ART Testing.
echo.
echo 0 --^> Exit.
echo.
set option= Option:
set /p option= %option%
if %option%==0 (
echo.
echo GoodBye ...
echo See You Later ...
echo.
exit
)
if %option%==1 (
cls
echo.
echo ^>^> Installing Atomic-Red-Team ...
echo.
curl https://raw.githubusercontent.com/VTFoundation/art-auto-testing/main/ART-win/scripts/Install_ART.ps1 -o C:\ProgramData\art_installer.ps1 && powershell.exe C:\ProgramData\art_installer.ps1
echo.
echo ^>^> Install of Atomic-Red-Team Initialized Successfully ...
echo.
pause
del C:\ProgramData\art_installer.ps1
goto start
)
:: if %option%==2 (
:: cls
:: echo.
:: echo ^>^> Uninstalling Atomic-Red-Team ...
:: echo.
:: echo Not Updated till now ...
:: echo Come back later ...
:: echo.
:: ::curl https://raw.githubusercontent.com/VTFoundation/tbx/main/scripts/install_cb.ps1 -o C:\ProgramData\art_uninstaller.ps1 && powershell.exe C:\ProgramData\art_uninstaller.ps1
:: echo ^>^> Uninstall of Atomic-Red-Team Initialized Successfully ...
:: echo.
:: pause
:: del C:\ProgramData\art_uninstaller.ps1
:: goto start
:: )
if %option%==2 (
cls
echo.
echo ^>^> Checking Prereqs for FIN6-ART ...
echo.
curl https://raw.githubusercontent.com/VTFoundation/art-auto-testing/main/ART-win/scripts/Prereqs_FIN6.ps1 -o C:\ProgramData\art_fin6_prereqs.ps1 && powershell.exe C:\ProgramData\art_fin6_prereqs.ps1
echo.
echo ^>^> Successfully met Prereqs for FIN6-ART Testing ...
echo.
pause
del C:\ProgramData\art_fin6_prereqs.ps1
goto start
)
if %option%==3 (
cls
echo.
echo ^>^> Starting Automated FIN6-ART Testing ...
echo.
curl https://raw.githubusercontent.com/VTFoundation/art-auto-testing/main/ART-win/scripts/FIN6_run.ps1 -o C:\ProgramData\art_fin6.ps1 && powershell.exe C:\ProgramData\art_fin6.ps1
echo.
echo ^>^> Successfully Started Automated FIN6-ART Testing ...
echo.
pause
del C:\ProgramData\art_fin6.ps1
goto start
)
if %option%==4 (
cls
echo.
echo.
echo ^>^> Initializing Clean-Up for FIN6-ART Testing ...
echo.
curl https://raw.githubusercontent.com/VTFoundation/art-auto-testing/main/ART-win/scripts/Cleanup_FIN6.ps1 -o C:\ProgramData\art_fin6_cleanup.ps1 && powershell.exe C:\ProgramData\art_fin6_cleanup.ps1
echo.
echo ^>^> FIN6-ART Testing Clean-Up Successfully Initiallized ...
echo.
pause
del C:\ProgramData\art_fin6_cleanup.ps1
goto start
) else (
cls
echo.
echo ^>^> Please Enter Correct value ...
echo.
pause
goto start
)
pause