diff --git a/Python_Files/pickler.py b/Python_Files/pickler.py index 20ffe2a..4151719 100644 --- a/Python_Files/pickler.py +++ b/Python_Files/pickler.py @@ -105,15 +105,15 @@ def main(): print("Usage: python3 pickler.py ") sys.exit(1) - filename = sys.argv[1] - result = detect_evil_twin(filename) + # filename = sys.argv[1] + # result = detect_evil_twin(filename) - # Write the result to a JSON file in the Captures directory - json_output_filepath = os.path.join(BASE_DIR, "../Captures", "flask_api.json") - with open(json_output_filepath, 'w') as json_file: - json.dump(result, json_file, indent=4) + # # Write the result to a JSON file in the Captures directory + # json_output_filepath = os.path.join(BASE_DIR, "../Captures", "flask_api.json") + # with open(json_output_filepath, 'w') as json_file: + # json.dump(result, json_file, indent=4) - print(f"\nOutput written to {json_output_filepath}") + # print(f"\nOutput written to {json_output_filepath}") if __name__ == "__main__": main() diff --git a/wifi_captuer.sh b/wifi_captuer.sh index 5ba88ba..20f516f 100644 --- a/wifi_captuer.sh +++ b/wifi_captuer.sh @@ -4,7 +4,7 @@ PIDFILE="/tmp/evil_twin/wifi_captuer_script.pid" # Ensure the directory exists -#mkdir -p "$(dirname "$PIDFILE")" +mkdir -p "$(dirname "$PIDFILE")" # Check if the PID file exists and the process is still running if [ -f "$PIDFILE" ] && kill -0 $(cat "$PIDFILE") 2>/dev/null; then