Guide Guide for getting DRM content. (WIP)

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png
This is just a guide that should make getting DRM content easier.
Yes there are already some guides. But I just want to make one that even a non tech-savvy could understand, follow and find.

This guide will go through the process of installing python and the needed tools to get DRM protected content
The guide will be split into multiple parts.

Mac OS users, please head to this guide: https://simpcity.su/threads/guide-for-getting-drm-content-wip.181199/post-2964404

Python, PIP and Frida installation


First things first.
Download Python from this site:
Please, Log in or Register to see links and images
and get the latest version*. (Not the pre-release one)
imaged3e223c29e6285802afdef1f9d1aac74.png

* The latest version of time of writing is 3.11.4

Open up the installer and make sure to press "Add python to PATH"
imagee7f1d6ad0010d14cf8ad44a669a8f4da.png

After selecting that option press install and wait till it's done.

To make sure it is installed properly, open up Terminal (Windows 11) or Powershell (Windows 10/11) and type:
Please, Log in or Register to view quotes
That should give you the following result*
image765cc619e34204def412803d9e7e86a6.png

* Version my differ depending on what version is the latest version over time.

With the installation of Python comes the pip package. To check if its installed type in a Terminal or Powershell:
Please, Log in or Register to view quotes
That should also give you the following result*
imageae348137ffe8698df63e5d3d7d7f9eaa.png

* Again version my differ over time.


Please, Log in or Register to view spoilers

To install frida head into a Terminal or Powershell and type:
Please, Log in or Register to view quotes
Make sure to note somewhere what version got installed which is important later on. * (Version is marked in yellow)
imageea78932d4cb8e33585dc9c7221e1e3ef.png

* Versions can be different for you so double check.

Then you need frida-tools which can be installed by typing in Terminal or Powershell:
Please, Log in or Register to view quotes
image8f728664c556403ddac491292314ffea.png


Android Studio installation and creating your first virtual phone


Download Android Studio
Please, Log in or Register to see links and images

image89bba58e835b5b9102388c5823e494d1.png


And go through the setup of installing.

After installing open up Android Studio.
You can leave most settings on default. Then when it comes to the licenses click accept on all of them till the finish button gets highlighted.
image34ec2151a8e92308518e1c5b53cd173e.png


After the installation Android Studio will open and give you the option to "create a new project" like shown below:
image4f8c83e16527678c73fd85bb8dcd47c1.png



Please, Log in or Register to view spoilers

Then select "phone and tablet" with an "empty activity" and click on next, like shown in the image below:
imagea589fcb0f97521b32dfbfc8c9cee5238.png


Next up select a minimum SDK of Android 9.0 (Pie) or above like shown below:
image28636a60aaa31e457b16d5d6ba415f85.png


To create a new device you press the device manager button and click on "create device" like shown below:
imagebb3001aad6f00ac93fc25f155db5e932.png


Search for the Pixel 6, select it and press next.
image4acb14d041e1cf968838df0ac4dcbe53.png


You will first need to download the OS, so press the download icon next to the version* you want. (*Choose Android 9.0 or newer.)
image4ab82cdbff30d84b1bfc437559a0b005.png

After its done downloading select the version again and press next and finish up the new device.

Installing Frida-server on your virtual phone


Next up is to install frida on your virtual phone. Download frida on your PC from here:
Please, Log in or Register to see links and images
and search for "frida-server" with the right version that was highlighted in yellow when you installed frida using pip, and make sure to pick the android-x86 version, like shown below:
image28eaacbb97f5d9a2c9501461f0809fb7.png



Extract the downloaded file to the following location on your device:

Please, Log in or Register to view spoilers
Please, Log in or Register to view quotes
And have it sit there like this:
imagefbd043d0098258e3721d41915d59bd51.png


--
Choose one of the two methodes:

Automated method: https://simpcity.su/threads/guide-for-getting-drm-content-wip.181199/post-3091645



Please, Log in or Register to view spoilers

