Git Product home page Git Product logo

esp32_hackingtool's Introduction

The Ultimate ESP32 Hacking Tool: Because sometimes you just need to be a little evil!

Looking to take down your neighbor's wifi network? Or just want to cause chaos at your local coffee shop? Or does your Boss pay you less than you deserve?

Look no further, because we have the perfect tool for you: the ESP32 hacking tool!

Features

CLI & Display version

  • WiFi Beacon Spammer: With our beacon spammer feature, you can flood the area with fake wifi signals and confuse the hell out of anyone trying to connect to a legitimate network.
  • WiFi Deauther: And when things get a little too boring, use our deauther function to disconnect someone from the internet in a flash. It's like a digital version of pulling the plug on their router. And no it is not a WiFi jammer, it is a deauther. Don't know the difference? just google script kiddie.
  • Captive Portal: Our captive portal feature allows you to redirect all incoming connections to a custom landing page, where you can collect login information. You can choose between a Google Login page and a McDonald's Free WiFi page. Why McDonald's? Because from now on you can earn McDonalds reward points as a fat but brave hacker for other people!
  • Evil Twin: Our Evil Twin attack creates a replica of another WiFi network which gets permanently deauthenticated as well, so you can't connect to the original network. If you now connect to the fake wifi, a fake router login page opens, telling you that the router password has expired. if you finally received the complex password of your 80-year-old neighbor, you can inform him that "0123456789" is not the safest password.
  • WiFi Scanner: Scan for nearby WiFi networks and their bssid, channels and signal strength.
  • BLE Spoof: Broke but want to flex with AirPods like a rich kid?? Fear not the ble spoof is the perfect flexing tool. Spoof Apple, Google, Samsung and Microsoft devices. (Some Apple Devices are even crashing)

CLI version only

  • HTTP-Request
  • ModBus-Request
  • UPD-Request
  • ARP-Request

CLI (Terminal) version

Experience an interface similar to a conventional Terminal. Your recent commands are stored and easily retrievable using the arrow keys and autocomplete can be achieved by pressing tab.

IMPORTANT NOTE: Ensure that your serial monitor is compatible with escape codes to guarantee accurate output display.

If you are Windows user (my condolences 🥲). CMD not displays output correctly. As an alternative, consider using Putty or a similar program. Instructions for Mac/Linux Users:

  • If you have esp-idf already installed, simply use idf.py monitor.
  • If not, I recommend using cu:
  1. Determine the serial port by entering ls /dev/cu* in the terminal.
  2. To open the serial monitor, type sudo cu -s 115200 -l <serial_port>.
  3. To exit the serial monitor, type ~..

Instructions for Windows Users:

  • First, download and install Putty.
  1. Identify your Serial COM Port in the device manager.
  2. In Putty, select 'Serial' as the connection type.
  3. Input your COM Port in the 'Serial line' field.
  4. Set the speed to 115200 and click 'Open' to start the session.

Demonstration

For the full video press on the gif or click this link

HackingTool ClI Demo

Handheld display version

image

How to flash firmware

If you know what you do, and even want to add custom features:

  1. download the esp idf toolchain (IMPORTANT: idf-version must be 4.3.2) and the esp32-hacking-tool
  2. connect your esp32 to your computer
  3. open a terminal and navigate to the esp32-hacking-tool folder
  4. run idf.py build flash

or just use the precompiled bin file and flash it with esptool

  1. connect your esp32 to your computer
  2. To make sure to "clean" your esp32 just run
    Mac/Linux: esptool.py -p /dev/cu."PORT" erase_flash
    Windows: esptool.py -p COM"PORT" erase_flash
  3. open a terminal and navigate to the esp32_hackingtool/precompiled_files folder and run following command:
    Mac/Linux: esptool.py -p /dev/cu.usbserial- -b 1200000 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x8000 partition-table.bin 0x1000 bootloader.bin 0x20000 hackingtool.bin
    Windows: esptool.py -p COM -b 1200000 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 4MB 0x8000 partition-table.bin 0x1000 bootloader.bin 0x20000 hackingtool.bin

