Sitemap

Hardcoding issues Part-1

3 min readAug 9, 2021

--

What is the Hardcoding issue?

"Hard-coded issues" are vulnerabilities caused by developers writing credentials or confidential information in their source code.

Step 1

First of all we want the .apk file in the window

Press enter or click to view image in full size

Step 2

Now we will open the .apk file in the file manager

Press enter or click to view image in full size

Step 3

Now we will take the .dex file from the file manager

Press enter or click to view image in full size
Press enter or click to view image in full size

Step 4

Now we save the .dex file in the Appie folder

Press enter or click to view image in full size

Step 5

Now We open Appi Software and write d2j-dex2jar.bat (filename. dex)classes. dex to convert dex file to jar

Press enter or click to view image in full size

Step 6

Now we will get the (filename.jar) classes-dex2jar.jar

Press enter or click to view image in full size

Get Tirth Shah’s stories in your inbox

Join Medium for free to get updates from this writer.

Step 7

Now we open the diva app on android and click on the second option(Hardcording issues-part 1)

Press enter or click to view image in full size

Step 8

Now we will write something on this empty space

Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size

Step 9

Now We open the java Decompiler software

Press enter or click to view image in full size

Step 10

Now we open the filename.jar(classes-dex2jar.jar) file in Java Decompiler software

Press enter or click to view image in full size
Press enter or click to view image in full size

Step 11

now We open the hardcoreactivity.class file And find sensitive Data (vendorkey)

Press enter or click to view image in full size
Press enter or click to view image in full size

Step 12

Now we will check that our information is correct or not

Press enter or click to view image in full size
Access Granted

--

--

Tirth Shah
Tirth Shah

Written by Tirth Shah

You got hacking tips and hacking related news from this profile