From c75a49db2bedd2e17cb96a9195edfaec34ee6fc9 Mon Sep 17 00:00:00 2001 From: KeoOp <94304289+NaxnN@users.noreply.github.com> Date: Thu, 8 Jun 2023 13:15:47 +0800 Subject: [PATCH] Update screen sessions hijacking --- linux-hardening/privilege-escalation/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linux-hardening/privilege-escalation/README.md b/linux-hardening/privilege-escalation/README.md index d0376ec2d..1acf8ee6a 100644 --- a/linux-hardening/privilege-escalation/README.md +++ b/linux-hardening/privilege-escalation/README.md @@ -1249,15 +1249,18 @@ In **newest versions** you will be able to **connect** to screen sessions only o ```bash screen -ls +screen -ls / # Show another user' screen sessions ``` ![](<../../.gitbook/assets/image (130).png>) + **Attach to a session** ```bash screen -dr #The -d is to detach whoever is attached to it screen -dr 3350.foo #In the example of the image +screen -x [user]/[session id] ``` ## tmux sessions hijacking