Permalink
Browse files

workin

  • Loading branch information...
1 parent 3cfa6d6 commit e710494b646735465f336807330c892ded8b1ff2 @airencracken committed Feb 27, 2012
Showing with 14 additions and 1 deletion.
  1. +13 −1 commandcheck.sh
  2. +1 −0 readme
View
@@ -3,11 +3,23 @@
echo -e "Check for Malicious/Strange Folders\n"
echo $PATH
+echo -e "Is the path correct?\n[y/n]\nIf not, enter the correct path.\n"
+
+read pathchk
+
+if [[ $pathchk = [yY] ]]
+ then
+ echo -e "Enter the correct path in this format PATH=\"/some/dir:/other/dir\""
+ read newpath
+ echo $newpath
+ export $newpath
+fi
+
echo -e "You're checking $1\n"
argpath=`which $1`
echo -e "Do these match? Do they seem sane?\n"
which $1
-echo "\n"
+echo -e "\n"
whereis $1
echo -e "Does the filetype seem correct?\n"
View
@@ -0,0 +1 @@
+Some small scripts and such that are useful to a ccdc blue team member working on a *nix system, with an emphasis on GNU/Linux.

0 comments on commit e710494

Please sign in to comment.