The IoT Hacker's Handbook by Aditya Gupta

The IoT Hacker's Handbook by Aditya Gupta

Author:Aditya Gupta
Language: eng
Format: epub
ISBN: 9781484243008
Publisher: Apress


Let’s enter testing as the password here and press Enter. As soon as we press Enter, we can see that we have the breakpoint hit in the GDB session as shown here. //Terminal 1 with UART:

Offensive IoT Exploitation by Attify!

Enter the password: ********

//Terminal 2 with GDB:

Breakpoint 1, 0x080002e4 in verifypass(char*) ()

(gdb)

At this point, we can analyze the registers using info registers. (gdb) info registers

r0 0x20004fe0 536891360

r1 0x800d240 134271552

r2 0x34000000 872415232

r3 0x20004fe8 536891368

r4 0x0 0

r5 0x20004fe0 536891360

r6 0x20004fef 536891375

r7 0x20004fe7 536891367

r8 0xbd7ff3ba -1115688006

r9 0x9aebfea5 -1695809883

r10 0x1fff5000 536825856

r11 0x0 0

r12 0x20004f50 536891216

sp 0x20004fd8 0x20004fd8

lr 0x800035d 134218589

pc 0x80002e5 0x80002e5 <verifypass(char*)+4>

xpsr 0x61000020 1627389984



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.