示例#1
0
def generate_fft():
    byte_path = "../train_subset/"
    labels_file = "../labels/trainLabels.csv"

    # Build the filename -> Malware class dictionary:
    file_to_malware = utilities.get_malware_dict(labels_file)
    utilities.process_file_folder(byte_path, '.bytes', fft, '../train_subset/', file_to_malware)
示例#2
0
def generate_fft():
    byte_path = "../train_subset/"
    labels_file = "../labels/trainLabels.csv"

    # Build the filename -> Malware class dictionary:
    file_to_malware = utilities.get_malware_dict(labels_file)
    utilities.process_file_folder(byte_path, '.bytes', fft, '../train_subset/',
                                  file_to_malware)
示例#3
0
def generate_csv_files():
    asm_path = "../test/"
    labels_file = "../labels/trainLabels.csv"

    # Build the filename -> Malware class dictionary:
    file_to_malware = utilities.get_malware_dict(labels_file)

    utilities.process_file_folder(asm_path, '.asm',extract_columns,'../test_parsed',file_to_malware)
示例#4
0
def generate_csv_files():
    asm_path = "../test/"
    labels_file = "../labels/trainLabels.csv"

    # Build the filename -> Malware class dictionary:
    file_to_malware = utilities.get_malware_dict(labels_file)

    utilities.process_file_folder(asm_path, '.asm', extract_columns,
                                  '../test_parsed', file_to_malware)