Advent Of Cyber 2023 — Day 21
1 min readDec 22, 2023
What Linux kernel version is the Jenkins node?
- Open a Terminal and clone the repository in the Attackbox or your machine with VPN using the command
git clone http://MACHINE-IP:3000/McHoneyBell/gift-wrapper.git
- cd into the directory
- Type
nano Makefile
and change the command touname -a
- Ctrl+X the Y to save the File
- Now type the below commands
git add .
git commit -m "Message"
git push - Navigate to
http://MACHINE-IP:8080/
- Login with
admin:admin
- Click the gift-wrapper-build → gift-wrapper-pipeline → main
- Then Click Build in the left side
- Then Click on the last build and click Console output on the left side
- Now, Scroll down to see the output of the command that we put on the Makefile
5.4.0-1029-aws
What value is found from /var/lib/jenkins/secret.key?
90e748eafdd2af4746a5ef7941e63272f24f1e33a2882f614ebfa6742e772ba7
That’s it | Visit mansoorbarri.com for other hacking & IT related articles.