{"id":23161614,"url":"https://github.com/vvampirius/http-slave","last_synced_at":"2025-04-04T19:34:58.615Z","repository":{"id":141937183,"uuid":"553800408","full_name":"vvampirius/http-slave","owner":"vvampirius","description":"This tool designed for remote command execution","archived":false,"fork":false,"pushed_at":"2022-10-19T13:52:58.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T04:30:41.062Z","etag":null,"topics":["remote-command-execution"],"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/vvampirius.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-18T19:44:17.000Z","updated_at":"2022-10-19T13:36:45.000Z","dependencies_parsed_at":"2024-04-04T16:30:07.513Z","dependency_job_id":null,"html_url":"https://github.com/vvampirius/http-slave","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvampirius%2Fhttp-slave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvampirius%2Fhttp-slave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvampirius%2Fhttp-slave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvampirius%2Fhttp-slave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vvampirius","download_url":"https://codeload.github.com/vvampirius/http-slave/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247238558,"owners_count":20906461,"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","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":["remote-command-execution"],"created_at":"2024-12-17T23:14:41.876Z","updated_at":"2025-04-04T19:34:58.575Z","avatar_url":"https://github.com/vvampirius.png","language":"Go","readme":"# http-slave\n\nThis tool designed for remote command execution.\n\nIt periodically gets command execution request by HTTP from master server, execute the command and POST response to specified URL.\n\nI used this tool to investigate a problem on remote host which periodically lose VPN connection and became inaccessible from the outside of NAT.\n\n## How to use\n\nStart http-slave on slave host:\n\n    ./http-slave -i 60 -u https://your.domain/example.json\n\nProvide example.json response somehow (nginx?) by master host:\n\n    {\n        \"command\": [\"/usr/local/bin/http-slave-chekscript.sh\"],\n        \"respond_url\": \"https://your.domain/response?foo=bar\",\n        \"immediately_next\": false\n    }\n\nHandle somehow POST response from http-slave somewhere.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvampirius%2Fhttp-slave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvvampirius%2Fhttp-slave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvampirius%2Fhttp-slave/lists"}