mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2024-11-10 06:34:17 +00:00
Update Knife.md
This commit is contained in:
parent
32c9252c71
commit
4bfe2a2344
1 changed files with 3 additions and 5 deletions
|
@ -50,11 +50,9 @@ We can grab the id_rsa from `james`'s home folder
|
|||
|
||||
<img src="https://imgur.com/pVk1WyN.png"/>
|
||||
|
||||
But the ssh key doesn't work, so replace the public ssh key
|
||||
But the ssh key doesn't work, so let's add our ssh public key to `authroized_keys` <br/>
|
||||
|
||||
<img src="https://imgur.com/ZaGkWz3.png"/>
|
||||
|
||||
Also add that public key to `authorized_keys`
|
||||
<img src="https://i.imgur.com/VFcXaLA.png"/>
|
||||
|
||||
<img src="https://imgur.com/RiIuKHY.png"/>
|
||||
|
||||
|
@ -78,4 +76,4 @@ So I added my public ssh key in `/root/.ssh/authorized_keys/` . we could have go
|
|||
|
||||
Getting a reverse shell
|
||||
|
||||
<img src="https://i.imgur.com/dwXMO4J.png"/>
|
||||
<img src="https://i.imgur.com/dwXMO4J.png"/>
|
||||
|
|
Loading…
Reference in a new issue