Pwnagotchi

官网
这个小东西可耗精力了,不知道为什么老是有问题,或许是我墨水屏买新了?以及进不去MANU mode,可能是驱动?
不知道,以后再说吧。


0x0 买

需要买的:

  • Raspberry Pi Zero W
  • 16GB MicroSD卡
    还要用的:
  • MicroSD读卡器
  • 数据线
    锦上添花的:
  • 2.13inch墨水屏,我用了微雪的V4,不过底下那个镜像也支持?
  • UPS-Lite 电池/不间断电源,这个可以用充电宝代替(拖出来根线,不喜欢)
  • GPIO引脚
  • 3D打印外壳
    如果不想焊接你可以买Zero WH,引脚焊好的版本

0x1 焊

焊GPIO的时候可以先焊两边再焊中间,平衡之后焊起来会很方便

微雪V3已经有GPIO焊好了,直接插上去就行,记得屏是覆盖住Zero的,不是呈Z状凸出的,插反了的话小心坏掉

UPS-Lite是弹簧针脚,直接放上去按紧拧好螺丝和螺母就OK了

0x2 烧

烧录的时候尝试了原项目的镜像,结果墨水屏没显示,所以总结是这样的:

下载镜像

用的这个镜像(不然墨水屏显示不了,原镜像有一些奇奇怪怪的bug,但是用这个镜像的话MANU mode就用不了了,握手包需要读卡才能用)。

烧写

使用树莓派烧写工具或者按原项目说的用balenaEtcher都一样,插上电脑就能写。Windows写完之后会弹出是否格式化,这时候忽略就行。

配置

参照这个,我们需要改一些东西:
config.toml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
main.name = "pwnagotchi"             # Your pwnagotchi's name
main.lang = "en" # Interface language, zh-Hans is not supported
main.whitelist = [
"EXAMPLE_NETWORK", # The network which pwnagotchi will not deauth,
"ANOTHER_EXAMPLE_NETWORK", # but pwnagotchi will still capture the handshake
"fo:od:ba:be:fo:od", # of every APs.
"fo:od:ba"
]

main.plugins.grid.enabled = true
main.plugins.grid.report = true
main.plugins.grid.exclude = [
"YourHomeNetworkHere" # The same config as main.whitelist is the
] # simplest.

ui.display.enabled = true # This is the e-Paper screen configuration.
ui.display.type = "waveshare_3" # Using WaveShare e-Paper V3 (actually V4).
ui.display.color = "black"

写完之后要放在bootfs分区的根目录下。

安装

很简单,把烧好的Micro SD卡放进ZeroW中插电开机即可。

0x3 走

正如官网介绍的,

Pwnagotchi is an A2C-based “AI” powered by bettercap and running on a Raspberry Pi Zero W that learns from its surrounding WiFi environment in order to maximize the crackable WPA key material it captures (either through passive sniffing or by performing deauthentication and association attacks).

这玩意儿是一个吃Wi-Fi握手包的电子宠物,如何拿到更多握手包?那自然是出去走走了。
公园里走走,街道旁走走,商场里走走,到处都是握手包,何必担心“饿着”它呢?

以及……

我们给这个小东西以“食物”,这个小东西给了我们出去多活动的机会,这对我们何尝不是一种额外的收获呢?

⬆︎TOP