(self, cmd)
| 46 | self.ioc_bytes = bytes(self.ioc, "ascii") |
| 47 | |
| 48 | def attempt_decode(self, cmd): |
| 49 | ptext = '' |
| 50 | for c in re.findall('\d+', cmd): |
| 51 | ptext += chr(int(c)) |
| 52 | return ptext |
| 53 | |
| 54 | def parse_cmd(self, data): |
| 55 | start = data.find('"feed_url";')+11 |