I am trying to debug remotly an ELF from my windows 10 (the ELF runs on my ubuntu 32 bit vm) (the ELF is from pwnable.kr - unlink). Because the exploit is via gets() I try to pass input through the "debugger options" in IDA:
(I also tried doing it without the "parameters").
anyway this is the the exception I get when I get to "gets" function.
I tried to understand from the internet how people usually use remote debugging with IDA and use the process' stdin.
BTW: this is how it runs:
shahar@ubuntu:~/Desktop$ ./linux_server unlink
IDA Linux 32-bit remote debug server(ST) v1.15. Hex-Rays (c) 2004-2012
Listening on port #23946...
=========================================================
[1] Accepting connection from 192.168.188.1...
here is stack address leak: 0xbfdfdc04
here is heap address leak: 0x9085410
now that you have leaks, get shell!
Thanks a lot for your help! :-)
EDIT:
This is where the error is raised: