Example #1
0
 def __init__(self, bv, options):
     global task
     BackgroundTaskThread.__init__(self, "Importing data from IDA", False)
     self.json_file = options.json_file
     self.options = options
     self.bv = bv
     task = self
 def __init__(self, view):
     BackgroundTaskThread.__init__(
         self,
         initial_progress_text=self._PROGRESS_TEXT + "...",
         can_cancel=True)
     self._view = view
     self._total = 0
     self._current = 0
Example #3
0
 def __init__(self, bv, options):
     global task
     BackgroundTaskThread.__init__(self, "Importing data from Polypyus",
                                   False)
     self.csv_file = options.csv_file
     self.options = options
     self.bv = bv
     task = self
Example #4
0
 def __init__(self, mode, bv, addr, size):
     BackgroundTaskThread.__init__(self, "Linear sweep", True)
     self.mode = mode
     self.bv = bv
     self.addr = addr
     self.size = size
     self.found = 0
     self.progress = "Linear sweep starting"
Example #5
0
        def __init__(self, bv):
            BackgroundTaskThread.__init__(self, "Resolving Ordinals", True)
            self.bv = bv

            # Write the binary to disk so that pefile can read it
            self.binary = tempfile.NamedTemporaryFile()
            self.binary.write(bv.file.raw.read(0, len(bv.file.raw)))
            self.binary.flush()
Example #6
0
 def __init__(self, bv, options):
     BackgroundTaskThread.__init__(self, 'Beginning scan for crypto constructs...', True)
     self.bv = bv
     self.options = options
     self.br = bn.BinaryReader(self.bv, bn.Endianness.LittleEndian)
     self.log_info('Initialising Plugin')
     self.scanconfigs = []
     self.load_configs()
     self.log_info('Loaded {count} configurations'.format(count = len(self.scanconfigs)))
Example #7
0
 def __init__(self,
              code,
              snippetGlobals,
              context,
              snippetName="Executing snippet"):
     BackgroundTaskThread.__init__(self, f"{snippetName}...", False)
     self.code = code
     self.globals = snippetGlobals
     self.context = context
 def __init__(self):
     BackgroundTaskThread.__init__(
         self, "Vulnerability research with afl-unicorn fuzzer started...", True)
     self.afl_binary = None
     self.dumped_memory = None
     self.inputs = None
     self.outputs = None
     self.harness_file = None
     self.json_file = None
Example #9
0
    def __init__(self, find, avoid, view):
        BackgroundTaskThread.__init__(self, "Solving with angr...", True)
        self.find = tuple(find)
        self.avoid = tuple(avoid)
        self.view = view

        # Write the binary to disk so that the angr API can read it
        self.binary = tempfile.NamedTemporaryFile()
        self.binary.write(view.file.raw.read(0, len(view.file.raw)))
        self.binary.flush()
	def __init__(self, find, avoid, view):
		BackgroundTaskThread.__init__(self, "Solving with angr...", True)
		self.find = tuple(find)
		self.avoid = tuple(avoid)
		self.view = view

		# Write the binary to disk so that the angr API can read it
		self.binary = tempfile.NamedTemporaryFile()
		self.binary.write(view.file.raw.read(0, len(view.file.raw)))
		self.binary.flush()
Example #11
0
File: ief.py Project: etke/ief
 def __init__(self, binview, func, msg):
     BackgroundTaskThread.__init__(self, msg, True)
     self.binview = binview
     self.func = func
Example #12
0
 def __init__(self, bv):
     BackgroundTaskThread.__init__(self, 'Linear sweeping...')
     self.bv = bv
Example #13
0
 def __init__(self, bv, msg):
     BackgroundTaskThread.__init__(self, msg, True)
     self.bv = bv
Example #14
0
 def __init__(self, bv):
     BackgroundTaskThread.__init__(self, "Function finder", True)
     self.bv = bv
Example #15
0
 def __init__(self):
     BackgroundTaskThread.__init__(self, "", can_cancel=False)
     self.connection_file = None
Example #16
0
 def __init__(self, bv: BinaryView) -> None:
     BackgroundTaskThread.__init__(self, self.progress_title)
     self.bv = bv
Example #17
0
 def __init__(self, obj: Any, fn: str) -> None:
     BackgroundTaskThread.__init__(self, "Writing Dex structure as JSON")
     self.obj = obj
     self.fn = fn
Example #18
0
 def __init__(self, bv):
     BackgroundTaskThread.__init__(self, "Split Function Fixer", True)
     self.bv = bv
     self.found = 0