Example #1
0
 def __init__(self):
     IMAPLayerOperator.__init__(
         self, "IMAP-Cmd2ParamSeparator", "Change the separator char between the command and the first parameter"
     )
     param = StringParam("CHAR", "\r", "Separator char", True)
     param.set_multiple_values(["\r", "   ", "\t"])
     self.add_param(param)
Example #2
0
	def __init__(self):
		IMAPLayerOperator.__init__(self,'IMAPReplaceCommand', 'Substitute a commmand with another')	
		self.add_param(StringParam('From','LSUB','Command to be replaced', True))
		param = StringParam('To','RENAME','Command alternatives', True)
		param.set_multiple_values(['RENAME', 'COPY', 'FIND', 'LIST'])

	        self.add_param(param)
Example #3
0
	def __init__(self):
		IMAPLayerOperator.__init__(self,'IMAP-CmdSeparator', 'Change the separator char between the TAG and the command')	
		param = StringParam('CHAR','\r','Separator char',True)
		param.set_multiple_values(['\r', '   ', '\t'])
		self.add_param(param)
Example #4
0
	def __init__(self):
		IMAPLayerOperator.__init__(self,'LiteralLengthObfuscator', 'Modify the number between curly braces that represents the length of a literal string')	
		self.add_param(IntParam('LEN',20,'Number of zeros in front of the number'))
Example #5
0
	def __init__(self):
		IMAPLayerOperator.__init__(self,'IMAPCmd-ChangeCase', 'Change the case of the imap command')	
Example #6
0
	def __init__(self):
		IMAPLayerOperator.__init__(self,'LongTag', 'Change the case of the imap command')	
		self.add_param(IntParam('LEN',40,'Length of the tag'))
Example #7
0
	def __init__(self):
		IMAPLayerOperator.__init__(self,'WeirdTag', 'Change the case of the imap command')	
		param = StringParam('CHAR','	NOOP','Char to be added at the end of the Tag',True)
		param.set_multiple_values(['	NOOP',',.','"a"','{12}','\t'])
		self.add_param(param)