Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/p0dalirius/symfonydumpsource

A python script to automatically dump files and source code of a Symfony server in debug mode.
https://github.com/p0dalirius/symfonydumpsource

debug file-read profiler source-code symfony

Last synced: 17 days ago
JSON representation

A python script to automatically dump files and source code of a Symfony server in debug mode.

Awesome Lists containing this project

README

        

![](./.github/banner.png)


A python script to automatically dump files and source code of a Symfony server in debug mode.


GitHub release (latest by date)

YouTube Channel Subscribers


## Features

+ [x] Dump files from the remote server in a local directory.
+ [x] Multithreaded.
+ [x] Specify custom list of file paths to dump with option `--file-list`.
+ [x] Automatically extract file paths from debug page

## Demonstration

![](./.github/example.png)

## Usage

```
$ ./SymfonyDumpSource.py -h
SymfonyDumpSource.py v1.1 - by @podalirius_

usage: SymfonyDumpSource.py [-h] [-v] [--debug] [--no-colors] -t TARGET [-D DUMP_DIR] [-f FILE_LIST] [-T THREADS]

options:
-h, --help show this help message and exit
-v, --verbose Verbose mode. (default: False)
--debug Debug mode.
--no-colors No colors mode.
-t TARGET, --target TARGET
Target symfony instance.
-D DUMP_DIR, --dump-dir DUMP_DIR
Directory where the dumped files will be stored.
-f FILE_LIST, --file-list FILE_LIST
File containing symfony paths.
-T THREADS, --threads THREADS
Number of threads (default: 5)
```

## References
- [https://symfony.com/doc/current/profiler.html](https://symfony.com/doc/current/profiler.html)