id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37,600 | agent.py | google_rekall/rekall-agent/rekall_agent/config/agent.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 7,104 | Python | .py | 169 | 31.272189 | 80 | 0.599246 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,601 | __init__.py | google_rekall/rekall-agent/rekall_agent/policies/__init__.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 1,649 | Python | .py | 33 | 48.757576 | 80 | 0.799254 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,602 | files.py | google_rekall/rekall-agent/rekall_agent/policies/files.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,947 | Python | .py | 82 | 41.670732 | 80 | 0.693129 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,603 | encrypted_gcs.py | google_rekall/rekall-agent/rekall_agent/policies/encrypted_gcs.py |
## To be done!
from rekall_agent import crypto
class EncryptedGCSServerPolicy(agent.ServerPolicy):
"""A server deployment policy which stored files in Google Cloud Storage."""
schema = [
dict(name="server_private_key", type=crypto.RSAPrivateKey,
doc="The client's private key"),
... | 1,070 | Python | .py | 23 | 38.347826 | 80 | 0.668919 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,604 | collect.py | google_rekall/rekall-agent/rekall_agent/flows/collect.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,671 | Python | .py | 91 | 33.747253 | 79 | 0.672942 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,605 | __init__.py | google_rekall/rekall-agent/rekall_agent/flows/__init__.py | from rekall_agent.flows import artifact_flow
from rekall_agent.flows import collect
from rekall_agent.flows import find
from rekall_agent.flows import yara
| 156 | Python | .py | 4 | 38 | 44 | 0.861842 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,606 | artifact_flow.py | google_rekall/rekall-agent/rekall_agent/flows/artifact_flow.py | # Rekall Memory Forensics
#
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Michael Cohen <scudette@google.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version ... | 3,718 | Python | .py | 87 | 36.321839 | 79 | 0.683467 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,607 | find.py | google_rekall/rekall-agent/rekall_agent/flows/find.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 8,765 | Python | .py | 201 | 34.825871 | 80 | 0.641212 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,608 | yara.py | google_rekall/rekall-agent/rekall_agent/flows/yara.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 1,550 | Python | .py | 39 | 35.769231 | 73 | 0.708583 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,609 | download.py | google_rekall/rekall-agent/rekall_agent/client_actions/download.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,514 | Python | .py | 78 | 35.769231 | 79 | 0.635858 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,610 | plugins.py | google_rekall/rekall-agent/rekall_agent/client_actions/plugins.py | """A client action which runs arbitrary plugins.
This action runs the plugin with the provided arguments and outputs the result
into a collection.
Rekall uses renderers to convert the output to a desired output. There are two
useful formats which Rekall produces. The TextRenderer produces textual output
(which is the... | 7,025 | Python | .py | 157 | 34.598726 | 80 | 0.621926 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,611 | osquery.py | google_rekall/rekall-agent/rekall_agent/client_actions/osquery.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,686 | Python | .py | 84 | 37.666667 | 79 | 0.697402 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,612 | osquery_test.py | google_rekall/rekall-agent/rekall_agent/client_actions/osquery_test.py | import subprocess
from rekall import testlib as rekall_testlib
from rekall_agent import testlib
from rekall_agent.client_actions import osquery
def check_if_osquery_installed():
"""Only enable this test if osqueryi is installed."""
try:
subprocess.check_call(["osqueryi", "--version"])
return T... | 901 | Python | .py | 24 | 31.5 | 60 | 0.68318 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,613 | collect.py | google_rekall/rekall-agent/rekall_agent/client_actions/collect.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 2,083 | Python | .py | 47 | 38.234043 | 77 | 0.697284 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,614 | __init__.py | google_rekall/rekall-agent/rekall_agent/client_actions/__init__.py | #from rekall_agent.client_actions import collect
#from rekall_agent.client_actions import darwin
#from rekall_agent.client_actions import download
#from rekall_agent.client_actions import files
#from rekall_agent.client_actions import interrogate
from rekall_agent.client_actions import plugins
#from rekall_agent.client... | 389 | Python | .py | 8 | 47.625 | 52 | 0.855643 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,615 | tsk_test.py | google_rekall/rekall-agent/rekall_agent/client_actions/tsk_test.py | from rekall import resources
from rekall_agent import testlib
from rekall_agent.client_actions import files
from rekall_agent.client_actions import tsk
class TestTSK(testlib.ClientAcionTest):
def setUp(self):
super(TestTSK, self).setUp()
# Add a fake mount point to the image.
mount_tree_h... | 1,298 | Python | .py | 30 | 33.933333 | 72 | 0.63254 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,616 | files.py | google_rekall/rekall-agent/rekall_agent/client_actions/files.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 9,243 | Python | .py | 227 | 29.907489 | 79 | 0.571524 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,617 | tsk.py | google_rekall/rekall-agent/rekall_agent/client_actions/tsk.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 5,843 | Python | .py | 141 | 30.049645 | 80 | 0.565486 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,618 | collect_test.py | google_rekall/rekall-agent/rekall_agent/client_actions/collect_test.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,559 | Python | .py | 86 | 34.651163 | 79 | 0.677878 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,619 | files_test.py | google_rekall/rekall-agent/rekall_agent/locations/files_test.py | import os
import StringIO
from rekall import testlib
from rekall_agent.config import agent
from rekall_agent.locations import files
from rekall_agent.policies import files as policy_files
class TestFileLocation(testlib.RekallBaseUnitTestCase):
"""Test the file based Location object."""
string1 = "String 1"
... | 3,295 | Python | .py | 69 | 38.26087 | 75 | 0.65542 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,620 | cloud_test.py | google_rekall/rekall-agent/rekall_agent/locations/cloud_test.py | # -*- coding: utf-8 -*-
"""Test the cloud locations for contacting Google Cloud Storage."""
import argparse
import os
import StringIO
import time
from rekall import testlib
from rekall_agent.locations import cloud
# Note that this test requires a valid connection to the cloud.
parser = argparse.ArgumentParser(descrip... | 8,902 | Python | .py | 192 | 35.390625 | 73 | 0.614129 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,621 | http_test.py | google_rekall/rekall-agent/rekall_agent/locations/http_test.py | # -*- coding: utf-8 -*-
"""Test the cloud locations for contacting Google Cloud Storage."""
import os
import io
import shutil
import tempfile
import threading
import time
import portpicker
from rekall import session as rekall_session
from rekall import testlib
from rekall_lib import crypto
from rekall_lib import seri... | 8,044 | Python | .py | 178 | 35.853933 | 79 | 0.638077 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,622 | cloud.py | google_rekall/rekall-agent/rekall_agent/locations/cloud.py | # Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of th... | 31,063 | Python | .py | 667 | 35.257871 | 92 | 0.605033 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,623 | __init__.py | google_rekall/rekall-agent/rekall_agent/locations/__init__.py | # Implementations of location handlers.
# pylint: disable=unused-import
#from rekall_agent.locations import cloud
from rekall_agent.locations import files
from rekall_agent.locations import http_location
| 205 | Python | .py | 5 | 39.8 | 48 | 0.854271 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,624 | gae.py | google_rekall/rekall-agent/rekall_agent/locations/gae.py | """Location to interact with the Google App Engine server."""
from rekall_agent.locations import cloud
| 104 | Python | .py | 2 | 50.5 | 61 | 0.80198 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,625 | http_location.py | google_rekall/rekall-agent/rekall_agent/locations/http_location.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 11,649 | Python | .py | 257 | 35.431907 | 138 | 0.61773 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,626 | files.py | google_rekall/rekall-agent/rekall_agent/locations/files.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 4,642 | Python | .py | 112 | 32.517857 | 80 | 0.620337 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,627 | gae.py | google_rekall/rekall-agent/rekall_agent/servers/gae.py | """Server configuration for Google App Engine.
NOTE: The Google App Engine app does not use this code, therefore none of the
*_for_server() handlers are implemented.
"""
from rekall_agent.config import agent
from rekall_agent.locations import http_location
from rekall_lib.rekall_types import location
class GAEClient... | 933 | Python | .py | 22 | 34.636364 | 77 | 0.669239 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,628 | http_server.py | google_rekall/rekall-agent/rekall_agent/servers/http_server.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 25,646 | Python | .py | 598 | 31.575251 | 89 | 0.583454 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,629 | copyright | google_rekall/rekall-agent/installers/debian/copyright | Format: http://dep.debian.net/deps/dep5
Upstream-Name: rekall-agent-debian
Source: http://www.rekall-forensic.com
Files: *
Copyright: 2017 Google Inc.
License: GPL
License: GPL
Licensed under the GPL.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-license... | 330 | Python | .py | 10 | 31.4 | 71 | 0.788644 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,630 | setup.py | google_rekall/src/setup.py | from distutils.core import setup, Extension
pysupport = Extension('volatility.support',
sources = ['src/support.c'],
extra_compile_args=["-O0"])
setup(name='support',
version='0.5',
description='Support clases for volatility.',
ext_modules=[pysupport])
| 317 | Python | .py | 8 | 30.625 | 51 | 0.615635 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,631 | bootstrap.py | google_rekall/src/profiles/macho/bootstrap.py | #!/usr/bin/env python
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your... | 10,389 | Python | .py | 242 | 34.053719 | 80 | 0.621825 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,632 | generate_test.py | google_rekall/src/hooks/generate_test.py | from __future__ import print_function
from rekall import utils
import subprocess
import re
import yaml
def ExtractTestCases(data):
test_cases = []
# The start of the section is at this file offset. This is mapped into
# memory at the .text segment (which is at offset 0).
m = re.search("__start__", dat... | 1,219 | Python | .py | 33 | 31.363636 | 78 | 0.638842 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,633 | setup.py | google_rekall/rekall-lib/setup.py | #!/usr/bin/env python
# Rekall
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Authors:
# Michael Cohen <scudette@google.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either vers... | 2,924 | Python | .py | 84 | 30.654762 | 73 | 0.685997 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,634 | serializer.py | google_rekall/rekall-lib/rekall_lib/serializer.py | """A Serialization system based on json.
There are some popular choices for serialization formats in python varying
between a flexible, undefined schema and rigid, predefined schema. For example
one can use Pickle to serialize (almost) arbitrary objects, which is one end of
the scale. The opposite end of the scale is ... | 29,114 | Python | .py | 662 | 35.040785 | 80 | 0.646302 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,635 | yaml_utils.py | google_rekall/rekall-lib/rekall_lib/yaml_utils.py | from rekall_lib import utils
import collections
import yaml
class OrderedYamlDict(yaml.YAMLObject, collections.OrderedDict):
"""A class which produces an ordered dict."""
yaml_tag = "tag:yaml.org,2002:map"
@classmethod
def to_yaml(cls, dumper, data):
value = []
node = yaml.nodes.Mappi... | 4,142 | Python | .py | 99 | 33.646465 | 127 | 0.657435 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,636 | _version.py | google_rekall/rekall-lib/rekall_lib/_version.py |
# Machine Generated - do not edit!
# This file is produced when the main "version.py update" command is run. That
# command copies this file to all sub-packages which contain
# setup.py. Configuration is maintain in version.yaml at the project's top
# level.
def get_versions():
return tag_version_data(raw_versio... | 3,377 | Python | .py | 85 | 33.223529 | 78 | 0.627559 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,637 | testlib.py | google_rekall/rekall-lib/rekall_lib/testlib.py | """Utilities for testing Rekall Agent components."""
from __future__ import print_function
import json
import os
import sqlite3
from rekall import resources
from rekall import testlib
from rekall_agent.config import agent
from rekall_agent.locations import files
class ClientAcionTest(testlib.RekallBaseUnitTestCase):... | 1,889 | Python | .py | 46 | 32.23913 | 79 | 0.641881 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,638 | utils.py | google_rekall/rekall-lib/rekall_lib/utils.py | # Rekall Memory Forensics
#
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Authors:
# Michael Cohen <scudette@users.sourceforge.net>
# Michael Hale Ligh <michael.hale@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as publ... | 31,868 | Python | .py | 856 | 29.169393 | 86 | 0.608346 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,639 | registry.py | google_rekall/rekall-lib/rekall_lib/registry.py | # Rekall Memory Forensics
# Copyright (C) 2011
#
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Michael Cohen <scudette@gmail.com>
#
# ******************************************************
#
# * This program is free software; you can redistribute it and/or
# * modify it under the terms of the GNU General Public... | 5,766 | Python | .py | 132 | 35.674242 | 87 | 0.635974 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,640 | serializer_test.py | google_rekall/rekall-lib/rekall_lib/serializer_test.py |
from rekall import testlib
from rekall_lib import serializer
class TestObject1(serializer.SerializedObject):
schema = [
dict(name="C1", type="int"),
dict(name="R1", type="unicode", repeated=True),
dict(name="C2", type="str"),
]
# Note that forward declarations are not currently impl... | 5,693 | Python | .py | 121 | 37.520661 | 80 | 0.641021 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,641 | crypto.py | google_rekall/rekall-lib/rekall_lib/crypto.py | """Various cryptography helpers.
AppEngine can only use PyCrypto so here we implement the same SerializedObject
as the agent using that library.
"""
from rekall_lib import serializer
from rekall_lib import utils
from Crypto import Random
from Crypto.Hash import SHA256
from Crypto.Signature import PKCS1_v1_5
from Cry... | 3,723 | Python | .py | 95 | 32.252632 | 79 | 0.662493 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,642 | artifacts.py | google_rekall/rekall-lib/rekall_lib/rekall_types/artifacts.py | from rekall_lib import serializer
class SourceType(serializer.SerializedObject):
schema = [
dict(name="type",
doc="The source type"),
dict(name="attributes", type="dict",
doc="Attributes of the source type"),
dict(name="supported_os", repeated=True,
do... | 703 | Python | .py | 19 | 28.368421 | 61 | 0.604993 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,643 | client.py | google_rekall/rekall-lib/rekall_lib/rekall_types/client.py | from rekall_lib import yaml_utils
from rekall_lib.rekall_types import location
from rekall_lib.rekall_types import actions
from rekall_lib import serializer
ClientInformation = Uname = None
# It is more convenient to load the following automatically from yaml data.
specs = yaml_utils.ordered_load("""
ClientInformatio... | 5,153 | Python | .py | 156 | 29.269231 | 84 | 0.727749 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,644 | resources.py | google_rekall/rekall-lib/rekall_lib/rekall_types/resources.py | from rekall_lib import serializer
class Resources(serializer.SerializedObject):
"""Measure resource usage."""
schema = [
dict(name="user_time", type="float", default=60.0),
dict(name="system_time", type="float", default=60.0),
dict(name="wall_time", type="float", default=60.0),
]
... | 852 | Python | .py | 24 | 28.5 | 67 | 0.638584 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,645 | location.py | google_rekall/rekall-lib/rekall_lib/rekall_types/location.py | from builtins import object
from rekall_lib import serializer
class Status(object):
"""Represents the status of a network operation."""
def __init__(self, code=200, data=""):
self.code = code
self.data = data
def ok(self):
return self.code == 200
class Location(serializer.Seria... | 3,528 | Python | .py | 96 | 29.739583 | 80 | 0.644562 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,646 | collections.py | google_rekall/rekall-lib/rekall_lib/rekall_types/collections.py | #!/usr/bin/env python2
# Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation... | 3,452 | Python | .py | 82 | 36.365854 | 78 | 0.681913 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,647 | agent.py | google_rekall/rekall-lib/rekall_lib/rekall_types/agent.py | import time
from rekall_lib import serializer
from rekall_lib.rekall_types import actions
from rekall_lib.rekall_types import location
from rekall_lib.rekall_types import resources
class Status(serializer.SerializedObject):
schema = [
dict(name="timestamp", type="epoch"),
dict(name="status", type... | 9,267 | Python | .py | 209 | 35.91866 | 80 | 0.640338 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,648 | actions.py | google_rekall/rekall-lib/rekall_lib/rekall_types/actions.py | from rekall_lib.rekall_types import collections
from rekall_lib import serializer
class Action(serializer.SerializedObject):
"""An action is run on the client."""
"""Requests a client action to run on the agent.
Action implementations will extend this message.
"""
schema = [
dict(name="c... | 1,926 | Python | .py | 46 | 33.413043 | 76 | 0.643203 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,649 | setup.py | google_rekall/contrib/pyxpress/setup.py | # Rekall Memory Forensics
#
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Authors:
# Copyright (C) 2012 Michael Cohen <scudette@users.sourceforge.net>
from distutils.core import setup, Extension
pyxpress = Extension('pyxpress',
sources = ['pyxpress.c'])
setup (name = 'PyXpress',
... | 452 | Python | .py | 13 | 30.230769 | 81 | 0.694253 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,650 | symbol_versioning.py | google_rekall/contrib/scripts/symbol_versioning.py | #!/bin/python
"""This script removes an ELF binaries symbol versioning.
This is needed to allow the binary to run on older systems reliably.
See the Rekall's blog post "ELF hacking with Rekall"
"""
import argparse
from rekall import session
from rekall.plugins.overlays.linux import elf
from rekall.plugins.addrspace... | 2,442 | Python | .py | 59 | 33.728814 | 68 | 0.649197 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,651 | setup.py | google_rekall/rekall-core/setup.py | #!/usr/bin/env python
# Rekall
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Authors:
# Michael Cohen <scudette@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either versi... | 5,477 | Python | .py | 151 | 30.741722 | 80 | 0.642736 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,652 | obj.py | google_rekall/rekall-core/rekall/obj.py | # Rekall Memory Forensics
# Copyright (C) 2007,2008 Volatile Systems
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Copyright (C) 2005,2006 4tphi Research
# Author: {npetroni,awalters}@4tphi.net (Nick Petroni and AAron Walters)
# Author: Michael Cohen scudette@gmail.com.
#
# This program is free software; you ca... | 89,894 | Python | .py | 2,021 | 34.247402 | 119 | 0.603702 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,653 | compatibility.py | google_rekall/rekall-core/rekall/compatibility.py | # Fix bugs in dependent libraries.
# Fix bug in pyelftools.
from elftools.elf import elffile
# pyelftools does not officially support ARM but this seems to work anyway.
class ELFFile(elffile.ELFFile):
def get_machine_arch(self):
result = super(ELFFile, self).get_machine_arch()
if result == "ARM":
... | 1,157 | Python | .py | 40 | 22.525 | 75 | 0.628054 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,654 | addrspace_test.py | google_rekall/rekall-core/rekall/addrspace_test.py | import logging
import unittest
from rekall import addrspace
from rekall import testlib
from rekall import session
class CustomRunsAddressSpace(addrspace.RunBasedAddressSpace):
def __init__(self, runs=None, data=None, **kwargs):
super(CustomRunsAddressSpace, self).__init__(**kwargs)
self.base = ad... | 5,118 | Python | .py | 114 | 32.535088 | 80 | 0.570682 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,655 | interactive.py | google_rekall/rekall-core/rekall/interactive.py | from __future__ import print_function
import inspect
from rekall import ipython_support
# Load all the plugins to register them.
from rekall import plugins # pylint: disable=unused-import
from rekall_lib import utils
from rekall import session
IPython = utils.ConditionalImport("IPython")
def ImportEnvironment(**k... | 1,420 | Python | .py | 37 | 32.513514 | 78 | 0.720556 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,656 | resources.py | google_rekall/rekall-core/rekall/resources.py | #!/usr/bin/env python
# Rekall
# Copyright (C) 2012 Michael Cohen <scudette@gmail.com>
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either... | 2,878 | Python | .py | 63 | 41.31746 | 91 | 0.736786 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,657 | config.py | google_rekall/rekall-core/rekall/config.py | #!/usr/bin/python
# Rekall
# Copyright (C) 2012 Michael Cohen <scudette@gmail.com>
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ver... | 9,246 | Python | .py | 211 | 36.21327 | 90 | 0.665069 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,658 | rekal.py | google_rekall/rekall-core/rekall/rekal.py | #!/usr/bin/env python
# Rekall
# Copyright (C) 2012 Michael Cohen <scudette@gmail.com>
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either... | 3,579 | Python | .py | 89 | 34.797753 | 79 | 0.695238 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,659 | quotas.py | google_rekall/rekall-core/rekall/quotas.py | # Rekall
# Copyright (C) 2016 Michael Cohen <scudette@gmail.com>
# Copyright 2016 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the Licen... | 3,393 | Python | .py | 79 | 36.772152 | 73 | 0.678919 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,660 | _version.py | google_rekall/rekall-core/rekall/_version.py |
# Machine Generated - do not edit!
# This file is produced when the main "version.py update" command is run. That
# command copies this file to all sub-packages which contain
# setup.py. Configuration is maintain in version.yaml at the project's top
# level.
def get_versions():
return tag_version_data(raw_versio... | 3,377 | Python | .py | 85 | 33.223529 | 78 | 0.627559 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,661 | plugin.py | google_rekall/rekall-core/rekall/plugin.py | # Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, ... | 35,722 | Python | .py | 776 | 35.360825 | 88 | 0.61685 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,662 | ipython_support.py | google_rekall/rekall-core/rekall/ipython_support.py | #!/usr/bin/python
# Rekall Memory Forensics
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your op... | 9,768 | Python | .py | 225 | 34.72 | 80 | 0.631646 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,663 | constants.py | google_rekall/rekall-core/rekall/constants.py | # Rekall Memory Forensics
# Copyright (C) 2008 Volatile Systems
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the Licens... | 4,381 | Python | .py | 93 | 44.129032 | 80 | 0.696445 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,664 | algo.py | google_rekall/rekall-core/rekall/algo.py | # Rekall Memory Forensics
# Copyright 2015 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later ver... | 2,477 | Python | .py | 64 | 30.296875 | 79 | 0.586494 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,665 | testlib.py | google_rekall/rekall-core/rekall/testlib.py | # Rekall Memory Forensics
#
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Authors:
# Michael Cohen <scudette@users.sourceforge.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; eith... | 14,844 | Python | .py | 356 | 31.140449 | 92 | 0.60171 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,666 | scan.py | google_rekall/rekall-core/rekall/scan.py | # Rekall Memory Forensics
#
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later v... | 23,653 | Python | .py | 523 | 34.881453 | 80 | 0.617703 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,667 | session_test.py | google_rekall/rekall-core/rekall/session_test.py | from rekall import addrspace
from rekall import testlib
from rekall import session
class CustomAddressSpace(addrspace.BaseAddressSpace):
def ConfigureSession(self, session_obj):
session_obj.SetCache("foo", "bar", volatile=False)
class SessionTest(testlib.RekallBaseUnitTestCase):
"""Test the RunBase... | 1,767 | Python | .py | 35 | 42.314286 | 77 | 0.686663 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,668 | cache.py | google_rekall/rekall-core/rekall/cache.py | from future import standard_library
standard_library.install_aliases()
from builtins import str
from builtins import object
import pickle
import io
import os
import six
import time
from rekall import config
from rekall import io_manager
from rekall import obj
from rekall.ui import json_renderer
from rekall_lib import ... | 11,875 | Python | .py | 284 | 31.823944 | 80 | 0.594783 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,669 | io_manager.py | google_rekall/rekall-core/rekall/io_manager.py | # Rekall Memory Forensics
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of th... | 21,946 | Python | .py | 514 | 33.42607 | 80 | 0.626892 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,670 | io_manager_test.py | google_rekall/rekall-core/rekall/io_manager_test.py | # Rekall Memory Forensics
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Author: Michael Cohen scudette@google.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of th... | 2,575 | Python | .py | 67 | 30.373134 | 73 | 0.643945 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,671 | __init__.py | google_rekall/rekall-core/rekall/__init__.py | import rekall.compatibility # pylint: disable=unused-import
from ._version import get_versions
__version__ = get_versions()['pep440']
| 136 | Python | .py | 3 | 44 | 60 | 0.772727 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,672 | tests.py | google_rekall/rekall-core/rekall/tests.py | # pylint: disable=unused-import
from rekall import addrspace_test
from rekall import io_manager_test
from rekall import obj_test
from rekall import session_test
from rekall.plugins import tests
| 196 | Python | .py | 6 | 31.333333 | 34 | 0.856383 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,673 | type_generator.py | google_rekall/rekall-core/rekall/type_generator.py | # Rekall Memory Forensics
#
# Copyright 2014 Google Inc. All Rights Reserved.
#
# Authors:
# Michael Cohen <scudette@google.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version ... | 12,369 | Python | .py | 280 | 34.146429 | 80 | 0.611412 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,674 | args.py | google_rekall/rekall-core/rekall/args.py | #!/usr/bin/python
# Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen <scudette@gmail.com>
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Found... | 18,477 | Python | .py | 401 | 37.226933 | 81 | 0.64622 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,675 | addrspace.py | google_rekall/rekall-core/rekall/addrspace.py | # Rekall Memory Forensics
# Copyright (C) 2007,2008 Volatile Systems
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Original Source:
# Copyright (C) 2004,2005,2006 4tphi Research
# Author: {npetroni,awalters}@4tphi.net (Nick Petroni and AAron Walters)
#
# This program is free software; you can redistribute it an... | 25,287 | Python | .py | 569 | 34.509666 | 80 | 0.612585 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,676 | obj_test.py | google_rekall/rekall-core/rekall/obj_test.py | import logging
import unittest
from rekall import addrspace
from rekall import obj
# Import and register all the plugins.
from rekall import plugins # pylint: disable=unused-import
from rekall import session
from rekall import testlib
class ProfileTest(testlib.RekallBaseUnitTestCase):
"""Test the profile implem... | 7,247 | Python | .py | 162 | 34.802469 | 80 | 0.612265 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,677 | session.py | google_rekall/rekall-core/rekall/session.py | # Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, ... | 47,273 | Python | .py | 1,058 | 34.533081 | 80 | 0.619175 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,678 | kb.py | google_rekall/rekall-core/rekall/kb.py | # This module provides for a central knowledge base which plugins can use to
# collect information.
from rekall import plugin
from rekall_lib import registry
from future.utils import with_metaclass
class ParameterHook(with_metaclass(registry.MetaclassRegistry, plugin.ModeBasedActiveMixin)):
"""A mechanism for au... | 1,698 | Python | .py | 35 | 43.285714 | 93 | 0.737735 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,679 | threadpool.py | google_rekall/rekall-core/rekall/threadpool.py | from __future__ import print_function
# Rekall Memory Forensics
#
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Authors:
# Michael Cohen <scudette@gmail.com>
# Copyright (c) 2012
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as pu... | 2,990 | Python | .py | 82 | 29.512195 | 78 | 0.646266 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,680 | colors.py | google_rekall/rekall-core/rekall/ui/colors.py | # Rekall Memory Forensics
#
# Copyright 2015 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later v... | 6,593 | Python | .py | 149 | 38.610738 | 91 | 0.673294 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,681 | identity.py | google_rekall/rekall-core/rekall/ui/identity.py | # Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen
# Copyright 2014 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, ... | 2,680 | Python | .py | 66 | 33.333333 | 77 | 0.652291 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,682 | renderer.py | google_rekall/rekall-core/rekall/ui/renderer.py | # Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, ... | 20,858 | Python | .py | 449 | 37.821826 | 80 | 0.658858 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,683 | json_renderer.py | google_rekall/rekall-core/rekall/ui/json_renderer.py | # Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen
# Copyright 2014 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, ... | 21,455 | Python | .py | 500 | 33.116 | 80 | 0.619613 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,684 | text.py | google_rekall/rekall-core/rekall/ui/text.py | # Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, ... | 56,040 | Python | .py | 1,281 | 32.501171 | 101 | 0.558559 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,685 | __init__.py | google_rekall/rekall-core/rekall/ui/__init__.py | # Import all the renderers.
# pylint: disable=unused-import
from rekall import config
from rekall.ui import renderer
from rekall.ui import json_renderer
from rekall.ui import text
from rekall_lib import utils
config.DeclareOption(
"-F", "--format", default="text", group="Interface",
choices=utils.JITIterator(... | 397 | Python | .py | 11 | 33.818182 | 56 | 0.778646 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,686 | text_test.py | google_rekall/rekall-core/rekall/ui/text_test.py | from rekall import testlib
from rekall.ui import text
class CellTest(testlib.RekallBaseUnitTestCase):
def testNesting(self):
c1 = text.Cell(value="Hello, world!", width=6, align="r")
self.assertEqual(c1.lines, ["Hello,", "world!"])
c1.rewrap(width=7)
self.assertEqual(c1.lines, ["... | 1,538 | Python | .py | 32 | 38.15625 | 79 | 0.567134 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,687 | core_test.py | google_rekall/rekall-core/rekall/plugins/core_test.py | # Authors:
# Michael Cohen <scudette@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# This program is di... | 911 | Python | .py | 22 | 39.363636 | 73 | 0.767494 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,688 | imagecopy.py | google_rekall/rekall-core/rekall/plugins/imagecopy.py | from __future__ import division
# Rekall Memory Forensics
#
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Authors:
# Mike Auty <mike.auty@gmail.com>
# Michael Cohen <scudette@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public Licens... | 3,804 | Python | .py | 84 | 36.107143 | 80 | 0.633929 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,689 | modes.py | google_rekall/rekall-core/rekall/plugins/modes.py | # Rekall Memory Forensics
# Copyright 2016 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later ver... | 5,370 | Python | .py | 122 | 37.655738 | 79 | 0.702697 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,690 | yarascanner.py | google_rekall/rekall-core/rekall/plugins/yarascanner.py | # Rekall Memory Forensics
# Copyright (c) 2012, Michael Cohen <scudette@gmail.com>
# Copyright (c) 2010, 2011, 2012 Michael Ligh <michael.ligh@mnin.org>
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Publ... | 8,282 | Python | .py | 181 | 33.712707 | 80 | 0.582454 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,691 | __init__.py | google_rekall/rekall-core/rekall/plugins/__init__.py | # Import and register the core plugins
# pylint: disable=unused-import
from rekall.plugins import addrspaces
from rekall.plugins import common
from rekall.plugins import contrib
from rekall.plugins import core
from rekall.plugins import darwin
from rekall.plugins import filesystems
from rekall.plugins import guess_pro... | 644 | Python | .py | 18 | 34.722222 | 40 | 0.8752 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,692 | tests.py | google_rekall/rekall-core/rekall/plugins/tests.py | # Authors:
# Michael Cohen <scudette@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# This program is di... | 1,022 | Python | .py | 24 | 41.5 | 73 | 0.804217 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,693 | core.py | google_rekall/rekall-core/rekall/plugins/core.py | # Rekall Memory Forensics
# Copyright (C) 2012 Michael Cohen
# Copyright 2013 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, ... | 41,415 | Python | .py | 902 | 34.608647 | 81 | 0.591423 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,694 | guess_profile.py | google_rekall/rekall-core/rekall/plugins/guess_profile.py | # Rekall Memory Forensics
# Copyright (C) 2014 Michael Cohen
# Copyright 2014 Google Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, ... | 29,241 | Python | .py | 603 | 36.310116 | 85 | 0.605726 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,695 | hypervisors.py | google_rekall/rekall-core/rekall/plugins/hypervisors.py | """Implements scanners and plugins to find hypervisors in memory."""
from builtins import filter
from builtins import object
from itertools import groupby
import struct
from rekall import plugin
from rekall import obj
from rekall import scan
from rekall import session as session_module
from rekall.plugins.addrspaces ... | 27,463 | Python | .py | 607 | 33.039539 | 80 | 0.569231 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,696 | basic.py | google_rekall/rekall-core/rekall/plugins/overlays/basic.py | # Rekall Memory Forensics
#
# Copyright 2013 Google Inc. All Rights Reserved.
#
# Authors:
# Copyright (C) 2012 Michael Cohen <scudette@users.sourceforge.net>
# Mike Auty <mike.auty@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License... | 28,931 | Python | .py | 700 | 31.99 | 85 | 0.604208 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,697 | __init__.py | google_rekall/rekall-core/rekall/plugins/overlays/__init__.py |
# Load all the core modules.
from rekall.plugins.overlays import basic
from rekall.plugins.overlays import linux
from rekall.plugins.overlays import darwin
from rekall.plugins.overlays import native_types
from rekall.plugins.overlays import windows
# Optional modules that depend on distorm3.
| 295 | Python | .py | 7 | 40.857143 | 48 | 0.856643 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,698 | native_types.py | google_rekall/rekall-core/rekall/plugins/overlays/native_types.py | """Data types for various compilers.
Different models:
http://www.unix.org/version2/whatsnew/lp64_wp.html
http://en.wikipedia.org/wiki/64-bit_computing
Python standard types:
http://docs.python.org/2/library/struct.html#format-characters
"""
from rekall import obj
# Unambigious types
BASE = {
"uint8_t": obj.Cur... | 7,944 | Python | .py | 172 | 40.104651 | 79 | 0.635009 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |
37,699 | __init__.py | google_rekall/rekall-core/rekall/plugins/overlays/darwin/__init__.py | """Profiles to support OSX specific data structures."""
from rekall.plugins.overlays.darwin import darwin
from rekall.plugins.overlays.darwin import macho
| 156 | Python | .py | 3 | 50.666667 | 55 | 0.835526 | google/rekall | 1,915 | 397 | 201 | GPL-2.0 | 9/5/2024, 5:15:29 PM (Europe/Amsterdam) |