or for newbies use this amazing website from Spacehuhn

  1. Download all files from esp32_hackingtool/precompiled_files folder.
  2. Open this Website.
  3. Press connect and choose your esp32 from the list
  4. Enter offset of 0x1000 for the bootloader.bin file
  5. Offset of 0x8000 for partition-table.bin
  6. And offset of 0x20000 hackingtool.bin
  7. Click PROGRAM

Hardware Requirements

  • You can use any ESP32 equipped with a minimum of 4MB of flash memory. External RAM is not required, as only internal RAM is utilized.
  • For the display version I used the TTGO T-Display AliExpress or if you are rich and impatient Amazon. Apparently, you can use probably every ESP32 board with an OLED display, simply change the pin definitions in the menuconfig.

Extra Information

The code is fully written in the ESP-IDF framework, with a little API, so you may easily add new features.

Since I am not allowed to code stuff like this at my job, I decided to create this project in my free time (If you want to support me you can buy me a coffee). I hope you enjoy it as much as I did creating it. If you have any questions or ideas, feel free to create issues or even better pull requests. I will try to answer them as soon as possible. If I have more time, I will add some more features to this project, here are some ideas:

Future plans

  • Create a simply version of the CLI without escape commands
  • Add POST, PUT... for networktools-request
  • Add ModBus Write for networktools-request
  • Add Port Scanner for networktools-request
  • Add Ping for networktools-request
  • Add IR-Module
  • Implement sniffer tools
  • Implement more bluetooth tools
  • Add a nfc module to read and write nfc tags

Disclaimer: This project is for educational purposes only. I am not responsible for any damage you cause with this tool. Use it at your own risk. No animals were harmed during the development of this project.

esp32_hackingtool's People

Contributors

kl0ibi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32_hackingtool's Issues

Make Standalone Tool with OLED

Hi, Kl0ibi!
I've been trying your project and It's insane, such a great project!

I'm still new for hacking with ESP32 and I want to make a standalone tool but for display I want to use OLED 128x64. I read that you mentioned this project can be used with OLED. But I don't know where to find "menuconfig" so I can change the pin from TTGO to OLED. Can you help me with that? Thanks in advance.

Question

Hello, there Hope you are doing well. I'm considering Trying to put this together myself, I was wondering if it's possible if you could attach an antenna to extend the range.

Hagl error during building phase

Hello ,

During the building phase of the project I am encountering an issue with hagl.c which is missing along other hagl files .
I did find the hagl library and added all the relevant files in the project suite but i am getting other errors:

image

Feature Request

Can you implant WEB UI on this project?
So, we can use esp32 without display...

Esp idf component error

No matter how i try add in cmake/dependency the error never goes. Added in photo. Sorry for dump question I'm noob. I'm building for esp32 s3
Uploading IMG20240714233740.jpg…

Project resolution

Sorry for the dumb question, but my esp display in only 128x64. Will lowering the resolution in the menuconfig help or am i just screwed?

I can't build project

When I build project it return

Executing action: all (aliases: build)
CMakeLists.txt not found in project directory

question

hi, first of all, i really like your project.

i am relatively new to coding etc. and i was wondering where i can define the pins if i use a display

New Feature Idea

Hi KI0ibi! Your project is perfect but i will like if you include a feature that would detect deauthentication attacks. Thanks for the work you put in this project!

Bug/ New Idea

Hello i noticed some bugs i think:

  • On captive Portal, the wifi name of google is "Google Free Wifi Test" i think the "test" should not be there
  • On captive Portal of Facebook, you can just sign in with email, it should be email or phone number or not?
    -deauth is not working on my home wifi
    -eviltwin same
    New ideas:
    -Ddos tool
    (-PMKID capture
    -WPA/WPA2 handshake capture and parsing
    -Formatting captured traffic into PCAP format
    -Parsing captured handshakes into HCCAPX file ready to be cracked by Hashcat
    -Passive handshake sniffing
    -Easily extensible framework for new attacks implementations
    -Management AP for easy configuration on the go using smartphone for example)These are the feature of ESP32-Wi-Fi-Penetration-Tool
    -Spamming bluetooth device like airpods to smartphones, that someone cant use his phone because of pop ups of connecting with airpods

