{"id":27290966,"url":"https://github.com/sato-isolated/online-string-encrypt","last_synced_at":"2025-04-11T21:39:45.469Z","repository":{"id":252780906,"uuid":"841436246","full_name":"Sato-Isolated/Online-String-Encrypt","owner":"Sato-Isolated","description":"string encryption using dnlib and store string into database","archived":false,"fork":false,"pushed_at":"2024-08-13T01:56:10.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-13T14:10:54.352Z","etag":null,"topics":["dnlib","obfuscation","obfuscator","string"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sato-Isolated.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":"2024-08-12T12:04:09.000Z","updated_at":"2024-08-13T01:56:13.000Z","dependencies_parsed_at":"2024-08-12T13:52:00.678Z","dependency_job_id":null,"html_url":"https://github.com/Sato-Isolated/Online-String-Encrypt","commit_stats":null,"previous_names":["sato-isolated/online-string-encrypt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sato-Isolated%2FOnline-String-Encrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sato-Isolated%2FOnline-String-Encrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sato-Isolated%2FOnline-String-Encrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sato-Isolated%2FOnline-String-Encrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sato-Isolated","download_url":"https://codeload.github.com/Sato-Isolated/Online-String-Encrypt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248485761,"owners_count":21111920,"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":["dnlib","obfuscation","obfuscator","string"],"created_at":"2025-04-11T21:39:43.334Z","updated_at":"2025-04-11T21:39:45.458Z","avatar_url":"https://github.com/Sato-Isolated.png","language":"C#","funding_links":["https://ko-fi.com/K3K611OMU5'","https://ko-fi.com/img/githubbutton_sm.svg'"],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eString Encoder\u003c/h1\u003e\n\n\u003ch2\u003eOverview\u003c/h2\u003e\n\u003cp\u003eThe \u003cstrong\u003eString Encoder\u003c/strong\u003e is a C# tool designed to encrypt strings within an executable file, store these encrypted strings in a MySQL database, and generate a protected version of the executable along with a corresponding PHP configuration file.\u003c/p\u003e\n\n\u003ch2\u003eFeatures\u003c/h2\u003e\n\u003cul\u003e\n    \u003cli\u003e\u003cstrong\u003eString Encryption\u003c/strong\u003e: Encrypts all strings in the target executable file and stores them in a MySQL database.\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003eDatabase Setup\u003c/strong\u003e: Automatically creates and configures a MySQL database and table to store encrypted strings.\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003eProtected Executable\u003c/strong\u003e: Generates a new version of the executable where strings are replaced with calls to a decoding function.\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003eMD5 Calculation\u003c/strong\u003e: Computes the MD5 hash of the protected executable for verification purposes.\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ePHP Configuration File Generation\u003c/strong\u003e: Creates a PHP config file with database credentials and the MD5 hash for integration with a web service.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003ePrerequisites\u003c/h2\u003e\n\u003cp\u003eBefore using this tool, ensure you have the following installed:\u003c/p\u003e\n\u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://dev.mysql.com/downloads/mysql/\"\u003eMySQL Server\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003ePHP (for running the PHP configuration and token generation scripts)\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eUsage\u003c/h2\u003e\n\u003col\u003e\n    \u003cli\u003e\u003cstrong\u003eDatabase Setup\u003c/strong\u003e:\n        \u003cp\u003eThe tool will create the necessary database and tables if they do not already exist. Ensure your MySQL server is running and accessible.\u003c/p\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003eEncrypting Strings\u003c/strong\u003e:\n        \u003cp\u003eThe tool will replace strings in your executable with encrypted references. These references will be dynamically decrypted during runtime using the \u003ccode\u003eRuntime\u003c/code\u003e class injected into the executable.\u003c/p\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003ePHP Configuration\u003c/strong\u003e:\n        \u003cp\u003eThe \u003ccode\u003econfig.php\u003c/code\u003e file will contain the necessary credentials and MD5 hash for your web service to validate and interact with the protected executable.\u003c/p\u003e\n    \u003c/li\u003e\n\u003c/ol\u003e\n\n\u003ch2\u003eImportant Notes\u003c/h2\u003e\n\u003cul\u003e\n    \u003cli\u003e\u003cstrong\u003eSecurity\u003c/strong\u003e: Ensure your database and PHP scripts are secure and accessible only to authorized users.\u003c/li\u003e\n    \u003cli\u003e\u003cstrong\u003eSecurity Enhancements\u003c/strong\u003e: To further improve security, consider implementing an authentication system. This would involve adding a check in the PHP script to ensure that authentication has been successfully completed before executing any further operations. However, with the current code, you must ensure that the method \u003ca href=\"https://github.com/Sato-Isolated/Online-String-Encrypt/blob/main/Program.cs#L125\"\u003e`Execute`\u003c/a\u003e does not encrypt the authentication system within the application.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eContributing\u003c/h2\u003e\n\u003cp\u003eContributions are welcome! Please fork the repository and submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.\u003c/p\u003e\n\n\u003ch3 align=\"left\"\u003e☕ Support\u003c/h3\u003e\n\u003cp align=\"left\"\u003eIf you'd like to support me, you can do so via Ko-fi. Every bit of support is greatly appreciated!\u003c/p\u003e\n\u003cp align=\"left\"\u003e\n  \u003ca href='https://ko-fi.com/K3K611OMU5' target='_blank'\u003e\n    \u003cimg src='https://ko-fi.com/img/githubbutton_sm.svg' alt='Ko-fi' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003eYou can also support me with cryptocurrency:\u003c/p\u003e\n\u003cul align=\"left\"\u003e\n  \u003cli\u003e\u003cstrong\u003eXMR :\u003c/strong\u003e 48JRJwsDuMQ7EboCSDSAEMKWfyVGWbfBcM5SaxCCMqiBeduwZDZQMw5KseCn2ciyQX6ckJyPH24HJNoJGVZH9EmATAoX6Jz\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eLTC :\u003c/strong\u003e LVu6dmsaAfp9mi5s6BRFZApBrScQvhYF9s\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eBTC :\u003c/strong\u003e bc1qps0wd0hhhkz6p924c76s6xc8xt5hn4ctnqtjk2\u003c/li\u003e\n\u003c/ul\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsato-isolated%2Fonline-string-encrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsato-isolated%2Fonline-string-encrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsato-isolated%2Fonline-string-encrypt/lists"}