Skip to content

indrarahul/Escape-Python-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Escape Python Restricted Shell

Introduction

What is a restricted shell? A restricted shell is a shell that restricts some of the commands or "block" the environment variables like SHELL,PATH,USER. Some restricted shells blocks commands with / or the redirecting outputs like >, >>.

But why to create a restricted shell in first place?

  • To remain secured from Hackers (bad ones :P).
  • To improve system's security.
  • To protect system from dangerous commands.
  • To use in CTF Challenges.

What this project is all about ?

  • There are 4 restricted python shells I have created, with restricting ['import','eval','compile'], ['import','exec','compile'], ['import','exec','eval'] & ['import','exec','eval','compile'].

Copyright Rahul Indra

About

Learn how to Escape python Shell.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages