{"id":29460676,"url":"https://github.com/5noxi/b64-character","last_synced_at":"2025-07-14T02:32:44.562Z","repository":{"id":270479240,"uuid":"910506619","full_name":"5Noxi/B64-Character","owner":"5Noxi","description":"Takes a single string as input and converts it to a character array.","archived":false,"fork":false,"pushed_at":"2025-07-13T15:17:42.000Z","size":36749,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T16:26:40.731Z","etag":null,"topics":["char","character","encoder","encoding","obfuscation","obfuscator","powershell"],"latest_commit_sha":null,"homepage":"https://discord.gg/E2ybG4j9jU","language":"PowerShell","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/5Noxi.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,"zenodo":null}},"created_at":"2024-12-31T13:18:05.000Z","updated_at":"2025-07-13T15:17:45.000Z","dependencies_parsed_at":"2025-02-26T04:41:40.099Z","dependency_job_id":"7718201d-b0dc-452b-af52-4c24e3794b86","html_url":"https://github.com/5Noxi/B64-Character","commit_stats":null,"previous_names":["5noxi/charfuscator","5noxi/base64-character"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/5Noxi/B64-Character","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5Noxi%2FB64-Character","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5Noxi%2FB64-Character/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5Noxi%2FB64-Character/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5Noxi%2FB64-Character/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5Noxi","download_url":"https://codeload.github.com/5Noxi/B64-Character/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5Noxi%2FB64-Character/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265233753,"owners_count":23731825,"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":["char","character","encoder","encoding","obfuscation","obfuscator","powershell"],"created_at":"2025-07-14T02:30:47.174Z","updated_at":"2025-07-14T02:32:44.531Z","avatar_url":"https://github.com/5Noxi.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Base64 Encoding / Character Obfuscation\n\nEncodes your code by using [B64](https://www.base64decode.org/) or obfuscates it using [characters](https://www.rapidtables.com/code/text/ascii-table.html) (character array). Both shouldn't be used, if you want to make your code hard to read. These are the most basic encoding/obfuscation techniques for powershell, you could decode the B64 encoded code with a website. \n\nPreview:\n\nhttps://github.com/user-attachments/assets/c2d4f4fd-be28-453c-ba75-008de44888d3\n\n`Base64` - Single `FromBase64String`, everything related is randomized obfuscated\n\n`Character` - Converts input characters to its ASCII integer (dec)\n```ps\n$calcs = @(\n    \"(out+add-add)\",\n    \"(out-bxoradd-bxoradd)\"\n    \"(out+add-add)\"\n    \"(out-bxor add-bxoradd)\"\n    \"(out*1)+((add*add)-(add*add))\"\n    \"(out/1)+(add-add)\"\n    \"(out+((add-band 0)-bor(add-band 0)))\"\n    \"(out+(add-out)-(add-out))\"\n    \"(out-(add*out-add*out))\"\n    \"(out+(add*0))\"\n    \"(out+(add-add))\"\n    \"(out-band0xFFFFFFFF)\"\n    \"((out+add)-add)\"\n)\n$expr = Get-Random -InputObject $calcs\n$additional = Get-Random -Minimum 100 -Maximum 1000\n$safe = $expr -replace 'out', \"$char\" -replace 'add', \"$additional\"\n[char]($safe)\n```\nUses predefined calculations with a random integer (`add`), instead of returning `[char]($dec)`.\n\nDefault value for `Iterations` is `1`, if increasing it too much while using B64 the file size will increase exponential. Increasing the iterations while using `Character` it'll increase the startup time by a lot. If you want to increase the iterations ideally only for `B64`.\n\nPreview using https://discord.com/channels/836870260715028511/1355572214489153756/1392193389537005700:\n\n## Discord Server \n- https://discord.gg/E2ybG4j9jU\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5noxi%2Fb64-character","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5noxi%2Fb64-character","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5noxi%2Fb64-character/lists"}