Code Monkey home page Code Monkey logo

minigotchi-esp32's Introduction

๐Ÿ‘‹ Hi there

I'm dj1ch, a 15-year-old developer in the Embedded Stack.

At the moment, I enjoy working with single-board computers (SBCs) and microcontrollers, among other small devices. Most of my work involves cybersecurity-related projects because I enjoy hacking hardware. I'm working on the Minigotchi, a port of Pwnagotchi to the ESP8266/ESP32. I program in mostly C++ and Java.

Feel free to reach out to me on Discord or by emailing [email protected] (preferably email)

minigotchi-esp32's People

Contributors

atomnft avatar dj1ch avatar matrix224 avatar najmajmal avatar restyled-commits 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

Watchers

 avatar  avatar  avatar

minigotchi-esp32's Issues

Got wifi unsupport

Describe the bug
I Got wifi : unsupport fram type : 0c0
I Got wifi : unsupport fram type : 0a0
and
Screen show Both packets failed to send

Dont know what I did err

Minigotchi crashing with Config::advertise = true;

When setting Config::advertise = true; in config then minigotchi crashes

platform: Cardputer M5 (ESP32-s3fn8)

Here is the output of the console with the backtrace:
`
(^-^) Hi, I'm Minigotchi, your pwnagotchi's best friend!

('-') You can edit my configuration parameters in config.cpp!

(>-<) Starting now...

################################################

BOOTUP PROCESS

################################################

('-') Adding XYZ to the whitelist
('-') Adding 123 to the whitelist
('-') Adding 456 to the whitelist

(-.-) Initializing on channel 1

(X-X) Channel initialization failed, try again?

((0-o) Scanning for Pwnagotchi.
(o-0) Scanning for Pwnagotchi..
(0-o) Scanning for Pwnagotchi...

(0-o) Scanning for Pwnagotchi.
(o-0) Scanning for Pwnagotchi..
(0-o) Scanning for Pwnagotchi...

(0-o) Scanning for Pwnagotchi.
(o-0) Scanning for Pwnagotchi..
(0-o) Scanning for Pwnagotchi...

(;-;) No Pwnagotchi found

(>-<) Starting advertisment...

Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Core 1 register dump:
PC : 0x4205a3de PS : 0x00060c30 A0 : 0x8205a558 A1 : 0x3fcebb10
A2 : 0x00000000 A3 : 0x3fcec8d8 A4 : 0x3fcef91c A5 : 0x00000000
A6 : 0x3fcef940 A7 : 0x00000000 A8 : 0x8200739a A9 : 0x3fcebaf0
A10 : 0x00000000 A11 : 0x3fcec3e0 A12 : 0x000004e6 A13 : 0x3fcecdbb
A14 : 0x3fcecdbb A15 : 0x3fcecb6c SAR : 0x0000001d EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000054 LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xffffffff

Backtrace: 0x4205a3db:0x3fcebb10 0x4205a555:0x3fcebb50 0x4200a219:0x3fcebb80 0x4200a352:0x3fcebba0 0x4200acb3:0x3fcebc10 0x4200a541:0x3fcebc30 0x420175a4:0x3fcebc50

ELF file SHA256: 9cda293c6cded480
`

After a lot of try and error to identify the error, I think the error is somwhere around the Frame::send() part in void Frame::advertise() at frame.cpp but was unable to identify it better.

Compilation error: ESP8266WiFi.h: No such file or directory

At the time of compiling, it gives an error in .bin, warning that the file 'ESP8266WiFi.h' was not found.

I followed the installation step by step for the cardputer, with the minigotchi open in the Arduino IDE, I clicked on 'sketch' and 'export compiled binary'.

I expected a new executable .bin file to be generated. If I did something wrong, can you teach me?"

Let me know if there's anything else you'd like to know!

imagem_2024-07-04_040005184

Compilation error

C:\Users\itsme\Desktop\minigotchi-ESP32\pwnagotchi.cpp: In static member function 'static void Pwnagotchi::detect()':
C:\Users\itsme\Desktop\minigotchi-ESP32\pwnagotchi.cpp:95:50: error: 'name' was not declared in this scope
Parasite::sendPwnagotchiStatus(FRIEND_FOUND, name.c_str());
^~~~
C:\Users\itsme\Desktop\minigotchi-ESP32\pwnagotchi.cpp:95:50: note: suggested alternative: 'Frame'
Parasite::sendPwnagotchiStatus(FRIEND_FOUND, name.c_str());
^~~~
Frame

exit status 1

Compilation error: 'name' was not declared in this scope

I added std::string name; to the void Pwnagotchi::detect() and it compiles and flashes.

ESP32 Porting

Long story short, I need to know which boards you will want to be supported by this fork. If anyone has any suggestions, please let me know.

New update cant install

I download ur new code and try to install but i got err.

c:/users/tommy/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\tOmmy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.10/tools/sdk/esp32s3/lib\libnet80211.a(ieee80211_output.o): in function ieee80211_raw_frame_sanity_check': (.text.ieee80211_raw_frame_sanity_check+0x5c): multiple definition of ieee80211_raw_frame_sanity_check'; C:\Users\tOmmy\AppData\Local\Temp\arduino\sketches\1185B356109DB8315BD3A46138052B5C\sketch\deauth.cpp.o:D:\tOmmy\Desktop\minigotch\new ESP32\minigotchi-ESP32/deauth.cpp:36: first defined here
collect2.exe: error: ld returned 1 exit status

Using library Adafruit GFX Library at version 1.11.9 in folder: D:\tOmmy\Documents\Arduino\libraries\Adafruit_GFX_Library
Using library Adafruit BusIO at version 1.16.1 in folder: D:\tOmmy\Documents\Arduino\libraries\Adafruit_BusIO
Using library Wire at version 2.0.0 in folder: C:\Users\tOmmy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.10\libraries\Wire
Using library SPI at version 2.0.0 in folder: C:\Users\tOmmy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.10\libraries\SPI
Using library Adafruit SSD1305 at version 2.2.3 in folder: D:\tOmmy\Documents\Arduino\libraries\Adafruit_SSD1305
Using library Adafruit SSD1306 at version 2.5.10 in folder: D:\tOmmy\Documents\Arduino\libraries\Adafruit_SSD1306
Using library TFT_eSPI at version 2.5.43 in folder: D:\tOmmy\Documents\Arduino\libraries\TFT_eSPI
Using library FS at version 2.0.0 in folder: C:\Users\tOmmy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.10\libraries\FS
Using library SPIFFS at version 2.0.0 in folder: C:\Users\tOmmy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.10\libraries\SPIFFS
Using library U8g2 at version 2.34.22 in folder: D:\tOmmy\Documents\Arduino\libraries\U8g2
Using library WiFi at version 2.0.0 in folder: C:\Users\tOmmy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.10\libraries\WiFi
Using library ArduinoJson at version 7.1.0 in folder: D:\tOmmy\Documents\Arduino\libraries\ArduinoJson

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.