risinek / esp32-wifi-penetration-tool

Exploring possibilities of ESP32 platform to attack on nearby Wi-Fi networks.
https://risinek.github.io/esp32-wifi-penetration-tool/
MIT License
1.77k stars 266 forks source link

error on build wih idf.py #93

Open daklon1 opened 4 months ago

daklon1 commented 4 months ago

idf.py build output - Compilation failed because wsl_bypasser.h (in "wsl_bypasser" component) includes esp_wifi_types.h, provided by esp_wifi component(s). However, esp_wifi component(s) is not in the requirements list of "wsl_bypasser". To fix this, add esp_wifi to REQUIRES list of idf_component_register call in /home/user/Desktop/esp32-wifi-penetration-tool/components/wsl_bypasser/CMakeLists.txt. please help

zanderp commented 1 month ago
idf_component_register(
    SRCS "wsl_bypasser.c"
    INCLUDE_DIRS "interface"
    REQUIRES "esp_event" "esp_wifi"
)
target_link_libraries(${COMPONENT_LIB} -Wl,-zmuldefs)
zanderp commented 1 month ago

https://github.com/risinek/esp32-wifi-penetration-tool/pull/61/files