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

L3-Dumping Setup Last Part Not Working #2

Open
Wandererinchaos007 opened this issue Aug 20, 2023 · 11 comments
Open

L3-Dumping Setup Last Part Not Working #2

Wandererinchaos007 opened this issue Aug 20, 2023 · 11 comments

Comments

@Wandererinchaos007
Copy link

Wandererinchaos007 commented Aug 20, 2023

Hope you're well. As stated in the title, having trouble with the final part of the setup. OF DL working fine but got hit with some drm protected videos. Immediately went and tried to set this up to download them but having a problem.

"Double click run.bat after modifying + saving frida.bat and dumpkeys.bat whilst your virtual device is running, you should see 2 command prompt windows appear, wait a few seconds and on your virtual device open Google Chrome and go to https://bitmovin.com/demos/drm, if a popup appears click Allow and continue to play the video for a few seconds. If you've done everything correctly then you should be able to head to your dumper-main folder and a folder called key_dumps should have been created, within that folder should be some more folders and eventually you should be able to find your device_client_id_blob and device_private_key files."

Both command prompts do appear but no folder called key dumps is there thus i canot find my device client id blob and private key files which are needed. please help asap. A video tutorial showing this specific part would have been extremely helpful. i dont get an allow message either when clicking that link and watching the video.

these are what i get in the when i open run:

"Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Press any key to continue . . ." - that is from the dumpkeys cmd

"* daemon not running; starting now at tcp:****

  • daemon started successfully
    adb: error: failed to get feature set: device offline
    mv: /data/local/tmp/frida-server-16.1.3-android-x86: Text file busy
    Unable to start: Error binding to address *******: Address already in use"

i replaced the numbers with stars obviously but those are the erros i get and no folder to find. let me know what i did wrong. i assume i did something wrong with the file paths in the editing? it would have been helpful to see a video guide for this specific part as well. Setting up the device and everything else went smoothly.

@Burdybot
Copy link

Same problem here!

@sim0n00ps
Copy link
Owner

Well first of all you need python to be installed in order to run the dump_keys.py so that's probably your issue. Download and install it from https://www.python.org/

@Burdybot
Copy link

I think I responded to the wrong issue here somehow... My problem was the wrong version of protobuf (had to downgrade it). All works well after that, great tool. :)

@Wandererinchaos007
Copy link
Author

Wandererinchaos007 commented Aug 28, 2023

Well first of all you need python to be installed in order to run the dump_keys.py so that's probably your issue. Download and install it from https://www.python.org/

Okay, Python installed. Same issue "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Press any key to continue . . ."

and "frida-server-16.1.3-android-x86: 1 file pushed, 0 skipped. 264.0 MB/s (51595900 bytes in 0.186s)
mv: /data/local/tmp/frida-server-16.1.3-android-x86: Text file busy
Unable to start: Error binding to address *******: Address already in use" in the other command prompt
Unable to start: Error binding to address *******: Address already in use" in the other command prompt

The person above me said protobuf. I have that and the other pycrytodome. Sorry, this is quite complicated compared to the others , the setup guide assumes we're proficient with python and setting it up. it doesn't exactly cover everything step by step. I haven't used Python in ages, ive spent a while trying to get it all installed and setup.

I've got the android device and everything else setup, I am awfully close. it would be most appreciated if you or the other person in this thread or somebody clearly explains how to setup python and install the packages to get them working in tandem with the setup bat files and android devices. If not, fine. it's a shame the drm guide which is more needed doesn't have much of a detailed and clearer guide compared to the standard non drm program. :/

@sim0n00ps
Copy link
Owner

When you installed Python did you click the checkbox in the setup tool to add Python to PATH, if not then that might be your issue. You can Google how to add Python to PATH, try doing that and see if you get any success. The version of protobuf is 3.20.3, you can get it by running pip install protobuf==3.20.3

@Wandererinchaos007
Copy link
Author

When you installed Python did you click the checkbox in the setup tool to add Python to PATH, if not then that might be your issue. You can Google how to add Python to PATH, try doing that and see if you get any success. The version of protobuf is 3.20.3, you can get it by running pip install protobuf==3.20.3

