By blackbox I meant something which you don't know about.. A blackbox approach means I know nothing about the internals and I'm just using varied inputs to see how it would respond. This is a different approach from having access to the source and being able to see the internals of the software, how it works.
The simplest is to use A (0x41) as your buffer.. If eip gets overwritten with something in your bufffer it will show up as 0x41414141. By using AAABACAD etc. you can even work out which bytes in your buffer are actually overwriting eip.
