{"id":31942959,"url":"https://github.com/emirozer/exposq","last_synced_at":"2025-10-14T09:47:08.593Z","repository":{"id":36058166,"uuid":"40356747","full_name":"emirozer/exposq","owner":"emirozer","description":"Go app that dispatches osquery to multi-machines","archived":false,"fork":false,"pushed_at":"2017-04-18T09:13:43.000Z","size":671,"stargazers_count":92,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-04-09T22:18:26.987Z","etag":null,"topics":["golang","osquery"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emirozer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-07T11:15:05.000Z","updated_at":"2023-02-06T13:33:57.000Z","dependencies_parsed_at":"2022-09-04T19:50:27.139Z","dependency_job_id":null,"html_url":"https://github.com/emirozer/exposq","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/emirozer/exposq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fexposq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fexposq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fexposq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fexposq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emirozer","download_url":"https://codeload.github.com/emirozer/exposq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emirozer%2Fexposq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018574,"owners_count":26086404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","osquery"],"created_at":"2025-10-14T09:45:17.001Z","updated_at":"2025-10-14T09:47:08.583Z","avatar_url":"https://github.com/emirozer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Screenshot](https://raw.githubusercontent.com/emirozer/exposq/master/docs/main.png)\n\n##\nThis 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.\nThe 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.\n\n\n## Requirement\nThe only requirement is that your target machines should have osquery installed on them, thats it..\n\n## Install\n\nStandart Procedure\n\n\tgo get github.com/emirozer/exposq\n\n Lets assume you are going to run exposq from your home directory(/home/user/).\nAfter running the command above, you need to create a file called **targets.json**  in your /home/user/\n\nExample formatting of targets.json file:\n\n![Screenshot](https://raw.githubusercontent.com/emirozer/exposq/master/docs/targetsjson.png)\n\n*Important Notes* : It expects a private key and you can give a key file specific to a target like the following json structure\n```\n{\n    targets: [\n        {\n            \"user\": user,\n            \"ip\": ip,\n            \"key\": \"key file\",\n        },\n        {\n            \"user\": user,\n            \"ip\": ip\n        }\n    ],\n    \"key\": \"global key file\"\n}\n```\n\n## Usage\n\nAfter that just run:\n\n\t$\u003eexposq\n\nOpen up your browser and go \n\n\tlocalhost:3000\n\n\nAnd the main route will show you which queries you can dispatch :\n\n![Screenshot](https://raw.githubusercontent.com/emirozer/exposq/master/docs/rootroute.png)\n\u003cbr\u003e\n## Examples:\n\u003cbr\u003e\n\n\n\n**Check if any of your machines are being used as a relay**:\n![Screenshot](https://raw.githubusercontent.com/emirozer/exposq/master/docs/relay.png)\n\n**Check if any of your machines are a victim of mitm**:\n![Screenshot](https://raw.githubusercontent.com/emirozer/exposq/master/docs/mm.png)\n\n**Check the uptime of your machines**:\n\n![Screenshot](https://raw.githubusercontent.com/emirozer/exposq/master/docs/exposq_uptime.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femirozer%2Fexposq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femirozer%2Fexposq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femirozer%2Fexposq/lists"}