version: '3.7'
services:
jenkins:
image: jenkins/jenkins:lts
privileged: false
user: root
ports:
- 10500:8080
- 50000:50000
container_name: jenkins-lts
volumes:
- ./jenkins_home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
- /usr/local/bin/docker:/usr/local/bin/docker
https://www.infracloud.io/blogs/render-jenkins-build-parameters-dynamically/
Manage → Plugins → Active Choices
File Parameter
File location: Shellcode
Description:
Shellcode for the loader
Active Choices Parameter
Name: Type
Groovy Script
return ["Local", "Remote_Targeted", "Remote_Targeted_Name", "Remote_Sacrificial_Process"]
Description:
Local - Execute the shellcode within the current process.
Remote_Targeted - Target a process by PID and inject into it.
Remote_Targeted_Name - Target a process by name and inject into it.
Remote_Sacrificial_Process - Spawn a sacrificial process of choice and inject into it.