Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/p0dalirius/symfonydumpsource
- Owner: p0dalirius
- Created: 2023-09-27T07:01:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-16T08:06:35.000Z (8 months ago)
- Last Synced: 2024-05-01T17:26:43.869Z (7 months ago)
- Topics: debug, file-read, profiler, source-code, symfony
- Language: Python
- Homepage: https://podalirius.net/
- Size: 345 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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.
## 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)