title: Masscan output How can i grab just the ip's and save to a file?
body: <p>After masscan scanning ip ranges it outputs ip's in such awfull format. Can somebody help me changing the output format or change it using grep or awk command?</p>
  
  <pre><code>open tcp 3389 77.239.225.198 1485353988
  open tcp 3389 85.202.4.94 1485353988
  open tcp 3389 217.14.53.187 1485353988
  open tcp 3389 85.26.253.50 1485353988
  open tcp 3389 87.238.96.58 1485353988
  open tcp 3389 91.218.45.9 1485353988
  open tcp 3389 178.46.167.147 1485353988
  </code></pre>
  
  <p>And i want it look like</p>
  
  <pre><code>77.239.225.19
  85.202.4.94
  217.14.53.187
  85.26.253.50
  87.238.96.58
  91.218.45.9
  178.46.167.147
  </code></pre>