Skip to main content

Toolkit for RCE testing, command execution, and file enumeration

Project description

LetsTry

A powerful single-file Python toolkit for Remote Code Execution (RCE) testing, file and directory enumeration, and Linux command execution.

🚨 For educational and authorized testing purposes only.


🔧 Features

  • ✅ List files, folders, and recursively enumerate directories
  • ✅ Run Linux commands and capture output
  • ✅ Execute system-level calls
  • ✅ Use glob, pathlib, and os modules together
  • ✅ Optional socket callback support for RCE testing

📦 Installation

pip install letstry

🚀 Usage

import letstry

# Run Linux command
print(letstry.run_command("uname -a"))

# List all files in /etc
print(letstry.list_files("/etc"))

# Recursive listing using pathlib
print(letstry.scan_pathlib("/var/log"))

# Run a command using os.system
letstry.run_os_system("ls -l")

# Send a callback to a listener
letstry.send_callback("192.168.1.100", 4444, "Ping from exploited box")

# Host information
print(letstry.get_host_info())

📁 Module Functions

📂 File Enumeration

  • list_all(path=".")
  • list_files(path=".")
  • list_dirs(path=".")
  • recursive_glob(path=".", pattern="*")
  • scan_pathlib(path=".")

⚙️ Command Execution

  • run_command(cmd)
  • run_os_system(cmd)
  • safe_eval(code) (⚠️ Dangerous — use for test only)

🌐 Network Utilities

  • get_host_info()
  • send_callback(ip, port, msg)

⚠️ Disclaimer

This tool is intended only for ethical hacking, penetration testing, or system administration on systems you have explicit permission to test. Any misuse is strictly prohibited and the author assumes no responsibility for illegal usage.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

letstry-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

letstry-0.1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file letstry-0.1.1.tar.gz.

File metadata

  • Download URL: letstry-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for letstry-0.1.1.tar.gz
Algorithm Hash digest
SHA256 50d1adedf80181d5fbfccf34e41503c4f6314ee535b2bab1cdf07b13b00fc9d5
MD5 1b8b47929e26f2e5ba29584775ee805c
BLAKE2b-256 b785e589a932f7670b0e4b386ea37969fa47b03102c17f1e7ad7fb3f4291b69b

See more details on using hashes here.

File details

Details for the file letstry-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: letstry-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for letstry-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8ee3c23a166f664095d21be0611f0ce45b5169081e5bbd8df1ae7214ab7f84c7
MD5 e4975866588c3a0a8661b6cfe3608cd5
BLAKE2b-256 f5fe95891c64d5748705faeaa62cdeaa6e6ca3b7d040c2836580a103a80e2f40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page