summaryrefslogtreecommitdiffstats
path: root/usr/local/bin/viconfig
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-06-19 12:23:44 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-06-19 12:23:44 -0300
commit2d1e985d2bea59ef4d9712f770474c1d9750f593 (patch)
tree82df44d054ef70b0b98dd32aee9b2dcfa00b6d10 /usr/local/bin/viconfig
parent8aca755afeb815f99ab4ca5ddda769124f965d4a (diff)
downloadpfsense-2d1e985d2bea59ef4d9712f770474c1d9750f593.zip
pfsense-2d1e985d2bea59ef4d9712f770474c1d9750f593.tar.gz
Fix status_rrd_graph_img.php and also improve it:
- Remove escapeshellarg that broke command line - Only remove dangerous chars to avoid command injection - Replace all `hostname` calls by php_uname('n') - Replace all `date` calls by strftime() - Add $_gb to collect possibly garbage from exec return
Diffstat (limited to 'usr/local/bin/viconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud