🐧
Fail
  • Fail
    • Summary
  • Enumeration
    • TCP
    • UDP
    • Web Services
      • Nikto
      • Dirb Extensions
      • Dirsearch
      • goBuster
    • Other Services
      • SSH
      • RSYNC
  • Exploitation
  • Priv Escalation
Powered by GitBook
On this page

Exploitation

PreviousRSYNCNextPriv Escalation

Last updated 2 years ago

I copied my own idrsa.pub key and placed it in an authorizedkeys file. I later uploaded the file to a folder using the following syntax.

╰─ rsync -av /home/kali/Fail/authorized_keys rsync://192.168.143.126/fox/.ssh/

I changed the permissions of the id_rsa.pub to 400 and we were able to log in.