c - How to buffer overflow the 'gets' method in Ruby? -
i wrote client gets input keyboard , stores in variable, so:
x = gets
in c, memory allocated standard input , can overflow buffer , overwrite return address on stack if write enough characters buffer.
char buffer[10]; gets(buffer);
how can go overflowing buffer used in ruby? haven't had luck on finding information pertaining how exploit programs not written in c. i've been following book called "the shellcoder's handbook" , in c. there resources @ explain how exploit programs written in other languages, in ruby? or there reason why exploit books written c language, other languages advanced?
based on observation, seems if can feed many characters want to 'gets' method in ruby , not overflow, making protected overflow exploits.
Comments
Post a Comment