From 096e7faa6a5e21e5416a7c8c484e27acd4636a66 Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Mon, 27 Aug 2018 13:56:44 +0200 Subject: Add whitelist support for php's wrappers --- doc/source/config.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/source/config.rst') diff --git a/doc/source/config.rst b/doc/source/config.rst index 14626ce..e209ecb 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -191,6 +191,17 @@ disable_xxe sp.disable_xxe.enable(); +Whitelist of stream-wrappers +^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +:ref:`Stream-wrapper whitelist ` allows +to explicitly whitelist some `stream wrappers `__. + +:: + + sp.wrappers_whitelist.list("file,php,phar"); + + Eval white and blacklist ^^^^^^^^^^^^^^^^^^^^^^^^ -- cgit v1.3