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