I'm new to reverse engineering, wondering how access or bypass the password contained in the switch statement ? The Generate Pseudocode in IDA

File Link

  • You should really give more details. How is the password provided? The shown method has two parameters but none of them is ever used. When asking a question it is better to include all relevant data instead of just linking to an external file.
    – Robert
    Feb 10 at 12:40
  • 1
    Please post code as text instead of an image. Makes it easier for others to read/copy and for sites like google to index.
    – sudhackar
    Feb 11 at 11:40
  • Also it depends on a lot of factors here. Just by looking at this switch I can say its sort of a VM that has been implemented and we might need the whole binary to analyze this.
    – sudhackar
    Feb 11 at 11:42
  • @Robert they are used in case 5 and they are argc and argv[1] it takes an argument from command line
    – blabb
    Feb 11 at 21:24
  • @blabb Correct. I did not notice because the code was added as screenshot so it could not be searched for text (-> Leon please do not add code as screenshot. Always copy the text!)
    – Robert
    Feb 12 at 7:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.