mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-24 21:53:54 +00:00
Merge pull request #652 from NaxnN/patch-5
Update screen sessions hijacking
This commit is contained in:
commit
0fa6413739
1 changed files with 3 additions and 0 deletions
|
@ -1249,15 +1249,18 @@ In **newest versions** you will be able to **connect** to screen sessions only o
|
|||
|
||||
```bash
|
||||
screen -ls
|
||||
screen -ls <username>/ # Show another user' screen sessions
|
||||
```
|
||||
|
||||
![](<../../.gitbook/assets/image (130).png>)
|
||||
|
||||
|
||||
**Attach to a session**
|
||||
|
||||
```bash
|
||||
screen -dr <session> #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
|
||||
|
|
Loading…
Reference in a new issue