Ecosyste.ms: Awesome

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

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: 3 months ago
JSON representation

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

Lists

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