Re: line number

2016-04-21 Thread Fernando Mercês
and > haven't found anything. > > Is there an easy way to get a line number of the matching string instead > of the character offset? I'm working with yara-python. > > Thanks, > Cody West > > -- > You received this message because you are subscribed to the Go

Re: Finding line number by offset value

2016-02-21 Thread Cody West
; > Hi, > > I'm fairly new to python and could use some assistance here. > > I'm using yara-python > <http://yara.readthedocs.org/en/latest/yarapython.html> for some file > scanning and I'm trying to take the offset in the 'strings' field and tu

Finding line number by offset value

2016-02-21 Thread Cody West
Hi, I'm fairly new to python and could use some assistance here. I'm using yara-python <http://yara.readthedocs.org/en/latest/yarapython.html> for some file scanning and I'm trying to take the offset in the 'strings' field and turn it into a line number.

line number

2016-02-20 Thread Cody West
Sorry if this has already been asked. I've searched through group and haven't found anything. Is there an easy way to get a line number of the matching string instead of the character offset? I'm working with yara-python. Thanks, Cody West -- You received this message