How hackgodybj/symbian works
This repository is a small, script-based toolkit rather than a layered application. Its architecture is “flat”: each .sh file is an independent entrypoint for a specific penetration-testing task, with functions.sh acting as the only obvious shared code module.
1. Purpose and scope
- The repo is a Bash/Shell automation bundle for penetration testing.
- It focuses on post-exploitation operations: shell access, shell stabilization, file transfer, persistence, and host enumeration.
2. Core execution model
- Every capability is delivered as a shell script, so the runtime boundary is the local shell environment plus whatever utilities are available on the remote host.
- There is no server, daemon, package manager, or compiled component visible in the tree.
3. Shared helper layer
- functions.sh is the central reusable layer.
- The rest of the scripts likely source it for common routines such as formatting, environment checks, command construction, or repeated shell logic.
4. Remote shell acquisition
- revshell_nc.sh, python_revshell.sh, and python3_revshell.sh represent different reverse-shell launch paths depending on what is installed on the target.
- These scripts are alternative adapters around the same architectural goal: create an interactive foothold from target back to operator.
5. Shell stabilization
- stabilize_shell.sh and stabilize_zsh_shell.sh handle the transition from a basic reverse shell to a more usable interactive session.
- This subsystem is about terminal ergonomics and session quality, not new access creation.
6. File transfer subsystem
- download_nc.sh, upload_nc.sh, and wget_upload.sh provide transfer channels for moving payloads or collected data.
- The design suggests multiple fallback mechanisms, chosen according to what tools exist on the target.
7. Persistence mechanisms
- add_cronjob.sh and persist_ssh.sh are persistence-oriented scripts.
- One targets scheduled task persistence via cron; the other targets SSH-based persistence or access retention.
- These are separate from initial access and from file transfer, showing a distinct “maintain foothold” subsystem.
8. Enumeration and discovery
- lenum.sh appears to be a Linux enumeration helper.
- Architecturally, this is the reconnaissance/post-exploitation discovery layer: gather system facts after access is obtained.
9. Tooling dependencies
- The scripts are built around standard Unix tooling: Bash, netcat, Python, wget, SSH, cron, and optionally zsh.
- This makes the framework portable across minimal Linux environments, but also means capabilities depend heavily on what is already installed on the target.
10. Data flow between operator and target
- Primary flow is operator-to-target for delivery of commands, payloads, and transfer utilities.
- Secondary flow is target-to-operator for reverse-shell callbacks and exfiltration of command output or files.
- Persistence scripts modify the target system so access survives session loss.
11. Repository shape
- The repo is organized by task, not by abstraction or application layer.
- Each script is a tool in a toolkit; there is little evidence of internal orchestration beyond shared helper functions.
12. How to draw the architecture
- Draw one boundary for the operator environment and one for the compromised/remote host.
- Place the scripts as task-specific modules on the operator side, with arrows to the target for shell spawn, stabilization, transfer, and persistence.
- Show functions.sh as a shared helper used by multiple scripts, not as an independent service.
In short: this is a lightweight pentest automation collection centered on shell-based post-exploitation workflows, with modular scripts for access, interaction, transfer, persistence, and host enumeration.
Main entry points: functions.sh Shared funcs · revshell_nc.sh Netcat shell · python_revshell.sh Python shell · python3_revshell.sh Python3 shell
Components 14
Operator toolkit
Local shell scripts used by the operator to gain access, interact with the session, move files, and establish persistence.
- Operator shell · Local execution environment for the Bash toolkit and available command-line utilities.
- Shared funcs · Common shell helpers sourced by multiple scripts.
functions.sh - Netcat shell · Reverse-shell entrypoint using netcat.
revshell_nc.sh - Python shell · Reverse-shell entrypoint using Python.
python_revshell.sh - Python3 shell · Reverse-shell entrypoint using Python 3.
python3_revshell.sh - Stabilize shell · Improves an unstable reverse shell into a more usable interactive session.
stabilize_shell.sh - Stabilize zsh · Upgrades or reconfigures a session for zsh-based interaction.
stabilize_zsh_shell.sh - Download file · Pulls files from the target using netcat-based transfer.
download_nc.sh - Upload file · Pushes files to the target using netcat-based transfer.
upload_nc.sh - Wget upload · Transfers payloads or data using wget-based retrieval on the target.
wget_upload.sh - Cron persistence · Establishes scheduled-task persistence via cron.
add_cronjob.sh - SSH persistence · Adds or maintains access using SSH-based persistence.
persist_ssh.sh - Linux enum · Post-exploitation Linux host enumeration script.
lenum.sh
Remote host
Compromised Linux host that receives reverse shells, transfers, enumeration commands, and persistence changes.
- Target host · Remote Linux host where shells, transfers, enumeration, and persistence operate.
Connections 22
- Shared funcs → Netcat shell: shared helpers · Reverse-shell script reuses common shell routines.
- Shared funcs → Python shell: shared helpers · Python reverse-shell script reuses common shell routines.
- Shared funcs → Python3 shell: shared helpers · Python 3 reverse-shell script reuses common shell routines.
- Shared funcs → Stabilize shell: shared helpers · Shell stabilization script reuses common shell routines.
- Shared funcs → Stabilize zsh: shared helpers · zsh stabilization script reuses common shell routines.
- Shared funcs → Download file: shared helpers · Netcat download script reuses common shell routines.
- Shared funcs → Upload file: shared helpers · Netcat upload script reuses common shell routines.
- Shared funcs → Wget upload: shared helpers · Wget transfer script reuses common shell routines.
- Shared funcs → Cron persistence: shared helpers · Cron persistence script reuses common shell routines.
- Shared funcs → SSH persistence: shared helpers · SSH persistence script reuses common shell routines.
- Shared funcs → Linux enum: shared helpers · Enumeration script reuses common shell routines.
- Netcat shell → Target host: spawn shell · Creates a reverse-shell callback on the remote host.
- Python shell → Target host: spawn shell · Creates a reverse-shell callback on the remote host.
- Python3 shell → Target host: spawn shell · Creates a reverse-shell callback on the remote host.
- Stabilize shell → Target host: upgrade session · Improves an existing interactive shell on the remote host.
- Stabilize zsh → Target host: upgrade session · Improves an existing zsh-capable shell on the remote host.
- Download file → Target host: pull files · Transfers data from the remote host to the operator.
- Upload file → Target host: push files · Transfers payloads from the operator to the remote host.
- Wget upload → Target host: retrieve payload · Uses wget on the remote host to fetch operator-provided content.
- Cron persistence → Target host: modify persistence · Installs scheduled access on the remote host.
- SSH persistence → Target host: modify access · Sets up SSH-based persistence or retention on the remote host.
- Linux enum → Target host: enumerate host · Collects system and environment information from the remote host.