Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while running python script to exploit UART attack on raspberrypi3 using attify-badge #1

Open
hammadvde opened this issue Jun 4, 2018 · 0 comments

Comments

@hammadvde
Copy link

hello,
i am trying to get access on my raspberrypi3 by attacking UART using attify-badge. i want to dump memory of my raspberrypi and get the root access of my PI (hardware hacking). i connected the UART pins of my pi in GPIO pins of PI with my attify-badge UART pins. (transmitter pin on my pi connected with receiver pin on my attify-badge and receiver pin on my pi connected with transmitter pin on my attify-badge). i have selected baudrate = 115200
this is what it displays when i start my attify-badge:

[] UART_getport invoked
[
] Enabling Adafruit FTDI
[] Setting up GPIO pins
[
] JTAG_getcfg invoked
[] UART Connect invoked
[
] UART Connect executed Successfully
[] Serial port opened
[
] Initializing ConsoleReadThread
[*] Starting UARTConsoleReadThread

then when i switch off my pi and then again plug in back to reboot my PI. i see this error on cmd prompt:

Traceback (most recent call last);
File "main.py" , line 102, in UART_read
if(len(str(QString))>0:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xff' in position 0: ordinal not in range(128)

and on attify-badge tool GUI, i see this:

welcome to the rescue system:

recovery login:

can someone help me solve this issue?? thanks in advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant