This repository has been archived by the owner on Jun 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from StrangeRanger/dev
- Loading branch information
Showing
19 changed files
with
343 additions
and
887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,42 @@ | ||
# Inspector | ||
|
||
|
||
<!-- Active status commented out | ||
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) | ||
--> | ||
[![Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.](https://www.repostatus.org/badges/latest/inactive.svg)](https://www.repostatus.org/#inactive) | ||
[![GPLv2 license](https://img.shields.io/badge/License-GPLv2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html) | ||
![Repo Size](https://img.shields.io/github/repo-size/StrangeRanger/inspector) | ||
|
||
[![Project Tracker](https://img.shields.io/badge/repo%20status-Project%20Tracker-lightgrey)](https://randomserver.xyz/project-tracker.html) | ||
![Platform](https://img.shields.io/badge/platform-Linux-lightgrey) | ||
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) | ||
[![CodeFactor](https://www.codefactor.io/repository/github/strangeranger/inspector/badge)](https://www.codefactor.io/repository/github/strangeranger/inspector) | ||
[![DeepSource](https://deepsource.io/gh/StrangeRanger/inspector.svg/?label=active+issues&show_trend=true)](https://deepsource.io/gh/StrangeRanger/inspector/?ref=repository-badge) | ||
|
||
Inspector is a security tool with the purpose of identifying users who have both successfully and unsuccessfully switched to root or another user linux based distributions. | ||
Inspector is a security tool with the purpose of identifying users who have both successfully and unsuccessfully switched to root or another user on Linux based Distributions. It does this by scanning through `/var/log/auth.log` for specific patterns that indicate specific actions/executed commands. | ||
|
||
## Getting Started | ||
|
||
### Installing Dependencies | ||
### Prerequisites | ||
|
||
Install the required dependencies using either of the following commands: | ||
|
||
To install dependencies for Inspector, run either of the following commands: | ||
- `python3 -m pip install -r requirements.txt` (installs globally) | ||
- `pipenv install -r requirements.txt` (installs locally via pipenv) | ||
- pipenv must already be installed: `python3 -m pip install pipenv` | ||
|
||
## Officially Supported Linux Distributions | ||
### Installing | ||
|
||
All you need to do is download the repository. There are no binaries or anything to install. | ||
|
||
`git clone https://github.com/StrangeRanger/inspector/` | ||
|
||
## Usage | ||
|
||
Because Inspector needs to access `/var/log/auth.log`, you'll be required to execute Inspector with root priviledge: | ||
|
||
`sudo python3 inspector.py` | ||
|
||
## Supported Distributions | ||
|
||
The following is a list of all the Linux Distributions that Inspector officially supports and works on: | ||
|
||
| Distributions | Distro Versions | | ||
|---------------|-----------------| | ||
| Distributions | Distro Versions | | ||
| ------------- | ----------------------- | | ||
| Ubuntu | 20.04<br>16.04<br>18.04 | | ||
| Debian | 10<br>9 | | ||
| Debian | 10<br>9 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.