How can i do several input via rarun2, if my program requares two input? enter image description here

I try this:

enter image description here

  • 1
    have you tried with stdin set as a file or pty? Sep 2, 2019 at 19:18
  • This does not work
    – lilolol
    Sep 3, 2019 at 3:28
  • 1
    add the source code for your program that reads this data Sep 3, 2019 at 8:29
  • I cant change program, i have only elf file. I need to do several input via rarun2.
    – lilolol
    Sep 4, 2019 at 1:32
  • 1
    So just attach this binary so I can provide you with the details that will work with it. Sep 4, 2019 at 6:03

1 Answer 1


To type two inputs of


as expected in your first example, write


in a file script.rr2. Then do radare2 -r script.rr2 -d [your program to debug].

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.