SYMBOL INDEX (239 symbols across 40 files) FILE: mas.py function add_to_queue (line 37) | def add_to_queue(job_queue, fname): function analyze_file (line 57) | def analyze_file(fname, opts, loglevel): function main (line 70) | def main(): FILE: mastiff/__init__.py function get_release_number (line 28) | def get_release_number(): function get_release_string (line 32) | def get_release_string(): FILE: mastiff/conf.py class Conf (line 44) | class Conf: method __init__ (line 47) | def __init__(self, config_file=None, override=None): method set_defaults (line 76) | def set_defaults(self): method get_var (line 89) | def get_var(self, section, var): method get_bvar (line 98) | def get_bvar(self, section, var): method get_section (line 107) | def get_section(self, section): method set_var (line 123) | def set_var(self, section, var, value): method override_option (line 132) | def override_option(self, override): method list_config (line 149) | def list_config(self): method dump_config (line 158) | def dump_config(self): FILE: mastiff/core.py class Mastiff (line 108) | class Mastiff: method __init__ (line 111) | def __init__(self, config_file=None, fname=None, loglevel=logging.INFO... method __del__ (line 231) | def __del__(self): method init_file (line 242) | def init_file(self, fname): method activate_plugins (line 316) | def activate_plugins(self, single_plugin=None): method list_plugins (line 384) | def list_plugins(self, ctype='analysis'): method set_filetype (line 422) | def set_filetype(self, fname=None, ftype=None): method validate (line 477) | def validate(self, name, plugin): method analyze (line 502) | def analyze(self, fname=None, single_plugin=None): FILE: mastiff/filetype.py function get_magic (line 39) | def get_magic(file_name): function get_trid (line 69) | def get_trid(file_name, trid, trid_db): function yara_typecheck (line 129) | def yara_typecheck(filename, yara_rule): FILE: mastiff/plugins/__init__.py function post_multipart (line 27) | def post_multipart(host, method, selector, fields, files): function encode_multipart_formdata (line 49) | def encode_multipart_formdata(fields, files): function get_content_type (line 75) | def get_content_type(filename): function bin2hex (line 79) | def bin2hex(data): function printable_str (line 94) | def printable_str(string): FILE: mastiff/plugins/analysis/EXE/EXE-peinfo.py class PEInfo (line 49) | class PEInfo(exe.EXECat): method __init__ (line 52) | def __init__(self): method analyze (line 56) | def analyze(self, config, filename): method _dump_section_headers (line 78) | def _dump_section_headers(pe): method output_file_quick (line 102) | def output_file_quick(self, outdir, pe): method output_file_full (line 179) | def output_file_full(self, outdir, pe): FILE: mastiff/plugins/analysis/EXE/EXE-resources.py class EXE_Resources (line 50) | class EXE_Resources(exe.EXECat): method __init__ (line 53) | def __init__(self): method analyze_dir (line 60) | def analyze_dir(self, directory, prefix='', _type='', timedate=0): method extract_resources (line 105) | def extract_resources(self, log_dir, filename): method analyze (line 157) | def analyze(self, config, filename): method gen_output (line 192) | def gen_output(self, outdir): method output_file (line 206) | def output_file(self, outdir): FILE: mastiff/plugins/analysis/EXE/EXE-sig.py class EXESig (line 65) | class EXESig(exe.EXECat): method __init__ (line 68) | def __init__(self): method activate (line 72) | def activate(self): method deactivate (line 76) | def deactivate(self): method dump_sig_to_text (line 80) | def dump_sig_to_text(self, log_dir, openssl): method analyze (line 114) | def analyze(self, config, filename): FILE: mastiff/plugins/analysis/EXE/EXE-singlestring.py class SingleString (line 54) | class SingleString(exe.EXECat): method __init__ (line 57) | def __init__(self): method activate (line 63) | def activate(self): method deactivate (line 67) | def deactivate(self): method findMov (line 71) | def findMov(self, filename): method decodeBytes (line 105) | def decodeBytes(self, instructs): method analyze (line 157) | def analyze(self, config, filename): method output_file (line 182) | def output_file(self, outdir, strlist): FILE: mastiff/plugins/analysis/GEN/GEN-fileinfo.py class GenFileInfo (line 47) | class GenFileInfo(gen.GenericCat): method __init__ (line 50) | def __init__(self): method analyze (line 55) | def analyze(self, config, filename): method gen_output (line 75) | def gen_output(self, config, data): method output_db (line 90) | def output_db(self, config, data): FILE: mastiff/plugins/analysis/GEN/GEN-fuzzy.py class GenFuzzy (line 46) | class GenFuzzy(gen.GenericCat): method __init__ (line 49) | def __init__(self): method analyze (line 56) | def analyze(self, config, filename): method compare_hashes (line 83) | def compare_hashes(self, config, my_fuzzy): method output_file (line 112) | def output_file(self, config, my_fuzzy, fuzz_results): method output_db (line 142) | def output_db(self, config, my_fuzzy): FILE: mastiff/plugins/analysis/GEN/GEN-hex.py class GEN_Hex (line 34) | class GEN_Hex(gen.GenericCat): method __init__ (line 37) | def __init__(self): method activate (line 41) | def activate(self): method deactivate (line 45) | def deactivate(self): method analyze (line 49) | def analyze(self, config, filename): method is_ascii (line 101) | def is_ascii(self, letter): method output_file (line 107) | def output_file(self, outdir, data): FILE: mastiff/plugins/analysis/GEN/GEN-mastiff-online.py class GenMastiffOnline (line 36) | class GenMastiffOnline(gen.GenericCat): method __init__ (line 39) | def __init__(self): method activate (line 44) | def activate(self): method deactivate (line 48) | def deactivate(self): method analyze (line 52) | def analyze(self, config, filename): method gen_output (line 98) | def gen_output(self, myjson): FILE: mastiff/plugins/analysis/GEN/GEN-metascan.py class GenMetascan (line 52) | class GenMetascan(gen.GenericCat): method __init__ (line 55) | def __init__(self): method retrieve (line 60) | def retrieve(self, sha256): method submit (line 99) | def submit(self, config, filename): method analyze (line 155) | def analyze(self, config, filename): method output_file (line 186) | def output_file(self, outdir, response): FILE: mastiff/plugins/analysis/GEN/GEN-strings.py class GenStrings (line 47) | class GenStrings(gen.GenericCat): method __init__ (line 50) | def __init__(self): method _insert_strings (line 57) | def _insert_strings(self, output, str_type): method analyze (line 65) | def analyze(self, config, filename): method gen_output (line 124) | def gen_output(self): FILE: mastiff/plugins/analysis/GEN/GEN-virustotal.py class GenVT (line 58) | class GenVT(gen.GenericCat): method __init__ (line 61) | def __init__(self): method retrieve (line 66) | def retrieve(self, md5): method submit (line 107) | def submit(self, config, filename): method analyze (line 161) | def analyze(self, config, filename): method output_file (line 194) | def output_file(self, outdir, response): FILE: mastiff/plugins/analysis/GEN/GEN-yara.py class GenYara (line 79) | class GenYara(gen.GenericCat): method __init__ (line 82) | def __init__(self): method analyze (line 87) | def analyze(self, config, filename): method get_sigs (line 138) | def get_sigs(self, sig_dir): method _debug_print (line 163) | def _debug_print(self, data): method output_file (line 174) | def output_file(self, outdir, matches): method output_db (line 198) | def output_db(self, config, matches): FILE: mastiff/plugins/analysis/Office/Office-metadata.py class OfficeMetadata (line 40) | class OfficeMetadata(office.OfficeCat): method __init__ (line 43) | def __init__(self): method analyze (line 48) | def analyze(self, config, filename): FILE: mastiff/plugins/analysis/Office/Office-pyOLEScanner.py class OfficepyOLEScanner (line 55) | class OfficepyOLEScanner(office.OfficeCat): method __init__ (line 61) | def __init__(self): method analyze (line 65) | def analyze(self, config, filename): method output_file (line 127) | def output_file(self, outdir, data): FILE: mastiff/plugins/analysis/PDF/PDF-metadata.py class PDFMetadata (line 44) | class PDFMetadata(pdf.PDFCat): method __init__ (line 47) | def __init__(self): method analyze (line 52) | def analyze(self, config, filename): FILE: mastiff/plugins/analysis/PDF/PDF-pdfid.py class PDFid (line 43) | class PDFid(pdf.PDFCat): method __init__ (line 46) | def __init__(self): method analyze (line 51) | def analyze(self, config, filename): FILE: mastiff/plugins/analysis/PDF/PDF-pdfparser.py class PDFparser (line 47) | class PDFparser(pdf.PDFCat): method __init__ (line 50) | def __init__(self): method analyze (line 57) | def analyze(self, config, filename): method output_object (line 87) | def output_object(self, plug_opts, pdf_file, obj_num, reasons, log_dir): method get_objects (line 136) | def get_objects(self, config, plug_opts, filename): method uncompress (line 193) | def uncompress(self, config, plug_opts, filename): method output_file (line 225) | def output_file(self, outdir, data): FILE: mastiff/plugins/analysis/ZIP/ZIP-extract.py class ZIP_Extract (line 41) | class ZIP_Extract(zip.ZipCat): method __init__ (line 44) | def __init__(self): method activate (line 48) | def activate(self): method deactivate (line 52) | def deactivate(self): method analyze (line 56) | def analyze(self, config, filename): FILE: mastiff/plugins/analysis/ZIP/ZIP-zipinfo.py class ZIP_Info (line 42) | class ZIP_Info(zip.ZipCat): method __init__ (line 45) | def __init__(self): method activate (line 50) | def activate(self): method deactivate (line 54) | def deactivate(self): method analyze (line 58) | def analyze(self, config, filename): method quick_info (line 96) | def quick_info(self, info_list): method _version_created (line 120) | def _version_created(self, version): method _flag_bits (line 134) | def _flag_bits(self, flag_bits, method): method _compression_method (line 186) | def _compression_method(self, method): method _internal_attribs (line 212) | def _internal_attribs(self, attrib): method full_info (line 224) | def full_info(self, info_list): method output_file (line 315) | def output_file(self, outdir, data): FILE: mastiff/plugins/category/categories.py class MastiffPlugin (line 22) | class MastiffPlugin(IPlugin): method __init__ (line 25) | def __init__(self, name=None): method activate (line 34) | def activate(self): method analyze (line 38) | def analyze(self, config, filename, output=None): method deactivate (line 41) | def deactivate(self): method set_name (line 45) | def set_name(self, name=None): FILE: mastiff/plugins/category/exe.py class EXECat (line 40) | class EXECat(categories.MastiffPlugin): method __init__ (line 43) | def __init__(self, name=None): method is_exe (line 59) | def is_exe(self, filename): method is_my_filetype (line 80) | def is_my_filetype(self, id_dict, file_name): FILE: mastiff/plugins/category/generic.py class GenericCat (line 37) | class GenericCat(categories.MastiffPlugin): method __init__ (line 40) | def __init__(self, name=None): method is_my_filetype (line 46) | def is_my_filetype(self, id_dict, file_name): FILE: mastiff/plugins/category/office.py class OfficeCat (line 32) | class OfficeCat(categories.MastiffPlugin): method __init__ (line 35) | def __init__(self, name=None): method is_my_filetype (line 54) | def is_my_filetype(self, id_dict, file_name): FILE: mastiff/plugins/category/pdf.py class PDFCat (line 32) | class PDFCat(categories.MastiffPlugin): method __init__ (line 35) | def __init__(self, name=None): method is_my_filetype (line 48) | def is_my_filetype(self, id_dict, file_name): FILE: mastiff/plugins/category/zip.py class ZipCat (line 29) | class ZipCat(categories.MastiffPlugin): method __init__ (line 32) | def __init__(self, name=None): method is_my_filetype (line 43) | def is_my_filetype(self, id_dict, file_name): FILE: mastiff/plugins/output/OUTPUT-raw.py class OUTPUTRaw (line 23) | class OUTPUTRaw(masOutput.MastiffOutputPlugin): method __init__ (line 26) | def __init__(self): method activate (line 30) | def activate(self): method deactivate (line 34) | def deactivate(self): method output (line 38) | def output(self, config, output): FILE: mastiff/plugins/output/OUTPUT-text.py function renderText (line 23) | def renderText(page_format, logdir, filename, datastring): function _extend (line 52) | def _extend(data, length=0): function processPage (line 69) | def processPage(plugin, page, page_format): class OUTPUTtext (line 139) | class OUTPUTtext(masOutput.MastiffOutputPlugin): method __init__ (line 142) | def __init__(self): method activate (line 146) | def activate(self): method deactivate (line 150) | def deactivate(self): method output (line 154) | def output(self, config, data): FILE: mastiff/plugins/output/__init__.py class TableError (line 20) | class TableError(Exception): class PageError (line 24) | class PageError(Exception): class table (line 28) | class table(object): method __init__ (line 35) | def __init__(self, header=None, data=None, title=None): method __str__ (line 61) | def __str__(self): method __repr__ (line 76) | def __repr__(self): method __iter__ (line 79) | def __iter__(self): method addtitle (line 87) | def addtitle(self, title=None): method addheader (line 94) | def addheader(self, header=None, printHeader=True, printVertical=False): method addrow (line 127) | def addrow(self, row): class page (line 163) | class page(object): method __init__ (line 169) | def __init__(self): method __getitem__ (line 175) | def __getitem__(self, title): method __iter__ (line 182) | def __iter__(self): method __str__ (line 190) | def __str__(self): method __repr__ (line 197) | def __repr__(self): method addTable (line 200) | def addTable(self, title, header=None, index=None): class MastiffOutputPlugin (line 212) | class MastiffOutputPlugin(IPlugin): method __init__ (line 215) | def __init__(self, name=None): method activate (line 220) | def activate(self): method deactivate (line 224) | def deactivate(self): method output (line 228) | def output(self, config, data): method set_name (line 232) | def set_name(self, name=None): FILE: mastiff/queue.py class MastiffQueue (line 36) | class MastiffQueue(object): method __init__ (line 64) | def __init__(self, config): method __len__ (line 94) | def __len__(self): method __iter__ (line 100) | def __iter__(self): method __str__ (line 106) | def __str__(self): method _get_conn (line 110) | def _get_conn(self): method append (line 117) | def append(self, obj): method popleft (line 123) | def popleft(self, sleep_wait=False): method peek (line 154) | def peek(self): method clear_queue (line 163) | def clear_queue(self): FILE: mastiff/sqlite.py function open_db (line 28) | def open_db(db_name): function open_db_conf (line 47) | def open_db_conf(config): function sanitize (line 67) | def sanitize(string): function check_table (line 75) | def check_table(db, table): function add_table (line 89) | def add_table(db, table, fields): function add_column (line 117) | def add_column(db, table, col_def): function create_mastiff_tables (line 145) | def create_mastiff_tables(db): function get_id (line 169) | def get_id(db, hashes): function insert_mastiff_item (line 191) | def insert_mastiff_item(db, hashes, cat_list=None): FILE: skeleton/OUTPUT-skel.py class OUTPUTSkeleton (line 38) | class OUTPUTSkeleton(masOutput.MastiffOutputPlugin): method __init__ (line 41) | def __init__(self): method activate (line 45) | def activate(self): method deactivate (line 49) | def deactivate(self): method output (line 53) | def output(self, config, data): FILE: skeleton/analysis-ext-skel.py class GenSkelExt (line 42) | class GenSkelExt(gen.GenericCat): method __init__ (line 45) | def __init__(self): method analyze (line 50) | def analyze(self, config, filename): method gen_output (line 93) | def gen_output(self, output): FILE: skeleton/analysis-skel.py class GenSkeleton (line 47) | class GenSkeleton(gen.GenericCat): method __init__ (line 50) | def __init__(self): method activate (line 55) | def activate(self): method deactivate (line 59) | def deactivate(self): method analyze (line 63) | def analyze(self, config, filename): method gen_output (line 78) | def gen_output(self): FILE: skeleton/category-skel.py class SkelCat (line 33) | class SkelCat(categories.MastiffPlugin): method __init__ (line 36) | def __init__(self, name=None): method is_my_filetype (line 47) | def is_my_filetype(self, id_dict, file_name):