ELECTION1

intermediate machine.

INITIAL SCAN

**Found 2 Open Ports: 22, 80


PORT STATE SERVICE REASON
22/tcp open ssh syn-ack ttl 61
80/tcp open http syn-ack ttl 61

Then scanning using gobuster gave me robots.txt -> election directory which was hosting an online election system.

Online voting system

After further reconnaissance, I obtained a system log with some credentials

INITIAL FOOTHOLD

Input:

They were SSH credentials. After that, I ran the following

User 'love' cannot run the command with sudo. Soon after reading the linpeas.sh output, I realized it was using an older version of pkexec, and from there, I escalated :

Last updated