You are now ready to use the keys for the scraping tools.
(I'll make a guide to a few of those scrapers below, with again the intention of making it simple to understand and follow.)
In the meantime you can try it yourself by following the already existing guides from here:
https://simpcity.su/threads/onlyfans-downloading-a-complete-guide-for-pc-and-mobile.10208/
 
Last edited:

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png
Making another post because I hit the limit on words... (Even though I just replaced the images...)

Automated version:​


For the automated methode you need to download two zip files, first head over to the following github on your PC
Please, Log in or Register to see links and images
and press the green "Code "button and then "Download zip".
image4cd8d25dcc2e386a68a15d229ba1ebe8.png


Extract the zip file wherever you want. (I have it still in downloads folder) head into the folder and open up the requirements.txt file using notepad.
image65b962c80078751bad21fff31de66128.png


Add the following line to the file:
Please, Log in or Register to view quotes
It should look something like this now:
image920bcc60ebad9b1bd3865b676e0705fe.png

Save the file and close it.

You can open a terminal or powershell by either right clicking and selecting terminal/powershell (1) or by typing "CMD" in the path bar (2).
Option 1
imageef224ab0d2361b495c21c4bece7a3482.png
Option 2
image84a19cb79dc36bc2cbc7872e1e26cad9.png

In the second terminal or powershell type:
Please, Log in or Register to view quotes

Now download another zip from the following github:
Please, Log in or Register to see links and images
(Made by sim0n00ps ) by pressing the green "Code" button and then "Download zip".
image2936f3cb21256f54276bf12ea5b15307.png


Extract the zip file at your preferred location and you should see four files:
image5832c08c6940610eb2890da54c6beb55.png


Right Click on "frida.bat" and press edit to open it in Notepad so you can add the needed path lines.
(Windows Defender may give a warning, but simply press "more info" and then "run anyways".)
image2ad1e12de32715087cb21f61bd0c1b71.png


For the adb_path replace "YOUR PATH TO adb.exe HERE" with*:
Please, Log in or Register to view quotes
*DON'T FORGOT TO CHANGE [your_name] with the current user.

For frida_server_name replace "YOUR FRIDA SERVER VERSION HERE" with*:
Please, Log in or Register to view quotes
*CHECK WHAT VERSION YOU ARE RUNNING!

And finally for the frida.bat replace: "YOUR platform-tools PATH HERE" with*:
Please, Log in or Register to view quotes
*DON'T FORGOT TO CHANGE [your_name] with the current user.

When that's done it should look something like this:
image8f6052c59d10e9fec614a1ff85b5ed2f.png

Save the file and exit.

Next up open up the dumpkeys.bat.
imageef29abd80cc4a46564b24f9e16f25a67.png

Replace "YOUR PATH HERE" with the path to your dumper_main folder. So depending on where you placed it the name may differ, but the easiest way to copy the location would be to Right Click on the dumper_main folder* and press "Copy as path"
imagef9b46536273a5f85.png

*Make sure that the folder aims directly at the folder that has the requirements.txt and dump_keys.py in it.

It should look something like this:
image097f1d47f06aea26f90fa594862cdc34.png

Save and exit the file.

Now finally, make sure your device is running! Then double click on the "run.bat" file. Two commandlines will open up.
With your virtual phone, navigate using chrome to the following site:
Please, Log in or Register to see links and images

The site will ask if it is allowed to play protected videos. Press ALLOW.
Scroll a bit down till you see the video and press play.

You should see some activity in one of the commandlines. That means it has worked! 🎉

To verify that, head into the dumper-main folder and check if you see the "key_dumps" folder:
image22029cc75239a8e0d8f05b91e11b470a.png

When heading further into the folders you'll find "private_keys" keep going into that folder till you see these two files:
image82f50774f98591548c0d8c1bb84319a3.png

Unlike the manual method you do not have to change anything.
 

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png

Guide for MacOS users​

Installing Python, Frida and Frida-tools

Download Python from this site:
Please, Log in or Register to see links and images
and get the latest version*. (Not the pre-release one)
imaged3e223c29e628580.png

* The latest version of time of writing is 3.12.0

Open the installer package and continue till the installation type.
Please, Log in or Register to see links and images


Make sure all the options are enabled.
Please, Log in or Register to see links and images


Verify the install by opening Terminal and type the following:
Please, Log in or Register to view quotes
and
Please, Log in or Register to view quotes
Please, Log in or Register to see links and images


Go ahead and install Frida by typing the following in your Terminal:
Please, Log in or Register to view quotes
Make sure to note somewhere what version got installed which is important later on. * (Version is marked in yellow)
Please, Log in or Register to see links and images

* Versions can be different for you so double check.

Next up install frida-tools by typing the following in your Terminal:
Please, Log in or Register to view quotes
Please, Log in or Register to see links and images


Android Studio

Download Android Studio
Please, Log in or Register to see links and images

image89bba58e835b5b91.png

Select the one for your Mac:
Please, Log in or Register to see links and images

After downloading the DMG file simply open it up and drag and drop the app in the folder.

Next up open Android Studio by going in your application folder and opening the app.
You can leave most settings on default. Then when it comes to the licenses click accept on all of them till the finish button gets highlighted.
image34ec2151a8e92308.png


Then select "phone and tablet" with an "empty activity" and click on next, like shown in the image below:
imagea589fcb0f97521b3.png


Next up select a minimum SDK of Android 9.0 (Pie) or above like shown below:
image28636a60aaa31e45.png


Installing Frida-server on your virtual phone

Next up is to install frida on your virtual phone. Download frida on your PC from here:
Please, Log in or Register to see links and images
and search for "frida-server" with the right version that was highlighted in yellow when you installed frida using pip, and make sure to pick the android-x86 version, like shown below:
Please, Log in or Register to see links and images


Extract the file and drop it in the following location:
Please, Log in or Register to view quotes
This folder is hidden by default. Here are a few ways to find it:

Please, Log in or Register to view spoilers

Please, Log in or Register to view spoilers
Please, Log in or Register to see links and images


Next up open a terminal in the platform-tools folder. There are a few ways to do this:
  • In the folder, press ALT (option) + CMD + P to show the path bar at the bottom, then CRTL click on platform-tools and press "New Terminal at Folder"
  • Open a fresh Terminal and type the following: cd ~/Library/Android/sdk/platform-tools
When you are in the right place in Terminal, type the following:
Please, Log in or Register to view quotes
You should see your devices like shown below:
Please, Log in or Register to see links and images


Please, Log in or Register to view spoilers

Continue by typing the following command, make sure to check what version you currently need to use:
Please, Log in or Register to view quotes
Please, Log in or Register to see links and images


After it has been "inserted" on your phone type the following command to acces the phone (Take a look at the example images if you find this part hard.):
Please, Log in or Register to view quotes
Example:
Please, Log in or Register to see links and images

KEEP THIS TERMINAL OPEN!

Dumper Script

Head over to the following github on your PC (Not your virtual phone)
Please, Log in or Register to see links and images
and press the green "Code "button and then "Download zip".

image4cd8d25dcc2e386a.png


Extract the zip file wherever you want. (I have it still in downloads folder) head into the dumper-main folder and open up the requirements.txt file using textedit.
Add the following line to the file:
Please, Log in or Register to view quotes
It should look something like this now:
Please, Log in or Register to see links and images

Save the file and open a new Terminal in the dumper-main folder. (While still having the previous one open.)

In the second terminal or powershell type:
Please, Log in or Register to view quotes
Please, Log in or Register to see links and images


Once it is done installing the needed packages type the following:
Please, Log in or Register to view quotes
KEEP THIS TERMINAL OPEN!

Getting keys using the Dumper script


Finally use your virtual phone and navigate using chrome to the following site:
Please, Log in or Register to see links and images

The site will ask if it is allowed to play protected videos. Press ALLOW.
Scroll a bit down till you see the video and press play.

You should see some activity in your second terminal or powershell. That means it has worked! 🎉

To verify that, head into the dumper-main folder and check if you see the "key_dumps" folder:
Please, Log in or Register to see links and images

When heading further into the folders you'll find "private_keys" keep going into that folder till you see these two files:

Please, Log in or Register to see links and images


Rename these files accordingly:

Original nameNew name
client_id.bindevice_client_id_blob
private_key.pemdevice_private_key

Make sure to change the extension, this should happen when you rename the files.
Check to see if the file type has changed to just "Document" instead of a BIN or PEM file.*
Please, Log in or Register to see links and images

*Note that this is a comparison, you will only have the two files (device_client_id_blob and device_private_key)

You are now ready to use the keys for the scraping tools.
(I still want to make a guide to a few of those scrapers, with again the intention of making it simple to understand and follow.)
In the meantime you can try it yourself by following the already existing guides from here:
https://simpcity.su/threads/onlyfans-downloading-a-complete-guide-for-pc-and-mobile.10208/
 

sim0n00ps

Bathwater Drinker
Mar 11, 2022
779
22,895
1,574
0fya082315al84db03fa9bf467e3.png
I've made some batch scripts that can speed up the process a little bit, saves you having to go into adb.exe manually etc.
Please, Log in or Register to see links and images
. I've tried to explain as much as possible what paths need to go where.

Also a tip would be in Helpers/Scanner.py to change the filenames in line 44 from "client_id.bin" to "device_client_id_blob" and line 47 from "private_key.pem" to "device_private_key". Saves you having to rename the files and remove the extensions afterwards.
 

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
Hiya. Let's make it yourself easier easier by using the extension:
Please, Log in or Register to see links and images

Download the zip, extract it somewhere. Head into your extension location on your browser. Enable developer mode and then "load unpacked"
Select the extracted folder and it should now be available for usage. Then head over to onlyfans. Login and press the extension icon and you'll see the needed info.
 

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
You do not need to rename the file to ".file" at the end.
So do not name it: "device_client_id_blob.file"

Make it yourself easier and in your file explorer go to view and select "view file extension"

That way you will always see the file extension.

Now go ahead and rename the files.
Original nameOriginal file extensionNew nameNew file extension
client_id.binBIN filedevice_client_id_blobFile
private_key.pemPEM filedevice_private_keyFile
 
Last edited:

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
You are not the first one with this issue, luckily it can be helped.

READ BELOW FIRST BEFORE DOING ANYTHING!

Note that any and every software you install will get installed in the mentioned drive.


If you wish to do this, I do suggest changing it back afterwards!

Change the default installation location of the programs to D or other required drive by using the following method:

AWSlq2c25c1022d2c7dca.png

  1. Press Win+R
  2. Type in regedit
  3. Head to the following location: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
  4. You will find two files: ProgramFilesDir and ProgramFilesDir (x86)
  5. Right click on the two names and click on Modify.
  6. Change the drive name from C to whatever drive you want to make the installations.
 
Last edited:
  • PeepoLove
  • peepoClap
Reactions: Xuveni and Dnsawx

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
From the looks of it this (and our good friend Google.) this has to do with AMD processors.

Try going to your BIOS settings and check if SVM mode is ENABLED.
Also disable hyper-v in windows feature.

This should make it work.
 
  • PeepoLove
  • Like
Reactions: xmgt and Xuveni

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
From your story I'm not sure if you use the extension already, but I can suggest using that one as its super easy to use and always gives you the right cookie info:
Please, Log in or Register to see links and images


How to install:
1. Download ZIP file
2. Extract ZIP file
3. Go to your browsers extension page
4. Enable developer mode
5. Paste the folder you extracted in the extension page
6. There should now be a new extension (Looks like a cookie)
 

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
I would suggest always leaving python installed as it is used in most scrapers.

And for Android Studio it's best to keep that one installed as well as the generated keys might don't work after a while. (That will safe some time for future usage)
 

sim0n00ps

Bathwater Drinker
Mar 11, 2022
779
22,895
1,574
  • PeepoLove
Reactions: ripnsfw222

Dania

I tip my hat to you, m'lady.
Mar 11, 2022
370
1
12,650
1,408
0fya082315al84db03fa9bf467e3.png
I just wanted to share this:
Please, Log in or Register to see links and images

I'm unsure if there's any reason - for now at least - to use this method/script over the Android 9 method/script already shared in this thread, as the Android 9 method is faster and easier than this new method, but I thought I'd share my findings anyway, as I've been successful in dumping keys from both Android 10, 11, 12 and 13, all using the Android Studio method, just in combination with Diazole's dumper script instead of WVDumper's script.

It is more complicated than running WVDumper's script, because you now need to pass the correct function name to get a successful key dump. For Android 10/11, I managed to do it by passing --function-name [correct function name], but for 12/13, I needed to add the correct function name in the script.js file - found in the Helpers folder - and then pass --cdm-version [correct CDM version]. This meant I needed to find those "correct" values and to find them, libwvhidl.so (for 10/11/12, each versions file is different) or libwvaidl.so (for 13), is needed, as they have the correct function name - for the version of Android in question - inside. More than one value is listed (see the lists for Android 12 and 13 below), and only a single value works; the rest seem to be "
Please, Log in or Register to see links and images
". There's a bit of a breakdown of the entire process in
Please, Log in or Register to see links and images
(which is also linked from Diazole's Git) and in
Please, Log in or Register to see links and images
for those wanting to know more. :peepoHappy:

Here's the list of function names in Android Studio's Android 12 libwvhidl.so file.

Please, Log in or Register to view spoilers

And here's the list of function names for Android Studio's Android 13 libwvaidl.so, with even more possible function names...

Please, Log in or Register to view spoilers

After searching around Videohelp, I found the correct values for Android 10 and 11 but not for 12 and 13. Now, I'm honestly unsure if there's an easy way to find the correct value for each Android version without the use of trial and error, but after testing almost all the function names for 12 and 13 I found, one by one, I have some results and below is what works for me. :peepoGiggles:


Please, Log in or Register to view spoilers

Which means the following:
Android 10: pass --function-name 'ofskesua'.
Android 11: pass --function-name 'ppsniaij'. As a note, 11 has WebView installed instead of Chrome for whatever reason. :peepoShrug:
Android 12: Edit script.js to feature the correct function name (see the list above), then pass --cdm-version '16.1.0'.
Android 13: Edit script.js to feature the correct function name (again, see the list above), then pass --cdm-version '17.0.0'.

I have not tried if pasting all of the function names above into script.js at the same time makes it work on all Android versions, without any further editing, but only changing 'rnmsglvj' to the correct function name seems to work (for 12 and 13 at least).

Also if you wish to use Android 12 or 13, remember to download and use the x86_64 version of Frida server, not the x86 version. Yes, I made that mistake myself too... :PepeLaugh:

And, as a tip for people with an older or low-power system like me, who's having issues with Android Studio:

Please, Log in or Register to view spoilers

:peepoSimp:
 

Applejuice

Lord Of The Juice 🧃
Mar 11, 2022
862
115,453
2,518
  • PeepoLove
Reactions: Xuveni