Skip to content

aStrowxyu/Pysoserial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pysoserial

介绍

Python 3.x Python 2.x

Pysoserial是完全由python编写的用于生成利用不安全Java对象反序列化的有效负载的概念验证工具。工具参考ysoserial

安装

使用git拉取项目

git clone https://github.com/aStrowxyu/Pysoserial

使用

usage: JAVA deserialize payload [-h] [-p PAYLOAD] [-c COMMAND] [-o OUTPUT]
                                [-l]

Generate the JAVA Deserialize Payload

optional arguments:
  -h, --help            show this help message and exit
  -p PAYLOAD, --payload PAYLOAD
                        JAVA deserialize payload
  -c COMMAND, --command COMMAND
                        Payload Specifies the command to be executed
  -o OUTPUT, --output OUTPUT
                        Output to a file
  -l, --list            Payload List

examples:
  python pysoserial.py -p CommonsCollections1 -c whoami
  python pysoserial.py -p CommonsCollections1 -c whoami -o payload.ser

参考项目

https://github.com/frohoff/ysoserial

About

Python-based proof-of-concept tool for generating payloads that utilize unsafe Java object deserialization.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages