

def controlset(string, argv, argv1):
    list1 = ['injectors/Linux86/ptrace', 'injectors/Linux64/ptrace', 'injectors/Windows/Dllinjector']
    list2 = ['injectors/Windowsx86/tLsInjectorDLL']
    list3 = ['injectors/Windowsx86/CodecaveInjector']
    if (len(argv) >= len(argv1)):
        if (len(argv) == 0):
            padd = 8
        elif (len(argv) == 1):
            padd = 8
        elif (len(argv) == 2):
            padd = 8
        else:
            padd = (len(argv) + 5)
    else:
        padd = (len(argv1) + 5)
    if (string in list1):
        print((bcolors.GREEN + '\nModule options ({0}):\n\n\tName\t\t{1}\t\tRequired\tDescription\n\t----\t\t{2}\t\t--------\t-----------\n\tpid\t\t{3}\t\tyes\t\tProcess ID\n\tshellcode\t{4}\t\tyes\t\tInject Bytes\n'.format(string, 'Current Setting'.ljust(padd), '---------------'.ljust(padd), argv.ljust(padd), argv1.ljust(padd))))
    elif (string in list2):
        print((bcolors.GREEN + '\nModule options ({0}):\n\n\tName\t\t{1}\t\tRequired\tDescription\n\t----\t\t{2}\t\t--------\t-----------\n\texe\t\t{3}\t\tyes\t\tTarget exe file\n\tdll\t\t{4}\t\tyes\t\tDll file to injection\n'.format(string, 'Current Setting'.ljust(padd), '---------------'.ljust(padd), argv.ljust(padd), argv1.ljust(padd))))
    elif (string in list3):
        print((bcolors.GREEN + '\nModule options ({0}):\n\n\tName\t\t{1}\t\tRequired\tDescription\n\t----\t\t{2}\t\t--------\t-----------\n\texe\t\t{3}\t\tyes\t\tTarget exe file\n\tshellcode\t{4}\t\tyes\t\tInject Bytes\n'.format(string, 'Current Setting'.ljust(argv1), '---------------'.ljust(padd), argv.ljust(padd), argv1.ljust(padd))))

dataset/ETHPy150Open b3mb4m/shellsploit-framework/shell/core/Injectoroptions.py controlset/VarMisuse@269/671 `padd`->`argv1`