carbonblack / cb-yara-connector

Analyze binaries collected in VMware Carbon Black EDR against Yara rules.
36 stars 8 forks source link

__version__ never defined (or at least, never exposed to the script) #15

Closed strazzere closed 3 years ago

strazzere commented 6 years ago

https://github.com/carbonblack/cb-yara-connector/blob/c86a7a7ba327d69f5fbb34c12155f22c8b3435c2/scripts/cb-yara-connector#L20

Should this have a __version__ variable in the script? Or is this meant to be pulling it from the plugin files?

Traceback (most recent call last):
  File "/src/scripts/cb-yara-connector", line 21, in <module>
    print "%s - version %s" % (name, __version__)
NameError: name '__version__' is not defined