<commit_before>#!/usr/bin/python3
# encoding: utf-8

import os
import sys
import getopt
import logging
import shutil
from modules.obfuscate_names import ObfuscateNames
from modules.obfuscate_form import ObfuscateForm
from modules.obfuscate_strings import ObfuscateStrings
from modules.excel_gen import ExcelGenerator
from modules.word_gen import WordGenerator
from modules.ppt_gen import PowerPointGenerator
from modules.template_gen import TemplateToVba
from modules.vba_gen import VBAGenerator
from modules.word_dde import WordDDE
from modules.com_run import ComGenerator

from common import utils, mp_session, help
from common.utils import MSTypes
from _ast import arg
from modules import mp_module
if sys.platform == "win32":
    try:
        import win32com.client # @UnresolvedImport
    except:
        print("Error: Could not find win32com. You have to download pywin32 at https://sourceforge.net/projects/pywin32/files/pywin32/")
        sys.exit(1)
MP_TYPE="Pro"
try:
    from pro_modules.vbom_encode import VbomEncoder
    from pro_modules.persistance import Persistance
    from pro_modules.av_bypass import AvBypass
    from pro_modules.excel_trojan import ExcelTrojan
    from pro_modules.word_trojan import WordTrojan
    from pro_modules.ppt_trojan import PptTrojan
    from pro_modules.stealth import Stealth
    from pro_modules.dcom_run import DcomGenerator
    from pro_modules.publisher_gen import PublisherGenerator
except:
    MP_TYPE="Community"

from colorama import init
from termcolor import colored

# use Colorama to make Termcolor work on Windows too
init()


WORKING_DIR = "temp"
VERSION="1.2"<commit_msg>1.3-dev first commit<commit_after>#!/usr/bin/python3
# encoding: utf-8

import os
import sys
import getopt
import logging
import shutil
from modules.obfuscate_names import ObfuscateNames
from modules.obfuscate_form import ObfuscateForm
from modules.obfuscate_strings import ObfuscateStrings
from modules.excel_gen import ExcelGenerator
from modules.word_gen import WordGenerator
from modules.ppt_gen import PowerPointGenerator
from modules.template_gen import TemplateToVba
from modules.vba_gen import VBAGenerator
from modules.word_dde import WordDDE
from modules.com_run import ComGenerator

from common import utils, mp_session, help
from common.utils import MSTypes
from _ast import arg
from modules import mp_module
if sys.platform == "win32":
    try:
        import win32com.client # @UnresolvedImport
    except:
        print("Error: Could not find win32com. You have to download pywin32 at https://sourceforge.net/projects/pywin32/files/pywin32/")
        sys.exit(1)
MP_TYPE="Pro"
try:
    from pro_modules.vbom_encode import VbomEncoder
    from pro_modules.persistance import Persistance
    from pro_modules.av_bypass import AvBypass
    from pro_modules.excel_trojan import ExcelTrojan
    from pro_modules.word_trojan import WordTrojan
    from pro_modules.ppt_trojan import PptTrojan
    from pro_modules.stealth import Stealth
    from pro_modules.dcom_run import DcomGenerator
    from pro_modules.publisher_gen import PublisherGenerator
except:
    MP_TYPE="Community"

from colorama import init
from termcolor import colored

# use Colorama to make Termcolor work on Windows too
init()


WORKING_DIR = "temp"
VERSION="1.3-dev"
{'fraction_non_alphanumeric': 0.049649710630520864, 'fraction_numerical': 0.01096558026195553, 'mean_word_length': 4.970909090909091, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '64840', 'n_tokens_mistral': 1017, 'n_tokens_neox': 988, 'n_words': 307}