(self)
return dict(config={}, data=results)
Volatility pslist plugin.
        @see volatility/plugins/taskmods.py
Volatility pslist plugin.
Volatility pslist plugin .
def pslist(self):
        """Volatility pslist plugin.
        @see volatility/plugins/taskmods.py
        """
        results = []

        command = taskmods.PSList(self.config)
        for process in command.calculate():
            results.append({
                "process_name": str(process.ImageFileName),
                "process_id": int(process.UniqueProcessId),
                "parent_id": int(process.InheritedFromUniqueProcessId),
                "num_threads": str(process.ActiveThreads),
                "num_handles": s(process.ObjectTable.HandleCount),
                "session_id": s(process.SessionId),
                "create_time": str(process.CreateTime or ""),
                "exit_time": str(process.ExitTime or ""),
            })

        return dict(config={}, data=results)
def pslist ( self ) : results = [ ] command = taskmods . PSList ( self . config ) for process in command . calculate ( ) : results . append ( { "process_name" : str ( process . ImageFileName ) , "process_id" : int ( process . UniqueProcessId ) , "parent_id" : int ( process . InheritedFromUniqueProcessId ) , "num_threads" : str ( process . ActiveThreads ) , "num_handles" : s ( process . ObjectTable . HandleCount ) , "session_id" : s ( process . SessionId ) , "create_time" : str ( process . CreateTime or "" ) , "exit_time" : str ( process . ExitTime or "" ) , } ) return dict ( config = { } , data = results )