/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
curl
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/curl/tests/bug68089.phpt
--TEST-- Bug #68089 (NULL byte injection - cURL lib) --SKIPIF-- <?php include 'skipif.inc'; ?> --FILE-- <?php $url = "file:///etc/passwd\0http://google.com"; $ch = curl_init(); try { curl_setopt($ch, CURLOPT_URL, $url); } catch (ValueError $exception) { echo $exception->getMessage() . "\n"; } ?> Done --EXPECT-- curl_setopt(): cURL option must not contain any null bytes Done
Copyright ©2k19 -
Hexid
|
Tex7ure