Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameterized payloads #219

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add parameterized payloads #219

wants to merge 3 commits into from

Conversation

cas1n
Copy link

@cas1n cas1n commented Mar 12, 2024

Hello,

This PR (based on the multiarg branch) adds parameters to customize payloads of gadget chains based on Translets and on CommonsCollections Transformers:

Examples:

$ java -jar ysoserial.jar CommonsCollections1 --inline 'System.out.println("Hello world");'
[...]

$ java -jar ysoserial.jar CommonsBeanutils1  --jar-file /path/to/app.jar --jar-main org.random.Main -- arg0 arg1 arg2
[...]

cas1n added 3 commits March 12, 2024 10:59
* Add supplementary arguments for internal translet based payloads

* Add supplementary arguments for Transformer payloads

* Make CommonsBeanutils1 silent using NullComparator
* Add supplementary arguments for internal translet based payloads

* Add supplementary arguments for Transformer payloads

* Make CommonsBeanutils1 silent using NullComparator
- Add supplementary arguments for internal translet based payloads
- Add supplementary arguments for Transformer payloads
- Make CommonsBeanutils1 silent using NullComparator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant