title: Simple For Loop in Bash
body: <p>I am not understanding why this code is not sending the correct information to netcat.</p>
  
  <p>Not sure what to try</p>
  
  <pre><code>#!/bin/bash
  
  for i in {0000..9999}
  
  do
   echo UoMYTrfrBFHyQXmg6gzctqAwOmw1IohZ $i | nc localhost 30002
  done
  </code></pre>
  
  <p>Goal is to send a hashed password as well as a 4 digit pin over netcat to port 30002 on localhost. Netcat will return the goal password after receiving the correct password/pin combination.</p>