MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / attempt_decode

Method attempt_decode

dshell/plugins/http/joomla.py:48–52  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

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

Callers 1

parse_cmdMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected