Advent Of Cyber 2023 — Day 21

Mansoor Barri
1 min readDec 22, 2023

--

What Linux kernel version is the Jenkins node?

  1. 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
  2. cd into the directory
  3. Type nano Makefile and change the command to uname -a
  4. Ctrl+X the Y to save the File
  5. Now type the below commands
    git add .
    git commit -m "Message"
    git push
  6. Navigate to http://MACHINE-IP:8080/
  7. Login with admin:admin
  8. Click the gift-wrapper-build → gift-wrapper-pipeline → main
  9. Then Click Build in the left side
  10. Then Click on the last build and click Console output on the left side
  11. 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.

--

--

Mansoor Barri

Profile designed to share technology content about Penetration testing, Linux and Windows.