T
T
Troodi Larson2019-01-22 17:43:34
reverse engineering
Troodi Larson, 2019-01-22 17:43:34

Does it find strings in some programs and not in others?

I use x64dbg, I downloaded sample.exe with it, in which you can bypass the password. In general, success within a minute.
But not everywhere, of course, is so simple. Still, sometimes the strings can't be found.
Wrote a test program in C#:

static void Main(string[] args)
{
  if(Console.ReadLine() == "123123123")
  {
    Console.WriteLine("Valid password!");
  } else
  {
    Console.WriteLine("Invalid password!");
  }
  Console.ReadLine();
}

And already the line: passwordnot found. And as I understand it, such a string is stored as data and cannot be directly found through a string search. How then to be? Jumping manually to search is a dubious option.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xoo, 2019-01-22
@troodi

If the application is in C#, then other tools are needed, the intermediate language CIL is used for analysis instead of assembler
For example, ilspy or dnspy
​​You can find the password there according to the instructions
or simply in the decompiled code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question