title: Masscan -oG grep output how can i grab just the ip's and save to a file
body: <p>here is my output in the test.grep file</p>
  
  <pre><code># Ports Scanned: TCP(1;11032-11032) UDP(0;) SCTP(0;) PROTOCOLS(0;)
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  Host: 127.0.0.1 () Ports:11032/open/tcp///
  
  # Masscan done at Sun Aug 17 16:46:30 2014
  </code></pre>
  
  <p>and i would like a file with just the ip addresses </p>
  
  <pre><code>127.0.0.1
  127.0.0.1
  127.0.0.1
  127.0.0.1
  127.0.0.1
  127.0.0.1
  127.0.0.1
  127.0.0.1
  127.0.0.1
  127.0.0.1
  127.0.0.1
  </code></pre>
  
  <p>can anyone help me do this i am using kali linux </p>