MCPcopy Create free account

hub / github.com/Bashfuscator/Bashfuscator / functions

Functions107 in github.com/Bashfuscator/Bashfuscator

↓ 64 callersMethodaddPayloadLine
Mangle a line and add it to the final payload. :param payloadLine: line to be mangled. If the line contains more than 2
bashfuscator/core/engine/mangler.py:254
↓ 26 callersMethodrandGenNum
Randomly generate an integer inclusively. :param min: minimum integer that can be returned :type min: int :param max
bashfuscator/core/engine/random.py:60
↓ 22 callersMethodgenSetElementStr
(self, index)
bashfuscator/modules/token_obfuscators/special_char_only.py:321
↓ 21 callersMethodprobibility
Return True a certain percentage of the time. :param prob: probability of returning True :type prob: int :returns: T
bashfuscator/core/engine/random.py:81
↓ 21 callersMethodrandSelect
Randomly select an element from a sequence. If the argument 'seq' is a dict, a randomly selected key will be returned. :para
bashfuscator/core/engine/random.py:93
↓ 18 callersMethodgenAccessElementStr
(self, index)
bashfuscator/modules/token_obfuscators/special_char_only.py:318
↓ 17 callersMethodrandGenVar
Generate a unique randomly named variable. Variable names can consist of uppercase and lowercase letters, digits, and undersc
bashfuscator/core/engine/random.py:122
↓ 17 callersMethodrandUniqueStr
Generate a random string that is guaranteed to be unique. :param minStrLen: minimum length of generated string :type minStrL
bashfuscator/core/engine/random.py:158
↓ 11 callersMethodgetFinalPayload
Apply any final processing and return the final payload.
bashfuscator/core/engine/mangler.py:857
↓ 11 callersMethodgetNextArrayIndex
(self)
bashfuscator/modules/token_obfuscators/special_char_only.py:312
↓ 9 callersFunctioncolor
Colorize input text, on supported terminals. :param text: text to color :param color_code: color to colorize text :return: colorized
bashfuscator/common/colors.py:12
↓ 8 callersMethodchoosePrefMutator
Chooses a Mutator from a list of mutators which is of the desired preferences, with a stub that uses desired binaries if appr
bashfuscator/core/engine/obfuscation_handler.py:411
↓ 7 callersMethodrandChoice
Generate a random choice. Useful when you need to choose between a set number of choices randomly. :param max: maximum integ
bashfuscator/core/engine/random.py:71
↓ 7 callersMethodrandGenStr
Generate a random string. Functions the same as :meth:`~RandomGen.randUniqueStr`, the only difference being that the generate
bashfuscator/core/engine/random.py:202
↓ 6 callersMethodaddLinesInRandomOrder
Add lines contained in payloadLines to the final payload in a random order. :param payloadLines: sequence of lines to be add
bashfuscator/core/engine/mangler.py:211
↓ 6 callersMethodescapeQuotes
(self, inCmd)
bashfuscator/core/mutators/mutator.py:56
↓ 6 callersFunctionprintWarning
Format and print warning messages to the terminal.
bashfuscator/common/messages.py:24
↓ 5 callersMethod_getRandWhitespace
(self, whitespaceRequired)
bashfuscator/core/engine/mangler.py:543
↓ 5 callersMethod_mangleLine
Return a mangled line. Should not be called directly, use :meth:`~Mangler.addPayloadLine` or :meth:`~Mangler.getMangledLine`
bashfuscator/core/engine/mangler.py:271
↓ 5 callersFunctionprintError
Format and print error messages to the terminal.
bashfuscator/common/messages.py:30
↓ 4 callersMethod_getAnsiCQuotedStr
Return an Ansi-C quoted string. Apply longer forms of Ansi-C quoting depending on the user's sizePref. :param inStr: string
bashfuscator/core/engine/mangler.py:482
↓ 4 callersMethod_getIntegerWithRandBase
(self, integer)
bashfuscator/core/engine/mangler.py:745
↓ 4 callersMethod_insertWhitespaceAndRandChars
(self, whitespaceMatch, payloadLine, whitespaceRequired, insertRandChars)
bashfuscator/core/engine/mangler.py:516
↓ 3 callersMethod_getRandChars
(self)
bashfuscator/core/engine/mangler.py:559
↓ 3 callersMethod_getSizes
(self, minLen, maxLen)
bashfuscator/core/engine/random.py:227
↓ 3 callersMethod_sanatizeExpansionString
(self, exStr)
bashfuscator/core/engine/mangler.py:610
↓ 3 callersMethodgetMutator
(self, userMutator=None, userStub=None, sizePref=None, timePref=None, binaryPref=None, filePref=None)
bashfuscator/core/engine/obfuscation_handler.py:236
↓ 3 callersMethodrandShuffle
Randomly shuffle a sequence in-place. :param seq: sequence to shuffle randomly :type seq: list
bashfuscator/core/engine/random.py:113
↓ 2 callersMethod_getMangledInteger
(self, integer, wrapExpression)
bashfuscator/core/engine/mangler.py:633
↓ 2 callersMethod_getWhitespaceAndRandChars
(self, whitespaceRequired, insertRandChars)
bashfuscator/core/engine/mangler.py:524
↓ 2 callersMethod_initialize
(self, sizePref=None, enableMangling=None, mangleBinaries=None, binaryManglePercent=None, randWhitespace=None,
bashfuscator/core/engine/mangler.py:99
↓ 2 callersMethod_mangleInteger
(self, integerMatch, payloadLine, wrapExpression)
bashfuscator/core/engine/mangler.py:623
↓ 2 callersMethod_wrapArithmeticExpression
(self, expression)
bashfuscator/core/engine/mangler.py:802
↓ 2 callersFunctionbold
Returns bold text on supported terminals.
bashfuscator/common/colors.py:69
↓ 2 callersMethodevalWrap
Wrap the payload in an execution stub, to allow bash to execute the string produced by the payload. Will not wrap the payload
bashfuscator/core/engine/obfuscation_handler.py:371
↓ 2 callersFunctionfindArgcompletePath
(command)
setup.py:11
↓ 2 callersMethodforgetUniqueStrs
Clear the sets of previously generated variable names and strings. Should be called when random variable names/strings are ne
bashfuscator/core/engine/random.py:49
↓ 2 callersMethodgenObfuscationLayer
Generate one layer of obfuscation. If called with the userMutator or userStub parameters, the Mutator and/or Stub specified b
bashfuscator/core/engine/obfuscation_handler.py:283
↓ 2 callersMethodgenStub
Generate a valid deobfuscation stub and wrap an obfuscated command in it. :param userCmd: command that need to be wrapped in
bashfuscator/core/mutators/command_obfuscator.py:86
↓ 2 callersMethodgenerate
(self, userCmd, writeableDir=None)
bashfuscator/modules/string_obfuscators/glob_obfuscators/_glob_obfuscator.py:23
↓ 2 callersMethodgetIndexVars
(self, index)
bashfuscator/modules/token_obfuscators/special_char_only.py:324
↓ 2 callersMethodgetPrefItems
Get Mutators or Stubs from a sequence which sizeRatings and timeRatings. :param seq: list of Mutators of Stubs :type
bashfuscator/core/engine/obfuscation_handler.py:659
↓ 2 callersMethodgetPrefRange
Get the minimum and maximum sizeRatings or timeRatings that should be used to select obfuscator and stubs :param pref: sizeP
bashfuscator/core/engine/obfuscation_handler.py:700
↓ 2 callersMethodgetPrefStubs
Get Stubs from a sequence which are suitable to use based off the user's preferences. :param seq: list of Mutators of Stubs
bashfuscator/core/engine/obfuscation_handler.py:605
↓ 2 callersMethodmutate
(self, userCmd)
bashfuscator/modules/encoders/rot_n.py:18
↓ 2 callersFunctionred
Returns red text on supported terminals.
bashfuscator/common/colors.py:34
↓ 2 callersMethodsetSizes
(self, userCmd)
bashfuscator/modules/string_obfuscators/glob_obfuscators/_glob_obfuscator.py:50
↓ 1 callersMethod__init__
(self, name, sizeRating, timeRating, binariesUsed, fileWrite, escapeQuotes, stub)
bashfuscator/core/mutators/command_obfuscator.py:73
↓ 1 callersMethod_expandInteger
Generates a simple mathematical expression of 3 terms that equal the number passed. Returns a template expression string, and
bashfuscator/core/engine/mangler.py:653
↓ 1 callersMethod_getCommandTerminator
(self, terminatorMatch, payloadLine)
bashfuscator/core/engine/mangler.py:814
↓ 1 callersMethod_intToBaseN
Borrowed from https://stackoverflow.com/questions/2267362/how-to-convert-an-integer-in-any-base-to-a-string
bashfuscator/core/engine/mangler.py:783
↓ 1 callersMethod_mangleBinary
(self, binaryMatch, payloadLine)
bashfuscator/core/engine/mangler.py:347
↓ 1 callersMethodaddJunk
Add random whitespace and useless commands to the beginning or end of the final payload. :param prependJunk: True if junk sh
bashfuscator/core/engine/mangler.py:331
↓ 1 callersFunctionblue
Returns blue text on supported terminals.
bashfuscator/common/colors.py:49
↓ 1 callersMethodcheckMutatorList
(self)
bashfuscator/core/engine/obfuscation_handler.py:216
↓ 1 callersMethodchoosePrefStub
Choose a stub which is of the desired sizeRating, timeRating, and uses desired binaries. If the userStub parameter is passed,
bashfuscator/core/engine/obfuscation_handler.py:556
↓ 1 callersMethodgenSymbolAlphabetStr
(self, lowerArrayName, upperArrayName, initialStr)
bashfuscator/modules/token_obfuscators/special_char_only.py:276
↓ 1 callersMethodgenXorKey
(self, keyLen, userCmd)
bashfuscator/modules/encoders/xor_non_null.py:17
↓ 1 callersMethodgetMangledLine
Mangle a line, preform any final processing and return its output. :param payloadLine: line to be mangled. If the line conta
bashfuscator/core/engine/mangler.py:235
↓ 1 callersMethodgetPrefMutators
Get Mutators from a sequence which are suitable to use based off the user's preferences. :param seq: list of Mutators of Stu
bashfuscator/core/engine/obfuscation_handler.py:484
↓ 1 callersFunctionimport_mutators
()
bashfuscator/core/utils.py:8
↓ 1 callersMethodsetFullAsciiStrings
Set the default charset used when generating random variables and strings to the (almost) full ASCII charset. Only "'" and "/
bashfuscator/core/engine/random.py:38
↓ 1 callersMethodstrToArrayElements
(self, inCmd)
bashfuscator/core/mutators/mutator.py:59
↓ 1 callersFunctionyellow
Returns yellow text on supported terminals.
bashfuscator/common/colors.py:44
Method__init__
(self)
bashfuscator/modules/compressors/gzip.py:8
Method__init__
(self)
bashfuscator/modules/compressors/bzip2.py:8
Method__init__
(self)
bashfuscator/modules/token_obfuscators/for_code.py:5
Method__init__
(self)
bashfuscator/modules/token_obfuscators/special_char_only.py:8
Method__init__
(self)
bashfuscator/modules/encoders/base64.py:7
Method__init__
(self)
bashfuscator/modules/encoders/xor_non_null.py:5
Method__init__
(self)
bashfuscator/modules/encoders/rot_n.py:5
Method__init__
(self)
bashfuscator/modules/string_obfuscators/hex_hash.py:7
Method__init__
(self)
bashfuscator/modules/string_obfuscators/glob_obfuscators/file_glob.py:5
Method__init__
(self, name, description, sizeRating, timeRating, author)
bashfuscator/modules/string_obfuscators/glob_obfuscators/_glob_obfuscator.py:7
Method__init__
(self)
bashfuscator/modules/string_obfuscators/glob_obfuscators/folder_glob.py:5
Method__init__
(self)
bashfuscator/modules/command_obfuscators/case_swapper.py:6
Method__init__
(self)
bashfuscator/modules/command_obfuscators/reverse.py:6
Method__init__
(self)
bashfuscator/core/engine/random.py:35
Method__init__
(self)
bashfuscator/core/engine/mangler.py:66
Method__init__
(self, cmdObfuscators=None, strObfuscators=None, tokObfuscators=None, encoders=None, compressors=None, args=No
bashfuscator/core/engine/obfuscation_handler.py:44
Method__init__
(self, name, mutatorType, description, sizeRating, timeRating, notes, author, credits, evalWrap, unreadableOut
bashfuscator/core/mutators/mutator.py:35
Method__init__
(self, name, description, sizeRating, timeRating, notes=None, author=None, credits=None, evalWrap=True, unread
bashfuscator/core/mutators/command_obfuscator.py:42
Method__init__
(self, name, description, sizeRating, timeRating, binariesUsed=[], fileWrite=False, notes=None, author=None, c
bashfuscator/core/mutators/token_obfuscator.py:32
Method__init__
(self, name, description, sizeRating, timeRating, binariesUsed=[], fileWrite=False, notes=None, author=None, c
bashfuscator/core/mutators/string_obfuscator.py:40
Method__init__
(self, name, description, sizeRating, timeRating, binariesUsed=[], fileWrite=False, notes=None, author=None, c
bashfuscator/core/mutators/encoder.py:37
Method__init__
(self, name, description, sizeRating, timeRating, binariesUsed=[], fileWrite=False, notes=None, author=None, c
bashfuscator/core/mutators/compressor.py:38
FunctionactivateQuietMode
Activate quiet mode, only print errors.
bashfuscator/common/messages.py:12
Functionblack
Returns black text on supported terminals.
bashfuscator/common/colors.py:29
Functioncyan
Returns cyan text on supported terminals.
bashfuscator/common/colors.py:59
MethodgeneratePayload
Generate the final payload. Obfuscates the original input by feeding it into Mutators a number of times as specified by the '
bashfuscator/core/engine/obfuscation_handler.py:177
Functiongreen
Returns green text on supported terminals.
bashfuscator/common/colors.py:39
Functionmagenta
Returns magenta text on supported terminals.
bashfuscator/common/colors.py:54
Methodmutate
(self, userCmd)
bashfuscator/modules/compressors/gzip.py:18
Methodmutate
(self, userCmd)
bashfuscator/modules/compressors/bzip2.py:18
Methodmutate
(self, userCmd)
bashfuscator/modules/token_obfuscators/for_code.py:16
Methodmutate
(self, userCmd)
bashfuscator/modules/token_obfuscators/special_char_only.py:22
Methodmutate
(self, userCmd)
bashfuscator/modules/encoders/base64.py:17
Methodmutate
(self, userCmd)
bashfuscator/modules/encoders/xor_non_null.py:41
Methodmutate
(self, userCmd)
bashfuscator/modules/string_obfuscators/hex_hash.py:17
Methodmutate
(self, userCmd)
bashfuscator/modules/string_obfuscators/glob_obfuscators/file_glob.py:14
next →1–100 of 107, ranked by callers