Skip to content

YoeriNijs/krex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KRex - The German Shepherd for computer forensics

A Python tool to search on every machine - fast!

Table of Contents

Install

Just install Python 3.x and the dependencies in requirements.txt by using the Pip package manager.

Use KRex

Using KRex is pretty straightforward. Just create your own config file to search for applications and to take browser screenshots.

Example:

{
  "os": "mac",
  "apps": [
    {
      "name": "Slack",
      "fileName": "Slack.app",
      "locations": [
        "/Applications"
      ]
    }
  ],
  "browsers": [
    {
      "name": "safari",
      "urls": [
        {
          "name": "Twitter",
          "link": "https://www.twitter.com",
          "delay_in_ms": 5000
        }
      ]
    }
  ]
}

With the above configuration, KRex does two things. Primarily, it search for a Slack application in the /Applications dir. Next, it takes a screenshot of Twitter with the browser safari. Easy as that.

Customize path location

KRex is flexible though. For example, you can add a wildcard to a path location. The pattern is provided to the Python glob library under the hood:

  "apps": [
    {
      "name": "Slack",
      "fileName": "Slack.app",
      "locations": [
        "~/**"
      ]
    }
  ]

Supported operating systems

The following os values are supported:

  • mac
  • windows
  • linux

While running, KRex checks which operating system is currently used by the host. It skips config files that are not related to the current os automatically.

Supported browsers

For a list of supported webbrowsers, visit: https://docs.python.org/3/library/webbrowser.html

Run KRex

After installing the dependencies by using Pip, you can run KRex like:

python ./krex.py

Pass config manually

You can pass your config manually as well. You can also pass multiple configs by separating them with a comma:

python ./krex.py -config loc/example_a.json,loc/example_b.json

Releases

No releases published

Packages

No packages published