Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nextcloud/php-static-scanner-instrumentalization

Instrumentalizes the Nextcloud PHP code to be scanned with static PHP source code scanners
https://github.com/nextcloud/php-static-scanner-instrumentalization

Last synced: 5 days ago
JSON representation

Instrumentalizes the Nextcloud PHP code to be scanned with static PHP source code scanners

Awesome Lists containing this project

README

        

# PHP Static Scanner Instrumentalization

Static security scanners usually are not clever enough to detect our injection of parameters in the Nextcloud source code.

This instrumentalization script loops over a given directory and instrumentalizes the source code by directly injecting
a `$_GET` on code related to the Nextcloud appframework. So the original code would look like:

```php