I want to extract the source IP address and info with regular expressions.
Here's a sample from the text file,
"No.","Time","Source","Destination","Protocol","Length","Info","SrcPort","Dest.port","Response time","Frequency","delta"
"","2007-11-13 18:10:53.940873","127.0.0.1","127.0.0.1","HTTP","162","GET /scripts/..%25%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0 ","43974","80","0.000000","","0.000000"
I want to extract... ^ this ... and ... ^ this info
It can contain thousands of lines. I just want to extract the source IP address and info from each line.
Expected output would be,
127.0.0.1 GET /scripts/..%25%35%63../winnt/system32/cmd.exe?/c+dir HTTP/1.0