Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
clearshell
is a Python package designed to decrypt bash scripts obfuscated with eval
. This tool allows you to easily decrypt these scripts either from the command line or within your Python code.
eval
.You can install the clearshell
package using pip
:
pip install clearshell
To decrypt a bash script and save the output:
clearshell --decrypt input_file.sh decrypted_file.sh
To decrypt a bash script and move the decrypted file to a specified directory:
clearshell --decrypt input_file.sh decrypted_file.sh --move /path/to/destination
Basic Decryption:
clearshell --decrypt obfuscated.sh decrypted.sh
Decryption with Move:
clearshell --decrypt obfuscated.sh decrypted.sh --move /path/to/destination
Thank you for using clearshell
. We hope it helps you in your scripting and security endeavors. If you have any feedback or suggestions, feel free to contribute to the project on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.
We welcome contributions! If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
Developed by Fidal.
Thank you for using clearshell
! Have a great day!
FAQs
A package to decrypt bash scripts obfuscated with eval.
We found that clearshell demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.