{"id":24532843,"url":"https://github.com/the-viper-one/invoke-powerstrings","last_synced_at":"2026-05-18T06:11:57.386Z","repository":{"id":248097274,"uuid":"827753943","full_name":"The-Viper-One/Invoke-PowerStrings","owner":"The-Viper-One","description":"Extract strings from binary files with PowerShell","archived":false,"fork":false,"pushed_at":"2024-07-12T10:04:54.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-04T09:27:24.789Z","etag":null,"topics":["powershell","security","strings","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/The-Viper-One.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-12T09:53:27.000Z","updated_at":"2025-10-03T22:31:23.000Z","dependencies_parsed_at":"2024-07-12T11:38:14.057Z","dependency_job_id":null,"html_url":"https://github.com/The-Viper-One/Invoke-PowerStrings","commit_stats":null,"previous_names":["the-viper-one/invoke-powerstrings"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/The-Viper-One/Invoke-PowerStrings","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-PowerStrings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-PowerStrings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-PowerStrings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-PowerStrings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Viper-One","download_url":"https://codeload.github.com/The-Viper-One/Invoke-PowerStrings/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Viper-One%2FInvoke-PowerStrings/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["powershell","security","strings","windows"],"created_at":"2025-01-22T10:18:33.088Z","updated_at":"2026-05-18T06:11:57.357Z","avatar_url":"https://github.com/The-Viper-One.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Invoke-PowerStrings\n\n`Invoke-PowerStrings` is a PowerShell function that extracts readable strings from a file with specified encoding and minimum length. This can be particularly useful for analyzing binary files, logs, or any files where you need to extract text content.\n\n## Parameters\n\n- **`FilePath`** (Mandatory): The path to the file from which to extract strings.\n- **`Encoding`** (Optional): The encoding to use for string extraction. Accepts `Default`, `Ascii`, or `Unicode`. Default is `Default`.\n- **`MinimumLength`** (Optional): The minimum length of strings to extract. Default is 3.\n\n## Usage\n\n## Load into memory\n```powershell\nIEX(New-Object System.Net.WebClient).DownloadString(\"https://raw.githubusercontent.com/The-Viper-One/Invoke-PowerStrings/main/Invoke-PowerStrings.ps1\")\n```\n\n### Example 1: Extracting with Default Encoding and Minimum Length\n\n```powershell\n# Extracts strings with Ascii encoding and default minimum length of 3 from the specified file.\nInvoke-PowerStrings -FilePath \"\\\\Server.security.local\\FilesShare\\backup.bak\" -Encoding Ascii\n\n# Extracts strings with default encoding and minimum length of 5 from the specified file.\nInvoke-PowerStrings -FilePath \"C:\\windows\\temp\\data.bin\" -MinimumLength 5\n\n# Execute with Unicode encoding and default minimum length of 3\nInvoke-PowerStrings -FilePath \"C:\\windows\\temp\\data.bin\" -Encoding Unicode -MinimumLength 3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-viper-one%2Finvoke-powerstrings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-viper-one%2Finvoke-powerstrings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-viper-one%2Finvoke-powerstrings/lists"}