-
Notifications
You must be signed in to change notification settings - Fork 729
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
Blu Smartphone G60 | Nethunter phone: Oneplus 7 pro - PIN not submitting by "enter" key #156
Comments
Try key combinations with enter like:
echo "ctrl + enter" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard
/dev/hidg0 keyboard
Kind regards,
Andrew Horton
…On Sun, 9 Jun 2024 at 11:22 AM, Outlawed Earl ***@***.***> wrote:
Describe the bug
After the first 4-digit PIN attempt, no “Enter” key doesn't submit PIN,
and the screen continues with the next 4-digit PIN
*To Reproduce*
Steps to reproduce the behavior:
1.
I have a OnePlus 7 Pro phone connected to a Blu G60 via cables OTG.
2.
Nethunter is installed on the OnePlus phone.
3.
Running sudo bash ./android-pin-bruteforce crack --length 4
*Expected behavior*
The 4-digit PIN should be submitted before the Next 4-digit PIN starts.
*Screenshots*
error4.gif (view on web)
<https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/f238df10-ddab-4ff1-8077-c4ddd4248b71>
My phones
- The make and model of my NetHunter Android phone : Oneplus 7 Pro
GM1915
- The make and model of my locked Android phone : Blu Smartphone model
G60
Can I send any keys
It looks like I can send keys, but the normal one don't submit the PIN's.
when I submit an enter key I see the screen light up and same with the
others.
echo "enter" | /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0 keyboard
echo "space" | /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0 keyboard
echo "ctrl + esc" | /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0 keyboard
Sending the correct keys
- What keys will bring up the PIN prompt?
If I understand this its the ctrl + esc, but I'm not sure
- What keys should be sent after the PIN is entered?
This is my current issue.
Troubleshooting
-
Did you try rebooting both phones?
-
Did you try unplugging and replugging the cables?
-
Did you try new cables including the OTG cable?
-
The output of the diag command
Android PIN brute-force :: version 0.2
[INFO] # Diagnostic info
[PASS] HID device (/dev/hidg0) found
crw-rw-rw-. 1 root root 480, 0 Jun 8 20:19 /dev/hidg0
[PASS] hid-keyboard executable (/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard) found
-rwxr-xr-x. 1 root root 72480 May 28 22:46 /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard
[PASS] usb-devices executable (/usr/bin/usb-devices) found
-rwxr-xr-x. 1 root root 4498 Jun 21 2023 /usr/bin/usb-devices
[INFO] ## Executing Command: /usr/bin/usb-devices
[PASS] usb-devices script executed succeessfully.
[INFO] ## Finding Android Phone USB Device
[INFO] Expected result, no device found.
[INFO] ## Sending Enter Key
[PASS] Key was sent succeessfully.
[INFO] ## Executing Command: /system/bin/getprop |grep usb
./android-pin-bruteforce: line 180: /system/bin/getprop: cannot execute: required file not found
[INFO] ## Executing Command: dmesg | grep -i usb | tail
[523939.689188] ***@***.*** msm-usb-ssphy-qmp 88e8000.ssphy: USB DP QMP PHY: Update TYPEC CTRL(2)
[523939.741987] ***@***.*** msm-dwc3 a600000.ssusb: DWC3 exited from low power mode
[523940.194430] android_work: sent uevent USB_STATE=CONNECTED
[523940.199594] android_work: sent uevent USB_STATE=DISCONNECTED
[523940.306389] SMBLIB: notify_usb_enumeration_function: status=1,vbus_present:1
[523940.322694] android_work: sent uevent USB_STATE=CONNECTED
[523940.326330] usb_gadget_vbus_draw USB setting current is 500mA
[523940.326508] android_work: sent uevent USB_STATE=CONFIGURED
[523940.882021] SMBLIB: smbchg_re_det_work: re_det, usb_enum_status
[523942.556763] ***@***.*** SMBLIB: smblib_update_usb_type: pm8150b_charger: smblib_update_usb_type: APSD=SDP PD=0 dash_on=0 real_charger_type=4
[INFO] # Troubleshooting tips
- Check the NetHunter phone is succesfully emulating a keyboard by connecting it to a computer with a regular charging/data USB cable. Open a text editor like Notepad and you should see it sending PINs. Note that you do not need an OTG cable for this.
- Check the Nethunter phone has a regular USB cable attached, and the locked phone has an OTG adaptor attached.
- Try using different cables/adaptors. You may have a faulty cable/adaptor.
- Perform a hard reset of both phones by holding down the power button for 20 seconds.
- Try this command: /system/bin/setprop sys.usb.config hid
Troubleshooting Instructions Section Can I send any keys?
yes looks like all keys work
Are your cables correctly connected?
yes
Is your NetHunter Android phone capable of emulating a keyboard?
- Check that the /dev/hidg0 device is present *yes*
- Check that the /system/xbin/hid-keyboard binary is present
*no I had to change and compile.*
The diag command will check that these files are present.
bash ./android-pin-bruteforce diag
N/a
Does your OTG cable work?
Yes
Does the script correctly send keys to a text editor in
Windows/Linux/MacOS?
Keys work
Can you send keys to Windows/Linux/Macos from the command line?
Yes
Can you send keys to the locked phone from the command line?
Same as above.
Does the phone accept keyboard input when it is locked?
This works
Did you try a different locked phone?
Same as above but with a different locked phone.
Sending the correct keys
works
What keys will bring up the PIN prompt?
Using a keyboard, try keys and combinations of keys including:
- CTRL + ESCAPE
- ESCAPE
- SPACE
*These all work*
What keys should be sent after the PIN is entered?
This is the issue I am having. I can't find this
Troubleshooting
I've tested sending key with keyboard and using the nethunter phone.
I ssh into the nethunter phone and start sending echo "enter" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard it'll I didn't find the submit for the PIN.
—
Reply to this email directly, view it on GitHub
<#156>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAY3FYD7OWCRTLEVHZPBLTZGOU4BAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DCOJWGU3TMMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
How can i clean my records from easybuy
On Tue, Jun 11, 2024, 9:57 AM Andrew Horton ***@***.***>
wrote:
… Try key combinations with enter like:
echo "ctrl + enter" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard
/dev/hidg0 keyboard
Kind regards,
Andrew Horton
On Sun, 9 Jun 2024 at 11:22 AM, Outlawed Earl ***@***.***>
wrote:
> Describe the bug
>
> After the first 4-digit PIN attempt, no “Enter” key doesn't submit PIN,
> and the screen continues with the next 4-digit PIN
>
> *To Reproduce*
> Steps to reproduce the behavior:
>
> 1.
>
> I have a OnePlus 7 Pro phone connected to a Blu G60 via cables OTG.
>
> 2.
>
> Nethunter is installed on the OnePlus phone.
>
> 3.
>
> Running sudo bash ./android-pin-bruteforce crack --length 4
>
>
> *Expected behavior*
> The 4-digit PIN should be submitted before the Next 4-digit PIN starts.
>
> *Screenshots*
> error4.gif (view on web)
> <
https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/f238df10-ddab-4ff1-8077-c4ddd4248b71>
> My phones
>
> - The make and model of my NetHunter Android phone : Oneplus 7 Pro
> GM1915
> - The make and model of my locked Android phone : Blu Smartphone model
> G60
>
> Can I send any keys
>
> It looks like I can send keys, but the normal one don't submit the
PIN's.
> when I submit an enter key I see the screen light up and same with the
> others.
>
> echo "enter" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard
>
> echo "space" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard
>
> echo "ctrl + esc" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard
>
> Sending the correct keys
>
> - What keys will bring up the PIN prompt?
> If I understand this its the ctrl + esc, but I'm not sure
> - What keys should be sent after the PIN is entered?
> This is my current issue.
>
> Troubleshooting
>
> -
>
> Did you try rebooting both phones?
> -
>
> Did you try unplugging and replugging the cables?
> -
>
> Did you try new cables including the OTG cable?
> -
>
> The output of the diag command
>
> Android PIN brute-force :: version 0.2
> [INFO] # Diagnostic info
> [PASS] HID device (/dev/hidg0) found
> crw-rw-rw-. 1 root root 480, 0 Jun 8 20:19 /dev/hidg0
> [PASS] hid-keyboard executable
(/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard) found
> -rwxr-xr-x. 1 root root 72480 May 28 22:46
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard
> [PASS] usb-devices executable (/usr/bin/usb-devices) found
> -rwxr-xr-x. 1 root root 4498 Jun 21 2023 /usr/bin/usb-devices
> [INFO] ## Executing Command: /usr/bin/usb-devices
> [PASS] usb-devices script executed succeessfully.
> [INFO] ## Finding Android Phone USB Device
> [INFO] Expected result, no device found.
> [INFO] ## Sending Enter Key
> [PASS] Key was sent succeessfully.
> [INFO] ## Executing Command: /system/bin/getprop |grep usb
> ./android-pin-bruteforce: line 180: /system/bin/getprop: cannot execute:
required file not found
>
> [INFO] ## Executing Command: dmesg | grep -i usb | tail
> [523939.689188] ***@***.*** msm-usb-ssphy-qmp 88e8000.ssphy: USB DP QMP
PHY: Update TYPEC CTRL(2)
> [523939.741987] ***@***.*** msm-dwc3 a600000.ssusb: DWC3 exited from low
power mode
> [523940.194430] android_work: sent uevent USB_STATE=CONNECTED
> [523940.199594] android_work: sent uevent USB_STATE=DISCONNECTED
> [523940.306389] SMBLIB: notify_usb_enumeration_function:
status=1,vbus_present:1
> [523940.322694] android_work: sent uevent USB_STATE=CONNECTED
> [523940.326330] usb_gadget_vbus_draw USB setting current is 500mA
> [523940.326508] android_work: sent uevent USB_STATE=CONFIGURED
> [523940.882021] SMBLIB: smbchg_re_det_work: re_det, usb_enum_status
> [523942.556763] ***@***.*** SMBLIB: smblib_update_usb_type:
pm8150b_charger: smblib_update_usb_type: APSD=SDP PD=0 dash_on=0
real_charger_type=4
>
> [INFO] # Troubleshooting tips
> - Check the NetHunter phone is succesfully emulating a keyboard by
connecting it to a computer with a regular charging/data USB cable. Open a
text editor like Notepad and you should see it sending PINs. Note that you
do not need an OTG cable for this.
> - Check the Nethunter phone has a regular USB cable attached, and the
locked phone has an OTG adaptor attached.
> - Try using different cables/adaptors. You may have a faulty
cable/adaptor.
> - Perform a hard reset of both phones by holding down the power button
for 20 seconds.
> - Try this command: /system/bin/setprop sys.usb.config hid
>
> Troubleshooting Instructions Section Can I send any keys?
>
> yes looks like all keys work
> Are your cables correctly connected?
>
> yes
> Is your NetHunter Android phone capable of emulating a keyboard?
>
> - Check that the /dev/hidg0 device is present *yes*
> - Check that the /system/xbin/hid-keyboard binary is present
> *no I had to change and compile.*
>
> The diag command will check that these files are present.
> bash ./android-pin-bruteforce diag
>
> N/a
> Does your OTG cable work?
>
> Yes
> Does the script correctly send keys to a text editor in
> Windows/Linux/MacOS?
>
> Keys work
> Can you send keys to Windows/Linux/Macos from the command line?
>
> Yes
> Can you send keys to the locked phone from the command line?
>
> Same as above.
> Does the phone accept keyboard input when it is locked?
>
> This works
> Did you try a different locked phone?
>
> Same as above but with a different locked phone.
> Sending the correct keys
>
> works
> What keys will bring up the PIN prompt?
>
> Using a keyboard, try keys and combinations of keys including:
>
> - CTRL + ESCAPE
> - ESCAPE
> - SPACE
> *These all work*
>
> What keys should be sent after the PIN is entered?
>
> This is the issue I am having. I can't find this
> Troubleshooting
>
> I've tested sending key with keyboard and using the nethunter phone.
> I ssh into the nethunter phone and start sending echo "enter" |
> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
> keyboard it'll I didn't find the submit for the PIN.
>
> —
> Reply to this email directly, view it on GitHub
> <#156>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAAY3FYD7OWCRTLEVHZPBLTZGOU4BAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DCOJWGU3TMMI>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#156 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BHUT5I5F7CLVPSTNMNZTYPTZG23V5AVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGE3DKOBUHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
So.... I tried "ctrl + enter" after sending the phone screen would turn on but after going to the PIN prompt. I submitted again and the same result PIN would not submit. I also got the error unknown option: + Then I removed the + and only sent "ctrl enter" and still didn't submit the PIN... Let me know if you have any other suggestions Thanks |
I would try plugging in a keyboard via an OTG cable and try different key
combinations until you find something.
Then see if you can send those keys using the
echo "some combination of keys" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard > /dev/hidg0
keyboard
When that's done, you can edit the config file
On Wed, 12 Jun 2024 at 12:52, Outlawed Earl ***@***.***>
wrote:
… Try key combinations with enter like: echo "ctrl + enter" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard Kind regards, Andrew Horton
… <#m_-7358439783789878590_>
On Sun, 9 Jun 2024 at 11:22 AM, Outlawed Earl *@*.*> wrote: Describe the
bug After the first 4-digit PIN attempt, no “Enter” key doesn't submit PIN,
and the screen continues with the next 4-digit PIN To Reproduce Steps to
reproduce the behavior: 1. I have a OnePlus 7 Pro phone connected to a Blu
G60 via cables OTG. 2. Nethunter is installed on the OnePlus phone. 3.
Running sudo bash ./android-pin-bruteforce crack --length 4 Expected
behavior The 4-digit PIN should be submitted before the Next 4-digit PIN
starts. Screenshots error4.gif (view on web)
https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/f238df10-ddab-4ff1-8077-c4ddd4248b71
<https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/f238df10-ddab-4ff1-8077-c4ddd4248b71>
My phones - The make and model of my NetHunter Android phone : Oneplus 7
Pro GM1915 - The make and model of my locked Android phone : Blu Smartphone
model G60 Can I send any keys It looks like I can send keys, but the normal
one don't submit the PIN's. when I submit an enter key I see the screen
light up and same with the others. echo "enter" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard echo "space" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard echo "ctrl + esc" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard Sending the correct keys - What keys will bring up the PIN prompt?
If I understand this its the ctrl + esc, but I'm not sure - What keys
should be sent after the PIN is entered? This is my current issue.
Troubleshooting - Did you try rebooting both phones? - Did you try
unplugging and replugging the cables? - Did you try new cables including
the OTG cable? - The output of the diag command Android PIN brute-force ::
version 0.2 [INFO] # Diagnostic info [PASS] HID device (/dev/hidg0) found
crw-rw-rw-. 1 root root 480, 0 Jun 8 20:19 /dev/hidg0 [PASS] hid-keyboard
executable (/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard)
found -rwxr-xr-x. 1 root root 72480 May 28 22:46
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard [PASS]
usb-devices executable (/usr/bin/usb-devices) found -rwxr-xr-x. 1 root root
4498 Jun 21 2023 /usr/bin/usb-devices [INFO] ## Executing Command:
/usr/bin/usb-devices [PASS] usb-devices script executed succeessfully.
[INFO] ## Finding Android Phone USB Device [INFO] Expected result, no
device found. [INFO] ## Sending Enter Key [PASS] Key was sent
succeessfully. [INFO] ## Executing Command: /system/bin/getprop |grep usb
./android-pin-bruteforce: line 180: /system/bin/getprop: cannot execute:
required file not found [INFO] ## Executing Command: dmesg | grep -i usb |
tail [523939.689188] @.* msm-usb-ssphy-qmp 88e8000.ssphy: USB DP QMP PHY:
Update TYPEC CTRL(2) [523939.741987] *@*.*** msm-dwc3 a600000.ssusb: DWC3
exited from low power mode [523940.194430] android_work: sent uevent
USB_STATE=CONNECTED [523940.199594] android_work: sent uevent
USB_STATE=DISCONNECTED [523940.306389] SMBLIB:
notify_usb_enumeration_function: status=1,vbus_present:1 [523940.322694]
android_work: sent uevent USB_STATE=CONNECTED [523940.326330]
usb_gadget_vbus_draw USB setting current is 500mA [523940.326508]
android_work: sent uevent USB_STATE=CONFIGURED [523940.882021] SMBLIB:
smbchg_re_det_work: re_det, usb_enum_status [523942.556763] *@*.***
SMBLIB: smblib_update_usb_type: pm8150b_charger: smblib_update_usb_type:
APSD=SDP PD=0 dash_on=0 real_charger_type=4 [INFO] # Troubleshooting tips -
Check the NetHunter phone is succesfully emulating a keyboard by connecting
it to a computer with a regular charging/data USB cable. Open a text editor
like Notepad and you should see it sending PINs. Note that you do not need
an OTG cable for this. - Check the Nethunter phone has a regular USB cable
attached, and the locked phone has an OTG adaptor attached. - Try using
different cables/adaptors. You may have a faulty cable/adaptor. - Perform a
hard reset of both phones by holding down the power button for 20 seconds.
- Try this command: /system/bin/setprop sys.usb.config hid Troubleshooting
Instructions Section Can I send any keys? yes looks like all keys work Are
your cables correctly connected? yes Is your NetHunter Android phone
capable of emulating a keyboard? - Check that the /dev/hidg0 device is
present *yes* - Check that the /system/xbin/hid-keyboard binary is
present *no I had to change and compile.* The diag command will check
that these files are present. bash ./android-pin-bruteforce diag N/a Does
your OTG cable work? Yes Does the script correctly send keys to a text
editor in Windows/Linux/MacOS? Keys work Can you send keys to
Windows/Linux/Macos from the command line? Yes Can you send keys to the
locked phone from the command line? Same as above. Does the phone accept
keyboard input when it is locked? This works Did you try a different locked
phone? Same as above but with a different locked phone. Sending the correct
keys works What keys will bring up the PIN prompt? Using a keyboard, try
keys and combinations of keys including: - CTRL + ESCAPE - ESCAPE - SPACE *These
all work* What keys should be sent after the PIN is entered? This is the
issue I am having. I can't find this Troubleshooting I've tested sending
key with keyboard and using the nethunter phone. I ssh into the nethunter
phone and start sending echo "enter" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
keyboard it'll I didn't find the submit for the PIN. — Reply to this email
directly, view it on GitHub <#156
<#156>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAY3FYD7OWCRTLEVHZPBLTZGOU4BAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DCOJWGU3TMMI
. You are receiving this because you are subscribed to this thread.Message
ID: *@*.***>
So.... I tried "ctrl + enter" after sending the phone screen would turn on
but after going to the PIN prompt. I submitted again and the same result
PIN would not submit. I also got the error unknown option: +
image.png (view on web)
<https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/7ffd78a9-a5ec-4461-8301-41c7283e5896>
Then I removed the + and only sent "ctrl enter" and still didn't submit
the PIN...
Let me know if you have any other suggestions
Thanks
—
Reply to this email directly, view it on GitHub
<#156 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAY3FZMQDTVDQ47SCVYWWDZG6ZXDAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSGAYDIOJWGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Kind regards,
Andrew Horton
|
So….. I saw the same suggestion and tried with a keyboard. The weird thing is I could submit the PIN using the “enter” key. This only worked once, and I couldn’t submit any more pins until I clicked the PIN. If iIt’s able to work on the keyboard, then I’m not sure why this isn’t working when I submit a key using Nethunter.
…On Tue, Jun 11, 2024 at 23:50, Andrew Horton ***@***.***(mailto:On Tue, Jun 11, 2024 at 23:50, Andrew Horton <<a href=)> wrote:
I would try plugging in a keyboard via an OTG cable and try different key
combinations until you find something.
Then see if you can send those keys using the
echo "some combination of keys" |
/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard > /dev/hidg0
keyboard
When that's done, you can edit the config file
On Wed, 12 Jun 2024 at 12:52, Outlawed Earl ***@***.***>
wrote:
> Try key combinations with enter like: echo "ctrl + enter" |
> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
> keyboard Kind regards, Andrew Horton
> … <#m_-7358439783789878590_>
> On Sun, 9 Jun 2024 at 11:22 AM, Outlawed Earl *@*.*> wrote: Describe the
> bug After the first 4-digit PIN attempt, no “Enter” key doesn't submit PIN,
> and the screen continues with the next 4-digit PIN To Reproduce Steps to
> reproduce the behavior: 1. I have a OnePlus 7 Pro phone connected to a Blu
> G60 via cables OTG. 2. Nethunter is installed on the OnePlus phone. 3.
> Running sudo bash ./android-pin-bruteforce crack --length 4 Expected
> behavior The 4-digit PIN should be submitted before the Next 4-digit PIN
> starts. Screenshots error4.gif (view on web)
> https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/f238df10-ddab-4ff1-8077-c4ddd4248b71
> <https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/f238df10-ddab-4ff1-8077-c4ddd4248b71>
> My phones - The make and model of my NetHunter Android phone : Oneplus 7
> Pro GM1915 - The make and model of my locked Android phone : Blu Smartphone
> model G60 Can I send any keys It looks like I can send keys, but the normal
> one don't submit the PIN's. when I submit an enter key I see the screen
> light up and same with the others. echo "enter" |
> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
> keyboard echo "space" |
> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
> keyboard echo "ctrl + esc" |
> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
> keyboard Sending the correct keys - What keys will bring up the PIN prompt?
> If I understand this its the ctrl + esc, but I'm not sure - What keys
> should be sent after the PIN is entered? This is my current issue.
> Troubleshooting - Did you try rebooting both phones? - Did you try
> unplugging and replugging the cables? - Did you try new cables including
> the OTG cable? - The output of the diag command Android PIN brute-force ::
> version 0.2 [INFO] # Diagnostic info [PASS] HID device (/dev/hidg0) found
> crw-rw-rw-. 1 root root 480, 0 Jun 8 20:19 /dev/hidg0 [PASS] hid-keyboard
> executable (/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard)
> found -rwxr-xr-x. 1 root root 72480 May 28 22:46
> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard [PASS]
> usb-devices executable (/usr/bin/usb-devices) found -rwxr-xr-x. 1 root root
> 4498 Jun 21 2023 /usr/bin/usb-devices [INFO] ## Executing Command:
> /usr/bin/usb-devices [PASS] usb-devices script executed succeessfully.
> [INFO] ## Finding Android Phone USB Device [INFO] Expected result, no
> device found. [INFO] ## Sending Enter Key [PASS] Key was sent
> succeessfully. [INFO] ## Executing Command: /system/bin/getprop |grep usb
> ./android-pin-bruteforce: line 180: /system/bin/getprop: cannot execute:
> required file not found [INFO] ## Executing Command: dmesg | grep -i usb |
> tail [523939.689188] @.* msm-usb-ssphy-qmp 88e8000.ssphy: USB DP QMP PHY:
> Update TYPEC CTRL(2) [523939.741987] *@*.*** msm-dwc3 a600000.ssusb: DWC3
> exited from low power mode [523940.194430] android_work: sent uevent
> USB_STATE=CONNECTED [523940.199594] android_work: sent uevent
> USB_STATE=DISCONNECTED [523940.306389] SMBLIB:
> notify_usb_enumeration_function: status=1,vbus_present:1 [523940.322694]
> android_work: sent uevent USB_STATE=CONNECTED [523940.326330]
> usb_gadget_vbus_draw USB setting current is 500mA [523940.326508]
> android_work: sent uevent USB_STATE=CONFIGURED [523940.882021] SMBLIB:
> smbchg_re_det_work: re_det, usb_enum_status [523942.556763] *@*.***
> SMBLIB: smblib_update_usb_type: pm8150b_charger: smblib_update_usb_type:
> APSD=SDP PD=0 dash_on=0 real_charger_type=4 [INFO] # Troubleshooting tips -
> Check the NetHunter phone is succesfully emulating a keyboard by connecting
> it to a computer with a regular charging/data USB cable. Open a text editor
> like Notepad and you should see it sending PINs. Note that you do not need
> an OTG cable for this. - Check the Nethunter phone has a regular USB cable
> attached, and the locked phone has an OTG adaptor attached. - Try using
> different cables/adaptors. You may have a faulty cable/adaptor. - Perform a
> hard reset of both phones by holding down the power button for 20 seconds.
> - Try this command: /system/bin/setprop sys.usb.config hid Troubleshooting
> Instructions Section Can I send any keys? yes looks like all keys work Are
> your cables correctly connected? yes Is your NetHunter Android phone
> capable of emulating a keyboard? - Check that the /dev/hidg0 device is
> present *yes* - Check that the /system/xbin/hid-keyboard binary is
> present *no I had to change and compile.* The diag command will check
> that these files are present. bash ./android-pin-bruteforce diag N/a Does
> your OTG cable work? Yes Does the script correctly send keys to a text
> editor in Windows/Linux/MacOS? Keys work Can you send keys to
> Windows/Linux/Macos from the command line? Yes Can you send keys to the
> locked phone from the command line? Same as above. Does the phone accept
> keyboard input when it is locked? This works Did you try a different locked
> phone? Same as above but with a different locked phone. Sending the correct
> keys works What keys will bring up the PIN prompt? Using a keyboard, try
> keys and combinations of keys including: - CTRL + ESCAPE - ESCAPE - SPACE *These
> all work* What keys should be sent after the PIN is entered? This is the
> issue I am having. I can't find this Troubleshooting I've tested sending
> key with keyboard and using the nethunter phone. I ssh into the nethunter
> phone and start sending echo "enter" |
> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
> keyboard it'll I didn't find the submit for the PIN. — Reply to this email
> directly, view it on GitHub <#156
> <#156>>,
> or unsubscribe
> https://github.com/notifications/unsubscribe-auth/AAAY3FYD7OWCRTLEVHZPBLTZGOU4BAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DCOJWGU3TMMI
> . You are receiving this because you are subscribed to this thread.Message
> ID: *@*.***>
>
> So.... I tried "ctrl + enter" after sending the phone screen would turn on
> but after going to the PIN prompt. I submitted again and the same result
> PIN would not submit. I also got the error unknown option: +
> image.png (view on web)
> <https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/7ffd78a9-a5ec-4461-8301-41c7283e5896>
>
> Then I removed the + and only sent "ctrl enter" and still didn't submit
> the PIN...
>
> Let me know if you have any other suggestions
>
> Thanks
>
> —
> Reply to this email directly, view it on GitHub
> <#156 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAAY3FZMQDTVDQ47SCVYWWDZG6ZXDAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSGAYDIOJWGQ>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
--
Kind regards,
Andrew Horton
—
Reply to this email directly, [view it on GitHub](#156 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ASVR4HRFINHZBSYD64EANXLZG7ORDAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSGE2TOMJTGM).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Keep experimenting with the keyboard until you can figure out what needs to
be sent. Also look at the config for keys sent between each PIN like two
escapes.
Look at arrow keys etc too
Kind regards,
Andrew Horton
On Wed, 12 Jun 2024 at 9:10 PM, Outlawed Earl ***@***.***>
wrote:
… So….. I saw the same suggestion and tried with a keyboard. The weird thing
is I could submit the PIN using the “enter” key. This only worked once, and
I couldn’t submit any more pins until I clicked the PIN. If iIt’s able to
work on the keyboard, then I’m not sure why this isn’t working when I
submit a key using Nethunter.
On Tue, Jun 11, 2024 at 23:50, Andrew Horton ***@***.***(mailto:On Tue,
Jun 11, 2024 at 23:50, Andrew Horton <<a href=)> wrote:
> I would try plugging in a keyboard via an OTG cable and try different key
> combinations until you find something.
>
> Then see if you can send those keys using the
> echo "some combination of keys" |
> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard > /dev/hidg0
> keyboard
>
> When that's done, you can edit the config file
>
> On Wed, 12 Jun 2024 at 12:52, Outlawed Earl ***@***.***>
> wrote:
>
>> Try key combinations with enter like: echo "ctrl + enter" |
>> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
>> keyboard Kind regards, Andrew Horton
>> … <#m_-7358439783789878590_>
>> On Sun, 9 Jun 2024 at 11:22 AM, Outlawed Earl *@*.*> wrote: Describe the
>> bug After the first 4-digit PIN attempt, no “Enter” key doesn't submit
PIN,
>> and the screen continues with the next 4-digit PIN To Reproduce Steps to
>> reproduce the behavior: 1. I have a OnePlus 7 Pro phone connected to a
Blu
>> G60 via cables OTG. 2. Nethunter is installed on the OnePlus phone. 3.
>> Running sudo bash ./android-pin-bruteforce crack --length 4 Expected
>> behavior The 4-digit PIN should be submitted before the Next 4-digit PIN
>> starts. Screenshots error4.gif (view on web)
>>
https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/f238df10-ddab-4ff1-8077-c4ddd4248b71
>> <
https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/f238df10-ddab-4ff1-8077-c4ddd4248b71
>
>> My phones - The make and model of my NetHunter Android phone : Oneplus 7
>> Pro GM1915 - The make and model of my locked Android phone : Blu
Smartphone
>> model G60 Can I send any keys It looks like I can send keys, but the
normal
>> one don't submit the PIN's. when I submit an enter key I see the screen
>> light up and same with the others. echo "enter" |
>> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
>> keyboard echo "space" |
>> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
>> keyboard echo "ctrl + esc" |
>> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
>> keyboard Sending the correct keys - What keys will bring up the PIN
prompt?
>> If I understand this its the ctrl + esc, but I'm not sure - What keys
>> should be sent after the PIN is entered? This is my current issue.
>> Troubleshooting - Did you try rebooting both phones? - Did you try
>> unplugging and replugging the cables? - Did you try new cables including
>> the OTG cable? - The output of the diag command Android PIN brute-force
::
>> version 0.2 [INFO] # Diagnostic info [PASS] HID device (/dev/hidg0)
found
>> crw-rw-rw-. 1 root root 480, 0 Jun 8 20:19 /dev/hidg0 [PASS]
hid-keyboard
>> executable
(/etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard)
>> found -rwxr-xr-x. 1 root root 72480 May 28 22:46
>> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard [PASS]
>> usb-devices executable (/usr/bin/usb-devices) found -rwxr-xr-x. 1 root
root
>> 4498 Jun 21 2023 /usr/bin/usb-devices [INFO] ## Executing Command:
>> /usr/bin/usb-devices [PASS] usb-devices script executed succeessfully.
>> [INFO] ## Finding Android Phone USB Device [INFO] Expected result, no
>> device found. [INFO] ## Sending Enter Key [PASS] Key was sent
>> succeessfully. [INFO] ## Executing Command: /system/bin/getprop |grep
usb
>> ./android-pin-bruteforce: line 180: /system/bin/getprop: cannot execute:
>> required file not found [INFO] ## Executing Command: dmesg | grep -i
usb |
>> tail [523939.689188] @.* msm-usb-ssphy-qmp 88e8000.ssphy: USB DP QMP
PHY:
>> Update TYPEC CTRL(2) [523939.741987] *@*.*** msm-dwc3 a600000.ssusb:
DWC3
>> exited from low power mode [523940.194430] android_work: sent uevent
>> USB_STATE=CONNECTED [523940.199594] android_work: sent uevent
>> USB_STATE=DISCONNECTED [523940.306389] SMBLIB:
>> notify_usb_enumeration_function: status=1,vbus_present:1 [523940.322694]
>> android_work: sent uevent USB_STATE=CONNECTED [523940.326330]
>> usb_gadget_vbus_draw USB setting current is 500mA [523940.326508]
>> android_work: sent uevent USB_STATE=CONFIGURED [523940.882021] SMBLIB:
>> smbchg_re_det_work: re_det, usb_enum_status [523942.556763] *@*.***
>> SMBLIB: smblib_update_usb_type: pm8150b_charger: smblib_update_usb_type:
>> APSD=SDP PD=0 dash_on=0 real_charger_type=4 [INFO] # Troubleshooting
tips -
>> Check the NetHunter phone is succesfully emulating a keyboard by
connecting
>> it to a computer with a regular charging/data USB cable. Open a text
editor
>> like Notepad and you should see it sending PINs. Note that you do not
need
>> an OTG cable for this. - Check the Nethunter phone has a regular USB
cable
>> attached, and the locked phone has an OTG adaptor attached. - Try using
>> different cables/adaptors. You may have a faulty cable/adaptor. -
Perform a
>> hard reset of both phones by holding down the power button for 20
seconds.
>> - Try this command: /system/bin/setprop sys.usb.config hid
Troubleshooting
>> Instructions Section Can I send any keys? yes looks like all keys work
Are
>> your cables correctly connected? yes Is your NetHunter Android phone
>> capable of emulating a keyboard? - Check that the /dev/hidg0 device is
>> present *yes* - Check that the /system/xbin/hid-keyboard binary is
>> present *no I had to change and compile.* The diag command will check
>> that these files are present. bash ./android-pin-bruteforce diag N/a
Does
>> your OTG cable work? Yes Does the script correctly send keys to a text
>> editor in Windows/Linux/MacOS? Keys work Can you send keys to
>> Windows/Linux/Macos from the command line? Yes Can you send keys to the
>> locked phone from the command line? Same as above. Does the phone accept
>> keyboard input when it is locked? This works Did you try a different
locked
>> phone? Same as above but with a different locked phone. Sending the
correct
>> keys works What keys will bring up the PIN prompt? Using a keyboard, try
>> keys and combinations of keys including: - CTRL + ESCAPE - ESCAPE -
SPACE *These
>> all work* What keys should be sent after the PIN is entered? This is the
>> issue I am having. I can't find this Troubleshooting I've tested sending
>> key with keyboard and using the nethunter phone. I ssh into the
nethunter
>> phone and start sending echo "enter" |
>> /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0
>> keyboard it'll I didn't find the submit for the PIN. — Reply to this
email
>> directly, view it on GitHub <#156
>> <#156
>>,
>> or unsubscribe
>>
https://github.com/notifications/unsubscribe-auth/AAAY3FYD7OWCRTLEVHZPBLTZGOU4BAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DCOJWGU3TMMI
>> . You are receiving this because you are subscribed to this
thread.Message
>> ID: *@*.***>
>>
>> So.... I tried "ctrl + enter" after sending the phone screen would turn
on
>> but after going to the PIN prompt. I submitted again and the same result
>> PIN would not submit. I also got the error unknown option: +
>> image.png (view on web)
>> <
https://github.com/urbanadventurer/Android-PIN-Bruteforce/assets/78323230/7ffd78a9-a5ec-4461-8301-41c7283e5896
>
>>
>> Then I removed the + and only sent "ctrl enter" and still didn't submit
>> the PIN...
>>
>> Let me know if you have any other suggestions
>>
>> Thanks
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <
#156 (comment)
>,
>> or unsubscribe
>> <
https://github.com/notifications/unsubscribe-auth/AAAY3FZMQDTVDQ47SCVYWWDZG6ZXDAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSGAYDIOJWGQ
>
>> .
>> You are receiving this because you commented.Message ID:
>> ***@***.***>
>>
>
> --
> Kind regards,
> Andrew Horton
>
> —
> Reply to this email directly, [view it on GitHub](
#156 (comment)),
or [unsubscribe](
https://github.com/notifications/unsubscribe-auth/ASVR4HRFINHZBSYD64EANXLZG7ORDAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSGE2TOMJTGM
).
> You are receiving this because you authored the thread.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub
<#156 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAY3FYWZFZT7GH65YAQECDZHAUDHAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSG4ZTSNJTGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I am having the exact same issue! |
Yeah, I’m still troubleshooting. I’m having an issue where when I plug in the keyboard, I’m getting different key responses than when I use Net Hunter.
…On Mon, Jun 17, 2024, at 06:26, heskez ***@***.***(mailto:On Mon, Jun 17, 2024 at 06:26, heskez <<a href=)> wrote:
I am having the exact same issue!
—
Reply to this email directly, [view it on GitHub](#156 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ASVR4HXAVVWUQXO43KDWKQTZH3IVRAVCNFSM6AAAAABJANYSYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZTGI3DEMBYHE).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I hooked my nethunter phone to my laptop and started the script I got something like: e1234eee5555eee7777eee etc |
Tried to adjust his: into -> function send_enter() { But no luck... |
Nobody expercienced these kind of issues? Also I'd expected HEX as output but looks like it's decimal looking at these chars e1234eee5555eee7777eee |
Describe the bug
After the first 4-digit PIN attempt, no “Enter” key doesn't submit PIN, and the screen continues with the next 4-digit PIN
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The 4-digit PIN should be submitted before the Next 4-digit PIN starts.
Screenshots
My phones
Can I send any keys
It looks like I can send keys, but the normal one don't submit the PIN's. when I submit an enter key I see the screen light up and same with the others.
Sending the correct keys
If I understand this its the ctrl + esc, but I'm not sure
This is my current issue.
Troubleshooting
Did you try rebooting both phones?
Did you try unplugging and replugging the cables?
Did you try new cables including the OTG cable?
The output of the diag command
Troubleshooting Instructions Section
Can I send any keys?
yes looks like all keys work
Are your cables correctly connected?
yes
Is your NetHunter Android phone capable of emulating a keyboard?
/dev/hidg0
device is present yes/system/xbin/hid-keyboard
binary is presentno I had to change and compile.
The diag command will check that these files are present.
bash ./android-pin-bruteforce diag
N/a
Does your OTG cable work?
Yes
Does the script correctly send keys to a text editor in Windows/Linux/MacOS?
Keys work
Can you send keys to Windows/Linux/Macos from the command line?
Yes
Can you send keys to the locked phone from the command line?
Same as above.
Does the phone accept keyboard input when it is locked?
This works
Did you try a different locked phone?
Same as above but with a different locked phone.
Sending the correct keys
works
What keys will bring up the PIN prompt?
Using a keyboard, try keys and combinations of keys including:
These all work
What keys should be sent after the PIN is entered?
This is the issue I am having. I can't find this
Troubleshooting
I've tested sending key with keyboard and using the nethunter phone.
I ssh into the nethunter phone and start sending echo
"enter" | /etc/Android-PIN-Bruteforce-master/hid-keyboard/hid-keyboard /dev/hidg0 keyboard
it'll I didn't find the submit for the PIN.The text was updated successfully, but these errors were encountered: