diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-19 12:23:44 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-19 12:23:44 -0300 |
commit | 2d1e985d2bea59ef4d9712f770474c1d9750f593 (patch) | |
tree | 82df44d054ef70b0b98dd32aee9b2dcfa00b6d10 /usr/local/bin/viconfig | |
parent | 8aca755afeb815f99ab4ca5ddda769124f965d4a (diff) | |
download | pfsense-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