Re: error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_

2018-03-18 Thread Fernando Mercês
nav" condition: $h } > a >> >> but when I run >> yara a a >> >> it gives me this error: >> error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_ >> >> I can't figure out what's wrong. >> >> -- >>

Re: error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_

2018-03-18 Thread Wesley Shields
The inner quotes are not escaped. — WXS On Sun, Mar 18, 2018 at 8:24 PM wrote: > Hi > > I ran this rule while learning: > echo "rule a { strings: $h = "arnav" condition: $h } > a > > but when I run > yara a a > > it gives me this error: >

error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_

2018-03-18 Thread agogia . inz
Hi I ran this rule while learning: echo "rule a { strings: $h = "arnav" condition: $h } > a but when I run yara a a it gives me this error: error: syntax error, unexpected '=', expecting _STRING_IDENTIFIER_ I can't figure out what's wrong. -- You