{"id":19156414,"url":"https://github.com/kyegomez/reaper","last_synced_at":"2025-05-07T07:42:29.782Z","repository":{"id":201018156,"uuid":"706766838","full_name":"kyegomez/Reaper","owner":"kyegomez","description":"Reaper is a simple polymorphic malware algorithm","archived":false,"fork":false,"pushed_at":"2024-03-11T07:44:08.000Z","size":2263,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T20:17:05.458Z","etag":null,"topics":["artificialintelligence","evolutionary-algorithms","malware","trojan","virus"],"latest_commit_sha":null,"homepage":"https://discord.gg/qUtxnK2NMf","language":"Python","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/kyegomez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["kyegomez"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-10-18T15:19:26.000Z","updated_at":"2025-03-07T05:34:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7147ba3c-71d7-4c2b-a8de-453ce75cd618","html_url":"https://github.com/kyegomez/Reaper","commit_stats":null,"previous_names":["kyegomez/reaper"],"tags_count":0,"template":false,"template_full_name":"kyegomez/Python-Package-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FReaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FReaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FReaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FReaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyegomez","download_url":"https://codeload.github.com/kyegomez/Reaper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252836752,"owners_count":21811771,"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":["artificialintelligence","evolutionary-algorithms","malware","trojan","virus"],"created_at":"2024-11-09T08:34:24.202Z","updated_at":"2025-05-07T07:42:29.745Z","avatar_url":"https://github.com/kyegomez.png","language":"Python","readme":"[![Multi-Modality](agorabanner.png)](https://discord.gg/qUtxnK2NMf)\n\n# Reaper\nThis is a Python script that implements a simple encryption and decryption algorithm. The script uses four different encryption methods: base64 encoding with 16, 32, 64, and 85 bits. The encryption method used is selected randomly. The script also includes a simple anti-debugging technique and a self-modifying code feature.\n\n## Architecture\n-----------\n\nThe script consists of several functions:\n\n* `random_char`: generates a random character from the ASCII letters.\n* `encrypt`: takes a list of lines as input, encrypts each line using one of the four encryption methods, and returns the encrypted lines and the encryption method used.\n* `write_lines`: writes the encrypted lines to a file.\n* `decrypt`: takes the encrypted lines and the encryption method used, decrypts the lines, and executes the decrypted code.\n* `main`: the main function that reads the script, encrypts the lines, writes the encrypted lines to a file, and decrypts the lines.\n\n## How it works\n------------\n\n1. The script starts by importing the necessary libraries: `os`, `base64`, `random`, `string`, `hashlib`, `struct`, `socket`.\n2. The `random_char` function generates a random character from the ASCII letters.\n3. The `encrypt` function takes a list of lines as input, encrypts each line using one of the four encryption methods, and returns the encrypted lines and the encryption method used.\n4. The `write_lines` function writes the encrypted lines to a file.\n5. The `decrypt` function takes the encrypted lines and the encryption method used, decrypts the lines, and executes the decrypted code.\n6. The `main` function reads the script, encrypts the lines, writes the encrypted lines to a file, and decrypts the lines.\n\n## Usage\n-----\n\nTo use the script, simply run it using the Python interpreter. The script will encrypt the lines and write them to a file. To decrypt the lines, run the script again with the encryption method used as an argument.\n\n## Encryption methods\n-------------------\n\nThe script uses four different encryption methods: base64 encoding with 16, 32, 64, and 85 bits. The encryption method used is selected randomly.\n\n## License\n-------\n\nThis script is licensed under the MIT License.","funding_links":["https://github.com/sponsors/kyegomez"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyegomez%2Freaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyegomez%2Freaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyegomez%2Freaper/lists"}