Update Knife.md

This commit is contained in:
ARZ 2021-05-24 16:53:11 +05:00 committed by GitHub
parent 32c9252c71
commit 4bfe2a2344
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"/>