[Bro] Tab Character Variable

Michael Logoyda logoyda at gmail.com
Tue Dec 17 12:26:00 PST 2013

I'm writing a script to read from a tsv file containing blacklisted IPs
(Input::add_table, using reread mode) and then append new IPs to the end of
the same file. I can read the file just fine, but any time I try to write
out "\t" or "\x09", the output shows up as "^I". That goes for the system()
function to write to the file as well as just using print within the
script. Does anyone know how to send the tab character properly?


A) I could change to csv, but I don't know how to change the input
separator to allow for this.
B) I am using a second column that's basically just filler in order to use
add_table like the example on the blog. Is there a way to just import a
one-column table?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20131217/d5750a96/attachment.html 

More information about the Bro mailing list