Architecture of assetnote/php2shell-scanner
assetnote/php2shell-scanner is 3 source files holding 84 symbols across 1 module, written mainly in Dockerfile, Python. The largest module is root, with 2 files.
How php2shell-scanner fits together
Install the dependencies with pip install -r requirements.txt, or build the Docker image from the Dockerfile. Then run scanner.py with -u for a single URL or -l for a file of hosts. For each tested path, scanner.py sends the control request and up to three probes, stops once the verdict is settled, and prints results to the terminal. With -o, it writes vulnerable hosts to a JSON file.
Largest modules
- root: 2 files and 1,168 lines of code
Languages
By file count: Dockerfile 1 file, Python 1 file.
Documentation
Repowise documents php2shell-scanner in 14 pages generated from the source.
More on php2shell-scanner: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos