nccgroup / depthcharge

A U-Boot hacking toolkit for security researchers and tinkerers
https://depthcharge.readthedocs.io
BSD 3-Clause "New" or "Revised" License
257 stars 14 forks source link

MdMemoryReader Fails in Early U-Boot Versions #50

Closed jynik closed 3 years ago

jynik commented 4 years ago

Seeing \r prefixed on each line in MT7628 builds dated U-Boot 1.1.3 (Sep 17 2018 - 18:22:09).

This breaks the regex. Either an lstrip() or a \s* is in order.

jynik commented 4 years ago

Staged in next @ 1ff0025c6a0f192a7a272135713995a85e810bd2.