title: linux buffer overflow - Art of Exploitation To Old?
body: <p>I'm reading the book "Art of Exploitation".</p>
  
  <p>Which is a good book but every exploit i've come across so far hasn't worked for me. In my opinion i've followed to the letter, granted no one is perfect so i might still have made an mistake.</p>
  
  <p>But i came across some comments that said that the linux OS has been updated allot since the book was written.</p>
  
  <p>So i wanted to ask if anyone knew if the examples in the books is outdated or if anyone i am supposed to follow to the letter or if i have to design some bits of the code for it to work? </p>
  
  <p>NOTE:
  I've read to around page 60.</p>
  
  <p>I've tried overflowing the program with both writing the exploit.c code aswell as with manually with perl.</p>
  
  <p>This is the code i've been trying to overflow:</p>
  
  <pre><code>int main(int argc, char *argv[])
  {
  char buffer[500];
  strcpy(buffer, argv[1]);
  return 0;
  }
  </code></pre>