https://github.com/emirozer/exposq
Go app that dispatches osquery to multi-machines
https://github.com/emirozer/exposq
golang osquery
Last synced: 9 months ago
JSON representation
Go app that dispatches osquery to multi-machines
- Host: GitHub
- URL: https://github.com/emirozer/exposq
- Owner: emirozer
- License: mit
- Created: 2015-08-07T11:15:05.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T09:13:43.000Z (about 9 years ago)
- Last Synced: 2023-04-09T22:18:26.987Z (about 3 years ago)
- Topics: golang, osquery
- Language: Go
- Homepage:
- Size: 655 KB
- Stars: 92
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

##
This is a tiny app i made, that you would run locally on your workstation and it will dispatch [osquery](https://osquery.io/) queries to the machines under your command.
The commands are listed in the main root route of the app so you don't need to dig deep. And i really like osquery project, if you have never checked it out, you should probably take a look.
## Requirement
The only requirement is that your target machines should have osquery installed on them, thats it..
## Install
Standart Procedure
go get github.com/emirozer/exposq
Lets assume you are going to run exposq from your home directory(/home/user/).
After running the command above, you need to create a file called **targets.json** in your /home/user/
Example formatting of targets.json file:

*Important Notes* : It expects a private key and you can give a key file specific to a target like the following json structure
```
{
targets: [
{
"user": user,
"ip": ip,
"key": "key file",
},
{
"user": user,
"ip": ip
}
],
"key": "global key file"
}
```
## Usage
After that just run:
$>exposq
Open up your browser and go
localhost:3000
And the main route will show you which queries you can dispatch :

## Examples:
**Check if any of your machines are being used as a relay**:

**Check if any of your machines are a victim of mitm**:

**Check the uptime of your machines**:
