{"id":20811462,"url":"https://github.com/cyberfantics/remote-service","last_synced_at":"2025-07-22T01:03:01.865Z","repository":{"id":248893221,"uuid":"830105995","full_name":"cyberfantics/remote-service","owner":"cyberfantics","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-17T15:49:39.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T04:43:45.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyberfantics.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-17T15:45:03.000Z","updated_at":"2024-07-17T15:49:42.000Z","dependencies_parsed_at":"2024-07-17T19:30:18.593Z","dependency_job_id":null,"html_url":"https://github.com/cyberfantics/remote-service","commit_stats":null,"previous_names":["cyberfantics/remote-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cyberfantics/remote-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfantics%2Fremote-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfantics%2Fremote-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfantics%2Fremote-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfantics%2Fremote-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyberfantics","download_url":"https://codeload.github.com/cyberfantics/remote-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfantics%2Fremote-service/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266405362,"owners_count":23923535,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-11-17T20:42:50.869Z","updated_at":"2025-07-22T01:03:01.089Z","avatar_url":"https://github.com/cyberfantics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remote Service Utility\n\n## Overview\n\nThe Remote Service Utility is a Python script designed by Syed Mansoor ul Hassan Bukhari to enable administrative shares on a remote Windows computer, execute a specified script remotely, and manage network connections. This script leverages Python's **`winreg`** and **`os`** modules to interact with the Windows registry and manage network connections.\n\n## Features\n\n- **Enable Admin Share**: Modifies the registry on the remote computer to enable administrative shares.\n- **Access Admin Share**: Copies a specified executable script to the administrative share (`C$` by default), executes it remotely, and then removes the network connection.\n- **Administrative Privileges Check**: Ensures the script is run with administrative privileges (`IsUserAnAdmin()` function).\n- **Logging**: Uses Python's `logging` module to record events and errors.\n\n## Usage\n\n### Prerequisites\n\n- Python 3.x installed on the local machine.\n- Administrative privileges on the local machine and remote computer.\n\n### Setup\n\n1. Clone the repository:\n```bash\n  git clone https://github.com/cyberfantics/remote-service.git\n  cd remote-service\n```\n2. Run:\n```bash\n    python remoteService.py \u003cremote_computer_name\u003e \u003cexecutable_script_name\u003e\n```\n\n**Replace \u003cremote_computer_name\u003e with the name or IP address of the remote computer and \u003cexecutable_script_name\u003e with the name of the Python script to be executed remotely.**\n\n## Notes\n- Ensure both the local and remote machines are on the same network and accessible.\n- Administrative privileges are required to modify the registry and manage network connections.\n\n## Example\n```bash\n  python remote_service.py RemotePC my_script.py\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberfantics%2Fremote-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberfantics%2Fremote-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberfantics%2Fremote-service/lists"}