πŸ”
OffSec Wiki
search
⌘Ctrlk
πŸ”
OffSec Wiki
  • Tools
  • Information Gathering
  • Exploitation
  • Cracking
  • Enumeration
  • API Sec
  • Web Pentesting
  • Linux
  • Wordpress
  • Post Exploitation
    • File Transfers
    • Creds Dumping
    • Linux
      • Password Gathering from Config Files
      • Linux Priv Esc
      • Linux Priv Esc - TCM Course
      • Sudo NoPasswd with Nano
      • Priv Esc with MySQL
      • Jailed Shell Escape
      • NetCat to Rev Shell
    • Windows
    • Buffer Overflow
    • Cloud Priv Esc
    • LXC Privesc
  • Persistence
  • Powershell
  • RED Teaming
  • Purple Teaming
  • Reverse Engineering
  • Pivoting
  • Metasploit
  • Networking
  • OSINT
  • Active Directory
  • Cloud
  • Containers
  • WIFI
  • Buffer Overflow
  • Code Review
  • Routers
  • Automotive CyberSec
  • Threat Modeling
  • Hardware & Lock Bypassing
  • Scripting
  • General PT Methodology
  • Blockchain
  • Challenges
  • Flipper
  • CERTS
  • Notes
  • Hacking Kubernetes
  • CV
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Post Exploitationchevron-right
  2. Linux

Jailed Shell Escape

Resources:

http://netsec.ws/?p=337netsec.wschevron-right
LogoBreaking Out of "Jail" : Restricted Shellairnesstheman.blogspot.cachevron-right
Escaping Restricted Shellsecurebean.blogspot.cachevron-right
LogoOffensive Security Training, Courses & CertificationsSANS Institutechevron-right

Escape a restricted shell with echo command:

echo os.system('/bin/bash')

ssh <username>@<ip> -t "bash --noprofile"

PreviousPriv Esc with MySQLchevron-leftNextNetCat to Rev Shellchevron-right

Last updated 3 years ago