SkillAgentSearch skills...

RestrictMyShell

Restricted Shell Running on Python2.7

Install / Use

/learn @Charliedean/RestrictMyShell
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

RestrictMyShell

Restricted Shell Running on Python2.7

Getting Started

  1. git clone https://github.com/Charliedean/RestrictMyShell.git
  2. cd RestrictMyShell
  3. ./RestrictMyShell.py should create config file
  4. nano /etc/restrictmyshell and add whitelisted commands on newlines
  5. cp ./RestrictMyShell.py /bin/restrictmyshell
  6. chmod +x /bin/restrictmyshell
  7. nano /etc/passwd to enable restrictmyshell
  • Example: test:/home/test:/bin/restrictmyshell

Contributers:

  • Grant Willcox
View on GitHub
GitHub Stars6
CategoryDevelopment
Updated9y ago
Forks2

Languages

Python

Security Score

55/100

Audited on Sep 8, 2016

No findings