{"id":24200195,"url":"https://github.com/vulnpire/c-reverse-shell","last_synced_at":"2025-03-03T09:25:45.509Z","repository":{"id":186153362,"uuid":"674736184","full_name":"Vulnpire/c-reverse-shell","owner":"Vulnpire","description":"A basic malware sample written in C","archived":false,"fork":false,"pushed_at":"2024-03-12T19:14:43.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T20:43:29.759Z","etag":null,"topics":["revshell"],"latest_commit_sha":null,"homepage":"","language":"C","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/Vulnpire.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}},"created_at":"2023-08-04T16:31:59.000Z","updated_at":"2024-08-14T08:35:47.000Z","dependencies_parsed_at":"2023-09-09T21:22:00.690Z","dependency_job_id":"248bd3dd-446c-44c3-aff5-2f8713de80d9","html_url":"https://github.com/Vulnpire/c-reverse-shell","commit_stats":null,"previous_names":["qu133tkid/c-reverse-shell","byt3scr1b3/c-reverse-shell","vulnpire/c-reverse-shell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vulnpire%2Fc-reverse-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vulnpire%2Fc-reverse-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vulnpire%2Fc-reverse-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vulnpire%2Fc-reverse-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vulnpire","download_url":"https://codeload.github.com/Vulnpire/c-reverse-shell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241638915,"owners_count":19995286,"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":["revshell"],"created_at":"2025-01-13T20:41:34.747Z","updated_at":"2025-03-03T09:25:45.487Z","avatar_url":"https://github.com/Vulnpire.png","language":"C","readme":"# Remote Access Tool Implementation:\n\nThis repository contains the source code for a basic Remote Access Tool (RAT) implemented in C. The RAT consists of two main components: a client-side program (socket.c) and a server-side program (server.c). It enables remote command execution on a target system over a network connection.\n\n## Features:\n\n  * Client-Server Architecture: Utilizes TCP sockets for communication between the client and server.\n  * Command Execution: Allows the server to execute commands on the client system remotely.\n  * Persistence: Implements a persistence mechanism to ensure the client program runs on system startup.\n  * Keylogging: Provides basic keylogging functionality on the client system.\n\n## Files:\n\n* socket.c: Client-side program written in C for Windows platforms. It establishes a connection with the server, handles command execution, and implements persistence and keylogging functionalities.\n* server.c: Server-side program written in C for Unix-like systems. It listens for incoming connections from clients, receives commands from the client, and executes them.\n* keys.h: Header file containing the keylogging functionality used by the client program (socket.c). It captures keystrokes and stores them in a log file.\n\n## Usage:\n\n - Compilation:\n    * Compile socket.c for Windows using a suitable compiler (e.g., Visual Studio).\n    * Compile server.c for Unix-like systems using GCC or another compatible compiler.\n\n - Execution:\n    * Run the compiled socket executable on the client system.\n    * Run the compiled server executable on the server system.\n\n## Commands:\n\n  - The server can send various commands to the client, including:\n     * `cd \u003cdirectory\u003e`: Change directory on the client system.\n     * `persist`: Establish persistence on the client system.\n     * `keylog_start`: Start keylogging on the client system.\n\n## Disclaimer:\n\nThis repository is for educational and research purposes only. The use of the code provided in this repository for any malicious or unauthorized activities is prohibited. I do not bear any responsibility for the misuse of the software.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulnpire%2Fc-reverse-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvulnpire%2Fc-reverse-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvulnpire%2Fc-reverse-shell/lists"}