Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 671 Bytes

c2profile-grammar.rst

File metadata and controls

17 lines (11 loc) · 671 Bytes

C2Profile grammar

:pydissect.cobaltstrike utilizes the Lark parser for parsing and generating Cobalt Strike Malleable C2 Profiles.

The Lark grammar file to parse the Profile Language is defined in c2profile.lark and listed below for reference.

Note

Currently, the grammar implementation is pretty naive and could be improved upon. For example, the values are all STRING but could benefit from other types as well.

../dissect/cobaltstrike/c2profile.lark