<s> """<STR_LIT>""" <EOL> import re <EOL> from abusehelper . core import bot <EOL> from . import host_or_ip , resolve_level , split_description , AbuseCHFeedBot <EOL> class ZeusCcBot ( AbuseCHFeedBot ) : <EOL> feed_malware = "<STR_LIT>" <EOL> feed_type = "<STR_LIT>" <EOL> feeds = bot . ListParam ( default = [ "<STR_LIT>" ] ) <EOL> def parse_title ( self , title ) : <EOL> pieces = title . split ( None , <NUM_LIT:1> ) <EOL> yield host_or_ip ( pieces [ <NUM_LIT:0> ] ) <EOL> if len ( pieces ) > <NUM_LIT:1> : <EOL> date = pieces [ <NUM_LIT:1> ] <EOL> date = re . sub ( "<STR_LIT>" , "<STR_LIT>" , date ) <EOL> yield "<STR_LIT>" , date + "<STR_LIT>" <EOL> def parse_description ( self , description ) : <EOL> for key , value in split_description ( description ) : <EOL> if key == "<STR_LIT:status>" : <EOL> yield key , value <EOL> elif key == "<STR_LIT>" : <EOL> yield "<STR_LIT:description>" , resolve_level ( value ) <EOL> elif key == "<STR_LIT>" and value . lower ( ) != "<STR_LIT>" : <EOL> yield key + "<STR_LIT>" , value <EOL> elif key == "<STR_LIT>" : <EOL> yield "<STR_LIT>" , value <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> ZeusCcBot . from_command_line ( ) . execute ( ) </s>
