Skip to content

Commit aee43f4

Browse files
committed
add docs. add platformio and gitignore.
1 parent 400d7be commit aee43f4

File tree

8 files changed

+83
-2
lines changed

8 files changed

+83
-2
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.pio
2+
lib

README.md

+49-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,56 @@
11
# UberHid
2+
23
Wifi keylogger with keyboard and mouse injection capabilities
34

45
*in the firmware directory resides the firmware for the ATmega32u4 and ESP8266 (ESP-12)
56

67
*in the hardware directory resides the schematics (I used Eagle)
78

8-
This page needs some love. Early development. More info ping @kripthor
9+
10+
## Bill of Materials
11+
12+
| Qty. | Description | Obs. |
13+
|------|------------------------|-----------------------------------------------------------------|
14+
| 1 | UBERHid PCB | Designed by [@kripthor](https://github.com/kripthor/UberHid/) |
15+
| 1 | Arduino atmega32u4 | Board is designed for DM Micro AU version (Beetle with 18 pins) |
16+
| 1 | ESP8266 ESP-12E module | Chip only. To solder. |
17+
| 5 | 10kΩ Resistor | SMD. |
18+
| 2 | 33Ω Resistor | SMD. |
19+
| 2 | 18pF Capacitator | SMD. |
20+
| 1 | XTAL TXC 12Mhz | SMD. |
21+
| 1 | 2k2 Resistor | 2.2KΩ SMD. |
22+
| 1 | FTDI FT232RL | USB to TTL Serial 3.3V/5V USB Adapter or equivalent, only used to program the ESP8266. |
23+
24+
## Schematics
25+
26+
![UBERHid PCB](docs/pcb.png)
27+
28+
![Schematic](docs/uberhid-schematic.png)
29+
30+
![Wiring](docs/wiring.png)
31+
32+
## How to build/deploy
33+
34+
### Using [Platformio](https://platformio.org/)
35+
36+
#### ESP8266
37+
0. Connect the FTDI to the PCB pins as depicted in the wiring scheme above.
38+
1. Uncomment the follwing lines in ```platformio.ini```:
39+
```yaml
40+
src_dir = ${workspacedir}/firmware/UberHID-ESPUSB/.
41+
data_dir = ${workspacedir}/firmware/UberHID-ESPUSB/data
42+
```
43+
2. ```$ platformio run -e esp12e``` _sanity check_
44+
3. ```$ platformio run -e esp12e --target upload --upload-port <dev/ttyUSB*>```
45+
- Replace ```<dev/ttyUSB*>``` with your device, _e.g._: ```dev/ttyUSB0```
46+
47+
#### Arduino Leonardo (atmega32u4)
48+
49+
0. Plug-in the Arduino Leonardo in one of the computer USB ports.
50+
1. Uncomment the follwing line in ```platformio.ini```:
51+
```yaml
52+
src_dir = ${workspacedir}/firmware/UberHID-Leonardo/.
53+
```
54+
2. ```$ platformio run -e leonardo``` _sanity check_
55+
3. ```$ platformio run -e leonardo --target upload --upload-port <dev/ttyACM*>```
56+
- Replace ```<dev/ttyACM*>``` with your device, _e.g._: ```dev/ttyACM0```

docs/pcb.png

40.2 KB
Loading

docs/uberhid-schematic.png

100 KB
Loading

docs/wiring.png

303 KB
Loading

firmware/UberHID-ESPUSB/Config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#define WIFISSID "UBERHID"
55
#define WIFIPASS "uberidiota"
66
#define WIFICHANNEL 7
7-
#define WIFISSIDHIDDEN 1 // 0 for not hidden
7+
#define WIFISSIDHIDDEN 0 // 0 for not hidden
88

99
#define OTANAME "uberhid-iota"
1010
#define OTAPASS "uberidiota"

firmware/UberHID-Leonardo/UberHID-Leonardo.ino

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include "SPI.h"
12
#include "Keyb.h"
23
#include "Mouse.h"
34

platformio.ini

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
;PlatformIO Project Configuration File
2+
;
3+
; Build options: build flags, source filter
4+
; Upload options: custom upload port, speed and extra flags
5+
; Library options: dependencies, extra library storages
6+
; Advanced options: extra scripting
7+
;
8+
; Please visit documentation for the other options and examples
9+
; https://docs.platformio.org/page/projectconf.html
10+
11+
[platformio]
12+
;src_dir = ${workspacedir}/firmware/UberHID-Leonardo/.
13+
src_dir = ${workspacedir}/firmware/UberHID-ESPUSB/.
14+
data_dir = ${workspacedir}/firmware/UberHID-ESPUSB/data
15+
16+
[env:esp12e]
17+
platform = espressif8266
18+
board = esp12e
19+
framework = arduino
20+
upload_protocol = esptool
21+
lib_deps =
22+
USB-Host-Shield-20
23+
24+
[env:leonardo]
25+
platform = atmelavr
26+
board = leonardo
27+
framework = arduino
28+
lib_deps =
29+
USB-Host-Shield-20
30+
Mouse

0 commit comments

Comments
 (0)