Skip to content

ShellPass is a powerful Bash script designed to enhance the security and functionality of your command-line experience.

License

Notifications You must be signed in to change notification settings

Symbolexe/ShellPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ShellPass: Advanced Shell Script for Secure Command Execution and Evasion

2024-07-17.16-22-34.mp4

Overview

ShellPass is a sophisticated Bash script engineered to enhance security and stealth during command-line operations. This tool is particularly useful for penetration testers and security professionals who need to execute commands without leaving traces in command history, ensuring operational security and reducing the risk of detection.

Features

  • History Evasion: Completely disables command history logging, preventing forensic analysis of executed commands.
  • Auto-Completion: Implements TAB-based command auto-completion to streamline command input.
  • Privilege Escalation Handling: Transparently attempts to re-execute commands with sudo if initial execution fails due to insufficient permissions.
  • Visual Enhancement: Utilizes colored prompts for better readability and quick visual parsing of terminal output.
  • Seamless Directory Navigation: Maintains full shell functionality, allowing easy navigation and file system interaction.

Installation

  1. Clone the repository:
git clone https://github.com/symbolexe/ShellPass.git
  1. Navigate to the directory:
cd ShellPass

( this tool hae 777 permission )

Usage

Execute the script:

./ShellPass.sh

You will enter a secure shell environment designed for stealth operations. Commands will not be logged in history. Type quit_shell to exit the secure shell. Example

Welcome to the secure shell. Type 'quit_shell' to exit.
Enter your command: ls -la
Enter your command: sudo apt-get update
Enter your command: cd /etc
Enter your command: cat passwd
Enter your command: quit_shell
Exiting shell...

Technical Details

  • History Control: The script unsets all history-related environment variables and modifies history file permissions to read-only, ensuring no commands are logged.
  • Command Execution: Commands are executed with a leading space to evade history logging. If a command fails due to permissions, it is retried with sudo.
  • Auto-Completion: Bash bind is used to enable TAB-based auto-completion.
  • Colored Prompts: Custom PS1 settings are applied to enhance prompt visibility.

About

ShellPass is a powerful Bash script designed to enhance the security and functionality of your command-line experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages