Skip to content

Commit

Permalink
Add java 11 to ysoserial
Browse files Browse the repository at this point in the history
  • Loading branch information
QU35T-code committed Jun 6, 2024
1 parent d3fd00b commit 3e73fa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sources/install/package_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,11 @@ function install_ysoserial() {
colorecho "Installing ysoserial"
mkdir /opt/tools/ysoserial/
wget -O /opt/tools/ysoserial/ysoserial.jar "https://github.com/frohoff/ysoserial/releases/latest/download/ysoserial-all.jar"
asdf local java adoptopenjdk-11.0.0+28
add-aliases ysoserial
add-history ysoserial
add-test-command "ysoserial --help|& grep 'spring-core:4.1.4.RELEASE'"
add-test-command "ysoserial CommonsCollections4 'whoami'"
add-test-command "ysoserial CommonsCollections4 'whoami'|base64 -w0|grep 'rO0A'"
add-to-list "ysoserial,https://github.com/frohoff/ysoserial,A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization."
}

Expand Down Expand Up @@ -772,6 +773,7 @@ function install_burpsuite() {
cp -v /root/sources/assets/burpsuite/trust-ca-burp.sh /opt/tools/BurpSuiteCommunity/
chmod +x /opt/tools/BurpSuiteCommunity/trust-ca-burp.sh
ln -v -s /opt/tools/BurpSuiteCommunity/trust-ca-burp.sh /opt/tools/bin/trust-ca-burp
asdf local java openjdk-22.0.1
add-aliases burpsuite
add-history burpsuite
add-test-command "which burpsuite"
Expand Down

0 comments on commit 3e73fa2

Please sign in to comment.