changeset 538:3247a742e3f8 draft

peer2anonet: Sun Jul 10 07:25:42 CDT 2011 - d3v1150m471c * security checks, whitespace removed after some data
author d3v1150m471c <d3v11@d3v1150m471c.ano>
date Sun, 10 Jul 2011 07:26:48 -0500
parents 8e8a01a680b4
children 7b9a87c560ef
files contrib/peer2anonet/README contrib/peer2anonet/peer2anonet
diffstat 2 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/peer2anonet/README	Sun Jul 10 07:16:47 2011 -0500
+++ b/contrib/peer2anonet/README	Sun Jul 10 07:26:48 2011 -0500
@@ -100,5 +100,7 @@
       * ported for autoconfig file pipes
       * some security checks created
 
+      Sun Jul 10 07:25:42 CDT 2011 - d3v1150m471c
+      * security checks, whitespace removed after some data
 
       
--- a/contrib/peer2anonet/peer2anonet	Sun Jul 10 07:16:47 2011 -0500
+++ b/contrib/peer2anonet/peer2anonet	Sun Jul 10 07:26:48 2011 -0500
@@ -52,18 +52,18 @@
           
 
 for CHECK in ${TEST[@]}; do
-[[ $CHECK == *'rm '* ]] && SECURE
-[[ $CHECK == *'mail '* ]] && SECURE
-[[ $CHECK == *'cp '* ]] && SECURE
-[[ $CHECK == *'mv '* ]] && SECURE
+[[ $CHECK == *'rm'* ]] && SECURE
+[[ $CHECK == *'mail'* ]] && SECURE
+[[ $CHECK == *'cp'* ]] && SECURE
+[[ $CHECK == *'mv'* ]] && SECURE
 [[ $CHECK == *'ipconfig'* ]] && SECURE
 [[ $CHECK == *'iwconfig'* ]] && SECURE
-[[ $CHECK == *'ping '* ]] && SECURE
-[[ $CHECK == *'make '* ]] && SECURE
+[[ $CHECK == *'ping'* ]] && SECURE
+[[ $CHECK == *'make'* ]] && SECURE
 [[ $CHECK == *'install'* ]] && SECURE
 [[ $CHECK == *'uninstall'* ]] && SECURE
-[[ $CHECK == *'map '* ]] && SECURE
-[[ $CHECK == *'su '* ]] && SECURE
+[[ $CHECK == *'map'* ]] && SECURE
+[[ $CHECK == *'su'* ]] && SECURE
 [[ $CHECK == *'sudo'* ]] && SECURE
 [[ $CHECK == *'$'* ]] && SECURE
 [[ $CHECK == *'!'* ]] && SECURE