radareorg / iaito

Official QT frontend of radare2
GNU General Public License v3.0
1.05k stars 88 forks source link

Insert input data in debugger console, putting data from outside tools like "echo" or "python print" #191

Open All3xJ opened 1 day ago

All3xJ commented 1 day ago

If I start debugging with iaito, and click on console debugger input, I can (I think/guess) only insert via keyboard. But it's bad if I want to put some "particular" data like hex data. So I would like something to put in the input of console debugger, the output of external commands like echo -e "\x4c\x40\x40\x00" and stuff like that.

trufae commented 1 day ago

You can do this with a rarun2 profile. But iaito doesnt provide a way to define it from the gui. One option as a workaround can be to compile iaito as an r2 plugin and then start the session with r2 and run iaito after the process is started with the given profile

trufae commented 1 day ago

I just added support for it https://github.com/radareorg/iaito/pull/192 needs testing and probably can be improved in several ways, but took me few mins to get this thing and i think it was worth for you to test and share some feedback if you can