alright did that.

Now im getting an error saying "traceback (most recent call last):
File "C:\Users***\dumper-main\dumper-main\dump_keys.py", line 4, in
import frida
ModuleNotFoundError: No module named 'frida'

other window says:

frida-server-16.1.3-android-x86: 1 file pushed, 0 skipped. 165.4 MB/s (51595900 bytes in 0.297s)
mv: /data/local/tmp/frida-server-16.1.3-android-x86: Text file busy
Unable to start: Error binding to address **********: Address already in use

@sim0n00ps
Copy link
Owner

Run pip install frida and you probably want to delete the phone as well and re-create one to remove the other error

@Wandererinchaos007
Copy link
Author

Run pip install frida and you probably want to delete the phone as well and re-create one to remove the other error

Ran pip install frida, version is up to date and matches up to server file in platform tools. deleted phone and re created as instructed. got this:

"traceback (most recent call last):
File "C:\Users**\dumper-main\dumper-main\dump_keys.py", line 6, in
from Helpers.Scanner import Scan
File "C:\Users**
\dumper-main\dumper-main\Helpers\Scanner.py", line 3, in
from Crypto.PublicKey import RSA
ModuleNotFoundError: No module named 'Crypto'
Press any key to continue . . ."

other window:

"frida-server-16.1.3-android-x86: 1 file pushed, 0 skipped. 230.5 MB/s (51595900 bytes in 0.213s)
mv: /data/local/tmp/frida-server-16.1.3-android-x86: Text file busy
Unable to start: Error binding to address *********: Address already in use"

@sim0n00ps
Copy link
Owner

Okay run pip install pycryptodome (this should be the last thing you need to install) and then delete the phone again, hopefully that works

@Wandererinchaos007
Copy link
Author

Okay run pip install pycryptodome (this should be the last thing you need to install) and then delete the phone again, hopefully that works

Sorry for the late reply. Just got back now.

Tried that, folder still isn't showing up.

got this message:

"Traceback (most recent call last):
File "C:\Users**\Downloads\dumper-main\dumper-main\dump_keys.py", line 6, in
from Helpers.Scanner import Scan
File "C:\Users*
******\dumper-main\dumper-main\Helpers\Scanner.py", line 4, in
from google.protobuf import message
ModuleNotFoundError: No module named 'google'
Press any key to continue . . ."

frida window says this
"frida-server-16.1.3-android-x86: 1 file pushed, 0 skipped. 235.5 MB/s (51595900 bytes in 0.209s)
Press any key to continue . . ."

@Wandererinchaos007
Copy link
Author

Okay run pip install pycryptodome (this should be the last thing you need to install) and then delete the phone again, hopefully that works

Sorry for the late reply. Just got back now.

Tried that, folder still isn't showing up.

got this message:

"Traceback (most recent call last): File "C:\Users**\Downloads\dumper-main\dumper-main\dump_keys.py", line 6, in from Helpers.Scanner import Scan File "C:\Users*******\dumper-main\dumper-main\Helpers\Scanner.py", line 4, in from google.protobuf import message ModuleNotFoundError: No module named 'google' Press any key to continue . . ."

frida window says this "frida-server-16.1.3-android-x86: 1 file pushed, 0 skipped. 235.5 MB/s (51595900 bytes in 0.209s) Press any key to continue . . ."

Nevermind...did a bit of digging. Hopefully anybody else who comes across this thread benefits from the info here.

So for the no module named google issue I made sure to delete the phone again first, then opened up command prompt and ran
pip install google-cloud
pip install google-cloud-vision

Do those 2 separately one after the other in command prompt.

after that i got an error regarding downgrading/upgrading protobuf version so went to command prompt again I ran:
pip install --upgrade "protobuf<=3.20.1"

that finally got the dump keys bat file window working for me you get a bunch of text scrolling down before it goes blank and frida bat file window shows the same line as i posted before. followed the instructions ran the video on the virtual device and i got the keys folder after that. Finally.

Thanks for the help sim0n00ps and I hope this and this thread in general helps anybody else facing issues!

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

3 participants