-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.bat
23 lines (18 loc) · 1.69 KB
/
setup.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
powershell Invoke-WebRequest -OutFile ./Resource/php.zip -Uri https://windows.php.net/downloads/releases/php-8.1.9-Win32-vs16-x64.zip
powershell Expand-Archive -Path ./Resource/php.zip -DestinationPath ./Resource/php
powershell Remove-Item ./Resource/php.zip
powershell Invoke-WebRequest -OutFile ./Resource/ysoserialnet.zip -Uri https://github.com/pwntester/ysoserial.net/releases/download/v1.34/ysoserial-1.34.zip
powershell Expand-Archive -Path ./Resource/ysoserialnet.zip -DestinationPath ./Resource/ysoserialnet
powershell Remove-Item ./Resource/ysoserialnet.zip
powershell Move-Item -Path ./Resource/ysoserialnet/Release/* -Destination ./Resource/ysoserialnet
powershell Invoke-WebRequest -OutFile ./Resource/phpggc.zip -Uri https://github.com/ambionics/phpggc/archive/refs/heads/master.zip
powershell Expand-Archive -Path ./Resource/phpggc.zip -DestinationPath ./Resource/phpggc
powershell Remove-Item ./Resource/phpggc.zip
powershell Invoke-WebRequest -OutFile ./Resource/ysoserial.jar -Uri https://github.com/frohoff/ysoserial/releases/latest/download/ysoserial-all.jar
powershell Invoke-WebRequest -OutFile ./Resource/python.zip -Uri https://www.python.org/ftp/python/3.9.5/python-3.9.5-embed-amd64.zip
powershell Expand-Archive -Path ./Resource/python.zip -DestinationPath ./Resource/python
powershell Remove-Item ./Resource/python.zip
powershell Invoke-WebRequest -OutFile ./Resource/java.zip -Uri https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u292-b10/OpenJDK8U-jre_x86-32_windows_hotspot_8u292b10.zip
powershell Expand-Archive -Path ./Resource/java.zip -DestinationPath ./Resource
powershell Rename-Item ./Resource/jdk8u292-b10-jre ./java
powershell Remove-Item ./Resource/java.zip