Bash script - Find matches in files...
$30-5000 USD
着払い
I have a bash script I started and need help completing. I need to run ngrep against some pcap files for domain names contained in a text file to try and find matches. The pcap files are filtered for DNS traffic on port 53. I was able to accomplish this somewhat but need assistance finishing the script in a manner that I can get the output and produce a text file report out of the returned matches.
I have the script returning the column data as variables via AWK. However, in the process of getting the data in the spreadsheet for the matches, I no longer have access to the pcap data. I need the time and date for the matches from the pcap and I have no idea how to pull it out again without re-running again from the beginning and matching line n in the first output to line n in the second output, which is a huge waste of cycles.
This should be quick and easy for the right person...
プロジェクトID: #2744119