Forum Discussion
randomusername563
8 hours agoNew Member I
AI Red Teaming: Lateral Movement and Privilege Escalation – Demonstrate Your Skills
Hello,
I completed all the questions but I'm stuck with N.6: "What is the token in the service account's home directory on the database host?"
I got the ssh key.
I got the user.
I got the host.
chmod 600 key DONE
Got the ssh key in 2 ways: by the chatbot and with:
CREATE TABLE files(filename text); COPY files FROM '/var/lib/postgresql/.ssh/id_rsa'; SELECT * FROM filesBut I'm always getting this error when I try to ssh:
Load key "key": error in libcrypto
I tried to fix the format of the key without success. May be the key on the exercise corrupted?
This is the key that I got:
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACDEKK7X95Yx0arxuFpnbCOazXs94GtBxZEmZEwOfjkfWQAAAKBu/iwgbv4s
IAAAAAtzc2gtZWQyNTUxOQAAACDEKK7X95Yx0arxuFpnbCOazXs94GtBxZEmZEwOfjkfWQ
AAAEBmm/CMDy59G26K1pC9J2l+PKqcTL89F4kmh/5Idt9hd8Qortf3ljHRqvG4WmdsI5rN
nez3ga0HFkSZkTA5+OR9ZAAAAFm9yY2hpZC1zdmNAcG9zdGdyZXMtZGIBAgMEBQYH
-----END OPENSSH PRIVATE KEY-----Thanks
No RepliesBe the first to reply