Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Testing: suhosin.mail.protect=2 and extra headers contain Cc: --SKIPIF-- <?php in..
Decoded Output download
--TEST--
Testing: suhosin.mail.protect=2 and extra headers contain Cc:
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
suhosin.log.sapi=255
suhosin.log.stdout=0
suhosin.log.script=0
suhosin.log.syslog=0
suhosin.mail.protect=2
sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true)
--FILE--
<?php
var_dump(mail("to", "subject", "msg", "Cc: me"));
?>
--EXPECTF--
ALERT - mail() - CC: headers aren't allowed in the headers parameter. (attacker 'REMOTE_ADDR not set', file '%s', line 2)
bool(false)
Did this file decode correctly?
Original Code
--TEST--
Testing: suhosin.mail.protect=2 and extra headers contain Cc:
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
suhosin.log.sapi=255
suhosin.log.stdout=0
suhosin.log.script=0
suhosin.log.syslog=0
suhosin.mail.protect=2
sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true)
--FILE--
<?php
var_dump(mail("to", "subject", "msg", "Cc: me"));
?>
--EXPECTF--
ALERT - mail() - CC: headers aren't allowed in the headers parameter. (attacker 'REMOTE_ADDR not set', file '%s', line 2)
bool(false)
Function Calls
None |
Stats
MD5 | efed145df6f3766c0a76e1fda61c6e88 |
Eval Count | 0 |
Decode Time | 97 ms |