# Path: Tools/Bypass/bypass_common/bypass_helpers.py
# def deflate(string_val):
# def compileToTemp(language, payloadSource):
# def expiring_payload_variables():
# def format_long(title, message, frontTab=True, spacing=16):
# def inflate(b64string):
# def LHOST():
# def obfuscateNum(N, mod):
# def print_dict_message(commands, show_title=True):
# def randomString(length=-1):
# def title_screen():


from datetime import date
from datetime import timedelta
from Tools.Bypass.bypass_common import bypass_helpers
'''
This file contains the payload sandbox checks for each respective language
'''



def senecas_games(bypass_payload):
    # Start checks to determine language
    # Define original values of variables
    num_tabs_required = 0
    check_code = ''

    if bypass_payload.language == 'msbuild':
        check_code += "\npublic override bool Execute()\n{\n"
        if bypass_payload.required_options["EXPIRE_PAYLOAD"][0].lower() != "x":

            RandToday = bypass_helpers.randomString()

# Path: Tools/Bypass/bypass_common/bypass_helpers.py
# def deflate(string_val):
# def compileToTemp(language, payloadSource):
# def expiring_payload_variables():
# def format_long(title, message, frontTab=True, spacing=16):
# def inflate(b64string):
# def LHOST():
# def obfuscateNum(N, mod):
# def print_dict_message(commands, show_title=True):
# def randomString(length=-1):
# def title_screen():


# Path: Tools/Bypass/bypass_common/gamemaker.py
from datetime import date
from datetime import timedelta
from Tools.Bypass.bypass_common import bypass_helpers

'''
This file contains the payload sandbox checks for each respective language
'''



def senecas_games(bypass_payload):
    # Start checks to determine language
    # Define original values of variables
    num_tabs_required = 0
    check_code = ''

    if bypass_payload.language == 'msbuild':
        check_code += "\npublic override bool Execute()\n{\n"
        if bypass_payload.required_options["EXPIRE_PAYLOAD"][0].lower() != "x":

            RandToday = bypass_helpers.randomString()

            RandExpire = bypass_helpers.randomString()