lite version for 4MB devices without screen

First of all I just want to say how incredible this project is, I have it working on two 16MB TTGO boards and it has been super useful in pen-testing work, replacing most of my Rpi implementations that perform similar tasks.

it's a niche request but I would love to have a stripped down version that works on 4MB esp32 boards that don't have a screen (the super cheap ubiquitous dev boards that run for hours on a battery).

I only need the fake hotspot functionality and a method to retrieve any saved username/password data, maybe via a separate URL on the device /showmewhatyougot

BUTTON AND SCREEN PINS?

hello, first of all, thank you for the incredible work you have done.
I need help because I am building the device on an ESP32 wroom and I want to make it autonomous. But the problem is that I do not find where I should attach the pins.
Bye, and thank you again.

Compatiblity check Request

Hello Devs @Kl0ibi ,
I am really new to the whole electornincs and IOT things, this is my first time dealing with an esp32. I am searching a lot for proper esp32 boards and came across this one from waveshare(https://robu.in/product/waveshare-esp32-s2-mcu-wifi-development-board-240mhz-2-4-ghz-wifi-lcd-version-with-pinheader/), this comes with a LED pre attached for around $20 usd , can you tell if this project will be compatible with this LED screen and will I be able to have a hand held device like yours shown in the second picture.

Thanks and Regards,

Feature

Gandshake / hash catcher, feature can be introduced to use it with hashcat.

Building failed for mipi_display.c [ESP32-S3-WROOM-1 N16R8]

I cloned the repo then set target device with

idf.py set-target esp32s3

Then ran

idf.py build

But it returns an error

"""

/home/sifat/esp32_hackingtool/components/hagl_hal/src/mipi_display.c:195:40: error: 'CONFIG_MIPI_DISPLAY_SPI_HOST' undeclared (first use in this function); did you mean 'CONFIG_MIPI_DISPLAY_SPI_MODE'?
ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_MIPI_DISPLAY_SPI_HOST, &buscfg, CONFIG_MIPI_DISPLAY_SPI_HOST));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sifat/esp/esp-idf/components/esp_common/include/esp_err.h:116:30: note: in definition of macro 'ESP_ERROR_CHECK'
esp_err_t err_rc_ = (x);
^
/home/sifat/esp32_hackingtool/components/hagl_hal/src/mipi_display.c:195:40: note: each undeclared identifier is reported only once for each function it appears in
ESP_ERROR_CHECK(spi_bus_initialize(CONFIG_MIPI_DISPLAY_SPI_HOST, &buscfg, CONFIG_MIPI_DISPLAY_SPI_HOST));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sifat/esp/esp-idf/components/esp_common/include/esp_err.h:116:30: note: in definition of macro 'ESP_ERROR_CHECK'
esp_err_t err_rc_ = (x);
^
[1095/1175] Building C object esp-idf/hagl/CMakeFiles/__idf_hagl.dir/src/hagl_image.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

"""

Please see what i am doing wrong. I am eager to use this tool.

New idea

Hi ki0ibi, i have another idea for your project, you could add a sd card to it to store captive portals and many more.
Or in the future if you add nfc functionality, you could give the option to save to sd card or emulate from it.

Support for 16mb

Add pre compiled binary file for esp32 s3 16mb Chinese clone.

Issue with building, no spi_master.h

I don't see a driver folder, most likely driver/gpio.h will be a problem too

FAILED: esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj ccache E:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\"v5.1.2\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IE:/ESP/esp32_hackingtool-main/build/config -IE:/ESP/esp32_hackingtool-main/components/hagl_hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/arch/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/freertos/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include/arch -IE:/ESP/esp32_hackingtool-main/components/hagl/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/ESP/esp32_hackingtool-main=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.1.2=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj -MF esp-idf\hagl_hal\CMakeFiles\__idf_hagl_hal.dir\src\mipi_display.c.obj.d -o esp-idf/hagl_hal/CMakeFiles/__idf_hagl_hal.dir/src/mipi_display.c.obj -c E:/ESP/esp32_hackingtool-main/components/hagl_hal/src/mipi_display.c E:/ESP/esp32_hackingtool-main/components/hagl_hal/src/mipi_display.c:46:10: fatal error: driver/spi_master.h: No such file or directory 46 | #include <driver/spi_master.h> | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. [1206/1299] ccache E:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DESP_PLATFORM -DHAGL_INCLUDE_SDKCONFIG_H -DIDF_VER=\"v5.1.2\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IE:/ESP/esp32_hackingtool-main/build/config -IE:/ESP/esp32_hackingtool-main/components/hagl/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/arch/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/. -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32/private_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/esp32/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/freertos/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include/arch -IE:/ESP/esp32_hackingtool-main/components/hagl_hal/include -mlongcalls -Wno-frame-address -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Og -fmacro-prefix-map=E:/ESP/esp32_hackingtool-main=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.1.2=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/hagl/CMakeFiles/__idf_hagl.dir/src/hagl.c.obj -MF esp-idf\hagl\CMakeFiles\__idf_hagl.dir\src\hagl.c.obj.d -o esp-idf/hagl/CMakeFiles/__idf_hagl.dir/src/hagl.c.obj -c E:/ESP/esp32_hackingtool-main/components/hagl/src/hagl.c ninja: build stopped: subcommand failed.

New ideas

Hi KI0ibi, your project it's really good but I have some ideas for it, you could add a battery to it and make it detect and display in percentages how much current does the battery have left.

Also I have another idea, I tried the fake Bluetooth advertiser especially on an iPhone, and saw that sometimes it detects it as another iPhone trying to connect and in the target phone, prompts the user to click to send their phone number, I think you could make another option for iPhones that does that and captures the phone number and displays it on the screen.

CMakeLists.txt possibly missing..?

I am very inexperienced at this, but when trying to build or run menuconfig, idf.py reports CMakeLists.txt missing in project directory. I wasnt sure what was up so I naively tried running from within "main" folder which does have a CML file but that gives an error reporting that idf_component_register() is a command not found, as in the CML. I am confused out of my mind. Would appreciate if you could help me out. I need to access menuconfig to change oled pin definitions and ram size.

Problem with flashing

After I flash the code as instructed it looks like there are no errors, but the screen on esp is black and nothing is happening. Btw I have the 4 mb one

I will be glad for any help.

This is the serial output:

`19:03:42.063 -> �[0;32mI (32) boot_comm: chip revision: 3, min. bootloader chip revision: 0�[0m
19:03:42.063 -> �[0;32mI (39) boot.esp32: SPI Speed      : 80MHz�[0m
19:03:42.063 -> �[0;32mI (44) boot.esp32: SPI Mode       : DIO�[0m
19:03:42.063 -> �[0;32mI (49) boot.esp32: SPI Flash Size : 16MB�[0m
19:03:42.063 -> �[0;32mI (53) boot: Enabling RNG early entropy source...�[0m
19:03:42.063 -> �[0;32mI (59) boot: Partition Table:�[0m
19:03:42.063 -> �[0;32mI (62) boot: ## Label            Usage          Type ST Offset   Length�[0m
19:03:42.096 -> �[0;32mI (69) boot:  0 nvs              WiFi data        01 02 00010000 00010000�[0m
19:03:42.096 -> �[0;32mI (77) boot:  1 factory          factory app      00 00 00020000 00e00000�[0m
19:03:42.096 -> �[0;32mI (84) boot: End of partition table�[0m
19:03:42.096 -> �[0;32mI (89) boot_comm: chip revision: 3, min. application chip revision: 0�[0m
19:03:42.096 -> �[0;32mI (96) esp_image: segment 0: paddr=00020020 vaddr=3f400020 size=106e58h (1076824) map�[0m
19:03:42.458 -> �[0;32mI (430) esp_image: segment 1: paddr=00126e80 vaddr=3ffb0000 size=043a0h ( 17312) load�[0m
19:03:42.458 -> �[0;32mI (436) esp_image: segment 2: paddr=0012b228 vaddr=40080000 size=04df0h ( 19952) load�[0m
19:03:42.458 -> �[0;32mI (443) esp_image: segment 3: paddr=00130020 vaddr=40`

How to run stuff on cheap yellow screen?

Hello. I have a cheap gold screen (cyd) and wonder how to install this tool on a cheap gold screen (cyd). I tried installing it but it doesn't show up, it just flashes a green light.If you have a way please tell me. Thank you
ESP32-Cheap-Yellow-Display-CYD-Board-ESP32-2432S028R-front
cyd_feat

Cant build project in espressif-IDE (iram overflow)

I cant build the project and flash it, i get this error:
c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: hackingtool.elf section .iram0.text' will not fit in region iram0_0_seg'
c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: IRAM0 segment data does not fit.
c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `iram0_0_seg' overflowed by 2416 bytes
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Build complete (3 errors, 0 warnings): C:\esp32_hackingtool-main\build
C:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp-idf-v4.4.6\tools\idf_size.py C:/esp32_hackingtool-main/build/hackingtool.map
Total sizes:

Used static DRAM: 55156 bytes ( 69424 remain, 44.3% used)

  .data size:   20052 bytes

  .bss  size:   35104 bytes

Used static IRAM: 133486 bytes ( -2414 remain, 101.8% used) Overflow detected! You can run idf.py size-files for more information.

  .text size:  132459 bytes

.vectors size: 1027 bytes

Used Flash size : 2135030 bytes

  .text     : 1017439 bytes

  .rodata   : 1117335 bytes

Total image size: 2288568 bytes (.bin may be padded larger). Can i lower the usage somehow?

I can't build my version

Hello, I tried to edit my version where I only changed the names and I got this error

####################################
hack

idf.py build flash
E:/Espressif/frameworks/esp-idf-v4.1.4/tools\check_python_dependencies.py:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Executing action: all (aliases: build)
Running ninja in directory e:\espressif\esp32_hackingtool\build
Executing "ninja all"...
[3/130] cmd.exe /C "cd /D E:\Espressif\esp32_h...*********************************************"
Partition table binary generated. Contents:


Espressif ESP32 Partition Table

Name, Type, SubType, Offset, Size, Flags

nvs,data,nvs,0x10000,64K,
factory,app,factory,0x20000,3M,


[6/130] Building C object esp-idf/htool_system...iles/__idf_htool_system.dir/htool_system.c.obj
FAILED: esp-idf/htool_system/CMakeFiles/__idf_htool_system.dir/htool_system.c.obj
ccache E:\Espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -Iconfig -I../components/htool_system/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/freertos/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/tcp_isn -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/vfs/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_event/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_netif/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_eth/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/tcpip_adapter/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/app_trace/include -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.1.4" -DESP_PLATFORM -MD -MT esp-idf/htool_system/CMakeFiles/__idf_htool_system.dir/htool_system.c.obj -MF esp-idf\htool_system\CMakeFiles__idf_htool_system.dir\htool_system.c.obj.d -o esp-idf/htool_system/CMakeFiles/__idf_htool_system.dir/htool_system.c.obj -c ../components/htool_system/htool_system.c
../components/htool_system/htool_system.c: In function 'htool_system_escape_quotes':
../components/htool_system/htool_system.c:52:22: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration]
escaped_string = malloc(num + 1);
^~~~~~
../components/htool_system/htool_system.c:52:22: warning: incompatible implicit declaration of built-in function 'malloc'
../components/htool_system/htool_system.c:52:22: note: include '<stdlib.h>' or provide a declaration of 'malloc'
../components/htool_system/htool_system.c:25:1:
+#include <stdlib.h>

../components/htool_system/htool_system.c:52:22:
escaped_string = malloc(num + 1);
^~~~~~
../components/htool_system/htool_system.c: In function 'htool_system_hex_string_to_byte_array':
../components/htool_system/htool_system.c:85:27: warning: incompatible implicit declaration of built-in function 'malloc'
*byte_array = malloc(*array_size * sizeof(uint8_t));
^~~~~~
../components/htool_system/htool_system.c:85:27: note: include '<stdlib.h>' or provide a declaration of 'malloc'
../components/htool_system/htool_system.c: In function 'htool_system_extract_number_from_string':
../components/htool_system/htool_system.c:187:20: error: implicit declaration of function 'strtol'; did you mean 'strtok'? [-Werror=implicit-function-declaration]
return strtol(temp_str, NULL, 10) * factor;
^~~~~~
strtok
cc1.exe: some warnings being treated as errors
[8/130] Building C object esp-idf/htool_netman...iles/__idf_htool_netman.dir/htool_netman.c.obj
FAILED: esp-idf/htool_netman/CMakeFiles/__idf_htool_netman.dir/htool_netman.c.obj
ccache E:\Espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -Iconfig -I../components/htool_netman/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/freertos/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/tcp_isn -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/vfs/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_event/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_netif/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_eth/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/tcpip_adapter/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/app_trace/include -I../components/htool_api/include -I../components/htool_wifi/include -I../components/htool_display/include -I../components/hagl/include -I../components/hagl_hal/include -I../components/esp_i2c_helper -I../components/htool_nvsm/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nvs_flash/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/spi_flash/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/mbedtls/port/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/mbedtls/mbedtls/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_http_server/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nghttp/port/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nghttp/nghttp2/lib/includes -I../components/htool_pn532_spi/include -I../components/htool_spi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/console -I../components/htool_uart/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/json/cJSON -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_http_client/include -I../components/htool_system/include -I../components/htool_modbus/include -I../components/htool_ble/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/common/osi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/host/bluedroid/api/include/api -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.1.4" -DESP_PLATFORM -MD -MT esp-idf/htool_netman/CMakeFiles/__idf_htool_netman.dir/htool_netman.c.obj -MF esp-idf\htool_netman\CMakeFiles__idf_htool_netman.dir\htool_netman.c.obj.d -o esp-idf/htool_netman/CMakeFiles/__idf_htool_netman.dir/htool_netman.c.obj -c ../components/htool_netman/htool_netman.c
../components/htool_netman/htool_netman.c: In function 'htool_netman_handle_request':
../components/htool_netman/htool_netman.c:292:57: error: implicit declaration of function 'esp_http_client_read_response'; did you mean 'esp_http_client_read'? [-Werror=implicit-function-declaration]
data_read = esp_http_client_read_response(client, resp_str, content_length);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
esp_http_client_read
../components/htool_netman/htool_netman.c:742:82: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(500)) == 1) {
^~
In file included from ../components/htool_netman/htool_netman.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
[9/130] Building C object esp-idf/htool_uart/CMakeFiles/__idf_htool_uart.dir/htool_uart.c.obj
FAILED: esp-idf/htool_uart/CMakeFiles/__idf_htool_uart.dir/htool_uart.c.obj
ccache E:\Espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -Iconfig -I../components/htool_uart/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/newlib/platform_include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/freertos/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/heap/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/log/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/include/apps/sntp -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/lwip/src/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/include/arch -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/lwip/port/esp32/tcp_isn -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/soc/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_rom/esp32 -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_common/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/xtensa/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_ringbuf/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/efuse/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/vfs/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_wifi/esp32/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_event/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_netif/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_eth/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/tcpip_adapter/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/app_trace/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/console -I../components/htool_nvsm/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nvs_flash/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/spi_flash/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/mbedtls/port/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/mbedtls/mbedtls/include -I../components/htool_api/include -I../components/htool_wifi/include -I../components/htool_display/include -I../components/hagl/include -I../components/hagl_hal/include -I../components/esp_i2c_helper -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_http_server/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nghttp/port/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/nghttp/nghttp2/lib/includes -I../components/htool_pn532_spi/include -I../components/htool_spi/include -I../components/htool_netman/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/json/cJSON -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/esp_http_client/include -I../components/htool_system/include -I../components/htool_modbus/include -I../components/htool_ble/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/common/osi/include -IE:/Espressif/frameworks/esp-idf-v4.1.4/components/bt/host/bluedroid/api/include/api -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER="v4.1.4" -DESP_PLATFORM -MD -MT esp-idf/htool_uart/CMakeFiles/__idf_htool_uart.dir/htool_uart.c.obj -MF esp-idf\htool_uart\CMakeFiles__idf_htool_uart.dir\htool_uart.c.obj.d -o esp-idf/htool_uart/CMakeFiles/__idf_htool_uart.dir/htool_uart.c.obj -c ../components/htool_uart/htool_uart.c
../components/htool_uart/htool_uart.c: In function 'wait_for_input':
../components/htool_uart/htool_uart.c:207:58: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(delay)) == 0) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'scan_command':
../components/htool_uart/htool_uart.c:310:58: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(100))) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'deauth_command':
../components/htool_uart/htool_uart.c:385:66: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, portMAX_DELAY)) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'evil_twin_command':
../components/htool_uart/htool_uart.c:425:70: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(200))) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'ble_spoof_command':
../components/htool_uart/htool_uart.c:484:74: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(200))) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'network_tools_command':
../components/htool_uart/htool_uart.c:539:74: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, portMAX_DELAY) == 0) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c:567:70: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, portMAX_DELAY) == 0) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'captive_portal_command':
../components/htool_uart/htool_uart.c:769:66: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, pdMS_TO_TICKS(200))) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'beacon_spammer_command':
../components/htool_uart/htool_uart.c:816:65: error: pointer targets in passing argument 2 of 'uart_read_bytes' differ in signedness [-Werror=pointer-sign]
if (uart_read_bytes(CONFIG_ESP_CONSOLE_UART_NUM, &c, 1, portMAX_DELAY)) {
^~
In file included from ../components/htool_uart/htool_uart.c:32:
E:/Espressif/frameworks/esp-idf-v4.1.4/components/driver/include/driver/uart.h:553:5: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'char '
int uart_read_bytes(uart_port_t uart_num, uint8_t
buf, uint32_t length, TickType_t ticks_to_wait);
^~~~~~~~~~~~~~~
../components/htool_uart/htool_uart.c: In function 'htool_uart_cli_init':
../components/htool_uart/htool_uart.c:1055:5: error: implicit declaration of function 'linenoiseAllowEmpty'; did you mean 'linenoiseProbe'? [-Werror=implicit-function-declaration]
linenoiseAllowEmpty(false);
^~~~~~~~~~~~~~~~~~~
linenoiseProbe
cc1.exe: some warnings being treated as errors
[10/130] Performing build step for 'bootloader'
[1/94] Generating project_elf_src.c
[2/94] Building C object CMakeFiles/bootloader.elf.dir/project_elf_src.c.obj
[3/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj
[4/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock.c.obj
[5/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj
[6/94] Building C object esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/esp32/spi_flash_rom_patch.c.obj
[7/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash.c.obj
[8/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj
[9/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_qio_mode.c.obj
[10/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj
[11/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_flash_config_esp32.c.obj
[12/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse_esp32.c.obj
[13/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj
[14/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj
[15/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32/esp_efuse_table.c.obj
[16/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj
[17/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_sha.c.obj
[18/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/flash_encrypt.c.obj
[19/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_utility.c.obj
[20/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj
[21/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_fields.c.obj
[22/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp32/esp_efuse_api.c.obj
[23/94] Building C object esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj
[24/94] Building C object esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32/bootloader_esp32.c.obj
[25/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/adc_periph.c.obj
[26/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/gpio_periph.c.obj
[27/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/cpu_util.c.obj
[28/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_io_periph.c.obj
[29/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj
[30/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/dac_periph.c.obj
[31/94] Building C object esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj
[32/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_periph.c.obj
[33/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_clk_init.c.obj
[34/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_init.c.obj
[35/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_pm.c.obj
[36/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdmmc_periph.c.obj
[37/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/soc_memory_layout.c.obj
[38/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_time.c.obj
[39/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/ledc_periph.c.obj
[40/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_clk.c.obj
[41/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/interrupts.c.obj
[42/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_sleep.c.obj
[43/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/rtc_wdt.c.obj
[44/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/spi_periph.c.obj
[45/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2s_periph.c.obj
[46/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/sdio_slave_periph.c.obj
[47/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/uart_periph.c.obj
[48/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/i2c_periph.c.obj
[49/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_periph.c.obj
[50/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/lldesc.c.obj
[51/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32/touch_sensor_hal.c.obj
[52/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/memory_layout_utils.c.obj
[53/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rmt_hal.c.obj
[54/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/adc_hal.c.obj
[55/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/dac_hal.c.obj
[56/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/rtc_io_hal.c.obj
[57/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal.c.obj
[58/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/soc_include_legacy_warn.c.obj
[59/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal_iram.c.obj
[60/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_hal.c.obj
[61/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/touch_sensor_hal.c.obj
[62/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_slave_hal_iram.c.obj
[63/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/pcnt_hal.c.obj
[64/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sigmadelta_hal.c.obj
[65/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal_iram.c.obj
[66/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal_iram.c.obj
[67/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/gpio_hal.c.obj
[68/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/ledc_hal.c.obj
[69/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/timer_hal.c.obj
[70/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2s_hal.c.obj
[71/94] Building ASM object esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj
[72/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal_iram.c.obj
[73/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/can_hal.c.obj
[74/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/i2c_hal.c.obj
[75/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal.c.obj
[76/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/can_hal_iram.c.obj
[77/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj
[78/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/uart_hal.c.obj
[79/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj
[80/94] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj
[81/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/spi_flash_hal_iram.c.obj
[82/94] Building C object esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj
[83/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/mcpwm_hal.c.obj
[84/94] Building C object esp-idf/soc/CMakeFiles/__idf_soc.dir/src/hal/sdio_slave_hal.c.obj
[85/94] Linking C static library esp-idf\log\liblog.a
[86/94] Linking ASM static library esp-idf\esp_rom\libesp_rom.a
[87/94] Linking C static library esp-idf\soc\libsoc.a
[88/94] Linking C static library esp-idf\efuse\libefuse.a
[89/94] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[90/94] Linking C static library esp-idf\spi_flash\libspi_flash.a
[91/94] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[92/94] Linking C static library esp-idf\main\libmain.a
[93/94] Linking C executable bootloader.elf
[94/94] Generating binary image from built executable
esptool.py v2.9-dev
Generated E:/Espressif/esp32_hackingtool/build/bootloader/bootloader.bin
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

IDE

We want to extract the files from the compilation, change its language, and add some new features. How can we open this compilation file, and which programs can we use to edit this file?

#include "driver" Unresolved.

I am trying to add some features to the project, i can code but i am new to espressif. But i always get an error in every component including "driver". I read somewhere that you have to add "REQUIRES driver', to the idf_component_register to your Component" but i don't know how to do that.

deauth bssid problem(please check)

hello kl0ibi me and another people experience a not functioning deauth in your code i check the code and find that your default deauth packet in htool_wifi.c is set to bssid 00:00:00:00:00:00, and i think this is the problem behind the not working deauth function. if i am wrong please correct me .

Screenshot (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.