- Contains various features, bugFixes / debug for drupal core / modules
composer require alptech/wip;
cp vendor/alptech/wip/test.php test.php;
Then run code sample :
php test.php '{"d":{"e":[4,5]}}' a=1 b=2 --c=3 --e=<scriptwillEvaluateAllThoseParametersAs_HTTP_GET | jq;
# or
http://127.0.0.1/test.php?a=1&b=3&c=sleep,GET_HOST_NAME,drop,truncate,delete,cast(,ascii(,char(,<script,<ifram,<img
- Conf file is located at conf.php ( duplicated from default.conf ) at bootstrap
-
In order to use a simple request firewall :
if (fun::$h != 'cli') {// Runs firewall in HTTP mode, try uploading a .php file, or some Obvious Injection Patterns $blocked = fun::firewall(); if ($blocked) die($blocked); }
-
Copy vendor/alptech/wip/alptech.php to your directory root in order to test some things like :
- /alptech.php # loads framework, migrations, and debugs a catched error, then edit conf.php file which is a replica of default.conf.php ( mysql_user, password and database)
- /alptech.php?a=logViewer& # in order to see those cumulated errors
- As it runs migrations and copies conf.php file which is the one where you want to place your settings, parameters, hostname etc ..
© 2023 Alptech Technologies