https://github.com/yoerinijs/krex
The German Shepherd for computer forensics
https://github.com/yoerinijs/krex
forensics forensics-investigations forensics-tools python3
Last synced: 8 months ago
JSON representation
The German Shepherd for computer forensics
- Host: GitHub
- URL: https://github.com/yoerinijs/krex
- Owner: YoeriNijs
- License: mit
- Created: 2022-11-18T13:18:41.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-23T14:52:25.000Z (almost 3 years ago)
- Last Synced: 2025-01-04T18:25:07.381Z (10 months ago)
- Topics: forensics, forensics-investigations, forensics-tools, python3
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KRex - The German Shepherd for computer forensics
A Python tool to search on every machine - fast!## Table of Contents
- [Use KRex](#use-krex)
- [Customize path location](#customize-path-location)
- [Supported operating systems](#supported-browsers)
- [Supported browsers](#supported-browsers)## 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
- linuxWhile 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
```