# Arrexel/phpbash

A semi-interactive PHP shell compressed into a single file.

Repository: https://github.com/Arrexel/phpbash
Canonical: https://ross.abutalabs.com/products/phpbash
Language: PHP
License: Apache-2.0
License Family: permissive
Last push: 2018-02-14T18:30:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3200, "days_push": 3122, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1102, forks 200 (observed 2026-08-28T04:03:35.834896+00:00)

## What it is
phpbash is a standalone, semi-interactive web shell written in PHP and packaged as a single file. It is designed to assist penetration testers when traditional reverse shells are not possible, providing a browser-based terminal with command history and file upload.

## Use cases
- get a shell on a target during a penetration test when reverse shells are blocked
- run commands on a compromised web server through a browser
- upload files to a target web server via a web shell
- maintain a semi-interactive terminal session over HTTP POST requests
- drop a single-file shell on a PHP host for quick access

## When to choose
- you need a web shell that requires only one PHP file
- reverse shells are not possible in the target environment
- you want a Kali-style terminal interface in the browser with command history and file upload

## When to avoid
- you need a fully interactive shell with PTY support
- the target does not allow shell_exec or similar PHP functions
- you need a maintained tool with recent updates or support for modern PHP

## Facets
- artifact type: application
- maturity: maintenance
- function: security, cli, file-upload
- domain: penetration-testing, security, web-development
- platform: php, browser
- tags: web-shell, pentest, reverse-shell-alternative, single-file, web-server, linux

## Member repositories
- Arrexel/phpbash (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:35.834896+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:45:35.117601+00:00, confidence not recorded.
  - readme: https://github.com/Arrexel/phpbash (fetched 2026-08-28T04:03:35.834896+00:00, sha 8d188180996d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
