def init_binaries():
 dirpath = os.path.join(CUCKOO_ROOT, 'data', 'monitor', 'latest')
 if (not os.path.exists(dirpath)):
  raise CuckooStartupError("The binaries used for Windows analysis are updated regularly, independently from the release line. It appears that you're not up-to-date. This can happen when you've just installed Cuckoo or when you've updated your Cuckoo version by pulling the latest changes from our Git repository. In order to get up-to-date, please run the following command: `./utils/community.py -wafb monitor` or `./utils/community.py -waf` if you'd also like to download over 300 Cuckoo signatures.")
 if os.path.isfile(dirpath):
  monitor = os.path.basename(open(dirpath, 'rb').read().strip())
  dirpath = os.path.join(CUCKOO_ROOT, 'data', 'monitor', monitor)
 else:
  dirpath = None
 if (dirpath and (not os.path.isdir(dirpath))):
  raise CuckooStartupError("The binaries used for Windows analysis are updated regularly, independently from the release line. It appears that you're not up-to-date. This can happen when you've just installed Cuckoo or when you've updated your Cuckoo version by pulling the latest changes from our Git repository. In order to get up-to-date, please run the following command: `./utils/community.py -wafb monitor` or `./utils/community.py -waf` if you'd also like to download over 300 Cuckoo signatures.")

def init_binaries ( ) : dirpath = os . path . join ( CUCKOO_ROOT , 'data' , 'monitor' , 'latest' ) if ( not os . path . exists ( dirpath ) ) : raise CuckooStartupError ( "The binaries used for Windows analysis are updated regularly, independently from the release line. It appears that you're not up-to-date. This can happen when you've just installed Cuckoo or when you've updated your Cuckoo version by pulling the latest changes from our Git repository. In order to get up-to-date, please run the following command: `./utils/community.py -wafb monitor` or `./utils/community.py -waf` if you'd also like to download over 300 Cuckoo signatures." ) if os . path . isfile ( dirpath ) : monitor = os . path . basename ( open ( dirpath , 'rb' ) . read ( ) . strip ( ) ) dirpath = os . path . join ( CUCKOO_ROOT , 'data' , 'monitor' , monitor ) else : dirpath = None if ( dirpath and ( not os . path . isdir ( dirpath ) ) ) : raise CuckooStartupError ( "The binaries used for Windows analysis are updated regularly, independently from the release line. It appears that you're not up-to-date. This can happen when you've just installed Cuckoo or when you've updated your Cuckoo version by pulling the latest changes from our Git repository. In order to get up-to-date, please run the following command: `./utils/community.py -wafb monitor` or `./utils/community.py -waf` if you'd also like to download over 300 Cuckoo signatures." )
inform the user about the need to periodically look for new analyzer binaries .