What Happens In a "Shell Upgrade"?

Veröffentlicht am: 07 Juli 2022
auf dem Kanal: 0xdf
10,161
511

When I get a reverse shell, the first thing I typically do it "upgrade it". That means running script or Python to get a TTY, then backgrounding it and running stty raw -echo. Let's figure out what all of that is doing.

Check out some other "Hacking Foundations" videos:
Exploring bash Reverse Shell -    • Exploring bash Reverse Shell  
Exploring mkfifo / nc Reverse Shell -    • Exploring mkfifo / nc Reverse Shell  

[00:00] Introduction
[01:03] What is a TTY (PTY)?
[02:24] Examining TTYs in a terminal, using stty
[05:22] "Raw" and "Cooked" modes, demo with tmux
[08:12] Starting a TTY - local terminal, SSH, script, Python
[11:37] Walk-through of un-upgraded shell
[12:58] Walk-through of shell upgrade - Initiating TTY on target
[13:32] Adjusting local TTY to raw mode
[14:16] Looking at reset command
[17:18] Examples of reverse shell in terminal
[20:53] Summary


Auf dieser Seite können Sie das Online-Video What Happens In a "Shell Upgrade"? mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer 0xdf 07 Juli 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 10,161 Mal angesehen und es wurde von 511 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!