Module refinery.units.formats.dexstr
Expand source code Browse git
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from refinery.units import Unit
from refinery.lib.dex import DexFile
class dexstr(Unit):
"""
Extract strings from DEX (Dalvik Executable) files.
"""
def process(self, data):
dex = DexFile(data)
for string in dex.read_strings():
yield string.encode(self.codec)
Classes
class dexstr
-
Extract strings from DEX (Dalvik Executable) files.
Expand source code Browse git
class dexstr(Unit): """ Extract strings from DEX (Dalvik Executable) files. """ def process(self, data): dex = DexFile(data) for string in dex.read_strings(): yield string.encode(self.codec)
Ancestors
Class variables
var required_dependencies
var optional_dependencies
Inherited members