hacktricks/todo/hardware-hacking/spi.md
2023-08-03 19:12:22 +00:00

3.8 KiB
Raw Blame History

☁️ HackTricks云 ☁️ -🐦 推特 🐦 - 🎙️ Twitch 🎙️ - 🎥 Youtube 🎥

基本信息

转储Flash

Bus Pirate + flashrom

请注意即使Pirate Bus的PINOUT指示了用于连接SPI的MOSIMISO引脚但某些SPI可能将引脚标记为DI和DO。MOSI -> DIMISO -> DO

在Windows或Linux中您可以使用程序flashrom来转储闪存的内容,运行类似以下命令:

# In this command we are indicating:
# -VV Verbose
# -c <chip> The chip (if you know it better, if not, don'tindicate it and the program might be able to find it)
# -p <programmer> In this case how to contact th chip via the Bus Pirate
# -r <file> Image to save in the filesystem
flashrom -VV -c "W25Q64.V" -p buspirate_spi:dev=COM3 -r flash_content.img
☁️ HackTricks云 ☁️ -🐦 推特 🐦 - 🎙️ Twitch 🎙️ - 🎥 Youtube 🎥