![]() ![]()
Openssl x509 -inform PEM -text -in cert.pemĪnd copy-paste the text into the text file we just created. Next, make a new text file with the name that OpenSSL gives you, with the extension. Openssl x509 -inform PEM -subject_hash_old -in cert.pem | head -1 Then, type these two commands, courtesy of this StackOverflow answer: BLUESTACKS TWEAKER FROM CMD INSTALLInstall OpenSSL locally and navigate to wherever you saved the certificate. Next, you will need to add it manually into Android's certificate store. To do this, save Charles' root certificate locally by pressing Help -> SSL Proxying -> Save Charles Root Certificate., and then save the file somewhere locally. Now we need to install Charles' root certificate into the emulator. Turn on the SSL proxy by pressing Proxy -> SSL Proxying Settings, pressing the "Enable SSL Proxying" button and adding "*" as a location. You should start seeing HTTP(S) queries in the list, but you will not be able to see HTTPS requests yet. Once that is done, save the file and reboot the emulator. Then add these entries anywhere into the file, making sure to change the IP address to the one given to you by Charles: Press "Accept".) and open "settings_global.xml" with the app's file editor. Then navigate to /data/system/users/0 (this will prompt the app to allow superuser access. After that, press Help -> Local IP Address and take a note of your IP. click both of the switches under the HTTP proxy. Be sure to turn off the default "Windows proxy" switch in the Proxy tab. You'll need to set the app into "Superuser + mount writable" mode.īriefly head into Charles to set up your proxy. BLUESTACKS TWEAKER FROM CMD APKapk file directly into the emulator), press the three dots in the top right corner and press "Configuration". Once you've downloaded and installed the app (you can drag the. BLUESTACKS TWEAKER FROM CMD ANDROIDYou will need an app like X-plore to edit the Android system files in order to add our proxy and Charles root certificate. Kudos to u/ProgramTechie on Reddit for figuring out the steps. Now that our "device" is rooted and Xposed, we can start by setting the proxy. It should say "Xposed Framework version 89 is active." and display a green checkmark. ![]() Restart the instance, and then open Xposed. Launch it again, and under the Xposed tab, press "Patch", "Install", and then "Flash". This will close the instance, so don't be surprised. Once the emulator has loaded, press "Patch", then "Install SuperSu", then "Update Su binary". Make sure you have Android Nougat (7.1), because BlueStacks Tweaker doesn't support the Android Pie beta yet. Once that is done, press the "Play" button next to your emulator and wait for the emulator to load. This will unlock the emulator for rooting. Make sure the emulator is closed and press "Unlock". Open BlueStacks Tweaker and navigate to the "Root" tab. The latest beta works with the latest version of BlueStacks 5 (5.9). ![]() This nifty program will allow us to root the emulator, as well as install Xposed. Once loaded, close the emulator and download the latest version of BlueStacks Tweaker. Once downloaded and installed, launch the application once and let the emulator fully load. For the emulator, I recommend downloading the latest 64-bit version of BlueStacks 5, since it supports Hyper-V. Of course, you will need to install Charles first. BLUESTACKS TWEAKER FROM CMD HOW TOThis article will teach you how to root the BlueStacks emulator and use it to proxy calls. Instead, I turned to an emulator I had used before, BlueStacks. Not only that, but it's meant for developers who can add their own SSL certificates into apps, which is impractical for reverse engineering, when we usually don't have access to the source code. Android Studio is completely unintuitive, and the emulator does not work on my machine at all. The first article I came across was from Mark Dappollone on Medium, but it was published back in 2017 and didn't address my main concern: installing Android Studio just to use its emulator is a massive waste of time and hard drive space. Instead of buying a newer phone for my needs, I started looking towards emulators. Recently, I came across a problem: my trusty rooted Android 4 phone couldn't install an app whose API I wanted to reverse engineer, because the app was targeting Android versions 7 and above. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |