{"id":22123851,"url":"https://github.com/rsrdjan/encpe","last_synced_at":"2025-03-24T07:32:30.389Z","repository":{"id":197583046,"uuid":"698931230","full_name":"rsrdjan/encpe","owner":"rsrdjan","description":"Portable Executable (PE) binary encryptor","archived":false,"fork":false,"pushed_at":"2023-10-01T19:04:32.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T13:09:39.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rsrdjan.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":"2023-10-01T12:26:45.000Z","updated_at":"2023-10-01T12:27:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f87766e-eec8-4113-838c-219200089b3d","html_url":"https://github.com/rsrdjan/encpe","commit_stats":null,"previous_names":["rsrdjan/encpe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fencpe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fencpe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fencpe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsrdjan%2Fencpe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsrdjan","download_url":"https://codeload.github.com/rsrdjan/encpe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245227541,"owners_count":20580896,"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":[],"created_at":"2024-12-01T15:39:17.160Z","updated_at":"2025-03-24T07:32:30.360Z","avatar_url":"https://github.com/rsrdjan.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# encpe\nPortable Executable (PE) binary encryptor\n\nRC4 encryption of Portable Executable (PE) binaries .text section with self-decryption on execution. Uses ENCPE_ macros to mark the code block for encryption and code block as key.\n\n# Usage:\n\n`encpe.exe filename offset len key_offset key_len`\n\n        filename:       path to PE executable\n\n        offset:         offset in file to start encryption\n        \n        len:            number of bytes to encrypt\n        \n        key_offset:     offset of key in file\n        \n        key_len         number of bytes that holds the key\n\nFor testing purposes `test.c` file is provided.  \nCompile it with `cl.exe test.c encpe.c /DU_BUILD` and then run to get run-time offsets.  \nUse offsets for encryption with encpe.exe:  \n`encpe.exe test.exe 0x10 0x20 0x30 0x40`\n\nRecipe taken from *\"Secure programming cookbook for C and C++\"*, 2005 John Viega and Matt Messier and ported for Win32.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsrdjan%2Fencpe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsrdjan%2Fencpe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsrdjan%2Fencpe/lists"}