diff --git a/espilon_bot/components/core/gprs.c b/espilon_bot/components/core/gprs.c index a2aeba1..be36983 100644 --- a/espilon_bot/components/core/gprs.c +++ b/espilon_bot/components/core/gprs.c @@ -13,7 +13,6 @@ #include "utils.h" /* CONFIG_*, base64, crypto */ #include "command.h" /* process_command */ -#include "crypto.h" /* c2_decode_and_exec */ #ifdef CONFIG_NETWORK_GPRS diff --git a/tools/c2/README.md b/tools/c2/README.md index 2b0a76b..aee7de0 100644 --- a/tools/c2/README.md +++ b/tools/c2/README.md @@ -6,6 +6,8 @@ ```md +- Add requierements.txt + - Implementer la coexistence entre multiflasher fichier (valid-id.txt - separator "\n" - C2 will only authorize device who are register in 'valid-id.txt' or add c2 command style 'authorizeId ' and he will be add into id list & valid-id.txt file) diff --git a/tools/c2/c3po.py b/tools/c2/c3po.py index 6d2b1c1..1fe07a4 100644 --- a/tools/c2/c3po.py +++ b/tools/c2/c3po.py @@ -1,10 +1,3 @@ -#!/usr/bin/env python3 -import socket -import threading -import re -import sys -import time # Added missing import - #!/usr/bin/env python3 import socket import threading diff --git a/tools/c2/requirements.txt b/tools/c2/requirements.txt new file mode 100644 index 0000000..2844bec --- /dev/null +++ b/tools/c2/requirements.txt @@ -0,0 +1,2 @@ +pycryptodome>=3.15.0 +protobuf>=4.21.0