title: Hex input in Windows Command-line
body: <p>I am trying to solve this programming puzzle another student at my school put out, and we were given an .exe and the corresponding .c source code.  The way I am trying to attack the problem is with a buffer overflow, and I managed to do it in Linux using a perl script as the input so that I could input the hex values for the return address.</p>
  <p>The problem is we have to do it using the .exe in Windows, and I do not know how to enter hex values in the command line.  For the Linux version, I used this question: <a href="https://stackoverflow.com/questions/5018769/hex-values-in-gdb-input-files">Hex values in gdb input files</a> and my code ending up being this:</p>
  <p><code>./a.out $(perl -e 'print &quot;A&quot;x34 . &quot;\x7d\x86\x04\x08&quot;;')</code></p>
  <p>How can I do this on the Windows Command Line?</p>