A
A
Andrey Golubkov2015-02-10 10:03:19
SQLite
Andrey Golubkov, 2015-02-10 10:03:19

How to extract sqlite database password from exe file?

I have a program, it accesses the sqlite db file, uses a dll to connect and get the password. (the password is just stored in the dll). How can I intercept or extract the password?

public static bool LoadPWD()
{
    if (doo == 0x4f2)
    {
        return false;
    }
    try
    {
        intermediateSymbols = chernaya_romawka();
        symbols = beloe_solnce();
        productKeyPass = il9();
        pwd = omsn54();
        alg_number = smilewind();
        prod_number = medok();
    }
    catch (Exception)
    {
        TestArray.DebugLog(MethodBase.GetCurrentMethod().Name.ToString());
        return false;
    }
    return true;
}

 

 
  public static bool LoadPWD()
{
    if (doo == 0x4f2)
    {
        return false;
    }
    try
    {
        intermediateSymbols = chernaya_romawka();
        symbols = beloe_solnce();
        productKeyPass = il9();
        pwd = omsn54();
        alg_number = smilewind();
        prod_number = medok();
    }
    catch (Exception)
    {
        TestArray.DebugLog(MethodBase.GetCurrentMethod().Name.ToString());
        return false;
    }
    return true;
}

Pulled out this piece of .net code with a reflector, the omsn54 () function; is taken from a DLL, how can I connect the dll to a new project and print the value of omsn54() to the screen?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
index0h, 2015-02-10
@index0h

Pfft, easy!
* Disassemble the application
* Find the section with the password

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question