Skip to content

Instantly share code, notes, and snippets.

@FernandoDoming
Created September 8, 2016 14:11
Show Gist options
  • Save FernandoDoming/19778b80c8fc565859dbd1c7667283f8 to your computer and use it in GitHub Desktop.
Save FernandoDoming/19778b80c8fc565859dbd1c7667283f8 to your computer and use it in GitHub Desktop.
Regex to parse AVG for Linux output. First group is the malware file, second group is the malware name.
\>{0,1}([^\s]*)\s+(?:Virus identified|Found)\s+([^\s:]+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment