Lessons Learned
Logging in
On a kali vm/ linux machine
Type:
Completing The Challenge
The Goal:
The password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by user bandit14. For this level, you don’t get the next password, but you get a private SSH key that can be used to log into the next level. Note: localhost is a hostname that refers to the machine you are working on
The Solution:
- ssh -i sshkey.private bandit14@localhost
the above command is use because we already have the private key. private keys should be used very carefully. Since we are already on the machine that hosts Bandit Over The Wire, we don't need to call the correct name, localhost will means the machine talks to itself. I don't know why, but specifying a port here caused issues. My assumption is the profiles is listening for connections on port 22 not port 2220 at least internally/private key connections
- type yes and ENTER when prompted
after verifying you are bandit14:
- cat /etc/bandit_pass/bandit14
- 4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e
Comments
Post a Comment