From c388b40c7c0794cc2bb1bea1e840de9a93256bde Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Fri, 2 Aug 2013 10:58:28 +0200 Subject: [PATCH] :D:D --- main_tools/ExploitConfidencePass.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_tools/ExploitConfidencePass.sh b/main_tools/ExploitConfidencePass.sh index 35eadd2..d30ca62 100755 --- a/main_tools/ExploitConfidencePass.sh +++ b/main_tools/ExploitConfidencePass.sh @@ -175,7 +175,7 @@ print_info "[${BASENAME}] Save config in $OUTPUT_DIR_BASENAME/ExploitConfPass.cf #---------------# # Check Pass # #---------------# -if [ $( ${RES_CONF_DIR}/*.res 2> /dev/null | wc -l) -eq 0 ] +if [ $( ls ${RES_CONF_DIR}/*.res 2> /dev/null | wc -l) -eq 0 ] then print_error "[${BASENAME}] No Conf Pass res -> exit ExploitConfPass" if [ $CHECK -eq 1 ]; then print_log_file $ERRORFILE "No ConfPass res in ${RES_CONF_DIR}" ;fi -- 1.8.2.3