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 1 #55

Closed
throwawaya609 opened this issue May 14, 2023 · 5 comments
Closed

Error 1 #55

throwawaya609 opened this issue May 14, 2023 · 5 comments

Comments

@throwawaya609
Copy link

throwawaya609 commented May 14, 2023

image
Hello, i'm trying to install the mousejack firmware for the crazyradio dongle and it's giving me this error i've tried a lot of things to no avail, can anyone help me? Thanks
image

@dsyncd
Copy link

dsyncd commented May 14, 2023

The flash usb is done in python2 and they've never updated to python3 syntax. I don't know if this works as I fixed it myself but there's this: BastilleResearch/nrf-research-firmware@ceb6d40

My code actually worked on my crazyradio pa. I found the commit above way after flashing mine. Mine worked for me but I don't take responsibility on bricking something: https://github.com/dsyncd/Python/blob/main/mousejack-usb-flash

I basically commented out the usb.core import check. Changed the usb import to usb.core from the start. Added the b in this area of the code: "data += (b'\000" and changed tostring() to tobytes() in this line block_read = array.array('B', dongle.read(0x81, 64, usb_timeout)).tobytes().

After that I ran the python script I made and pointed it to the .bin file in the bin folder that was made in your nrf-research-firmware file. Unplugged it the Crazyradio and plugged it back up and you'll see the red light stay on. Then you can run the Jackit github project. I haven't been able to get the Jackit payloads to run yet but I suspect I have a patched/updated logitech dongle I'm running it against. You'll have to install powershell empire if you run the .ps1 exploit in the examples folder.

@dsyncd
Copy link

dsyncd commented May 14, 2023

FYI: This is the first time I've done something like this and it's more of a hack to get it to just work. :D

@throwawaya609
Copy link
Author

Thanks for the comment! I tried your code and I got this error:
image

@throwawaya609
Copy link
Author

Holy f dude, you are the man who cares what the error said you got it to work lmfaoo thank you !

@dsyncd
Copy link

dsyncd commented May 14, 2023

LOL awesome.

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

2 participants