{"id":21680700,"url":"https://github.com/cleasbycode/pdvps","last_synced_at":"2026-04-17T00:02:29.835Z","repository":{"id":95607566,"uuid":"562259175","full_name":"CleasbyCode/pdvps","owner":"CleasbyCode","description":"PowerShell / C++ CLI tool to encrypt \u0026 embed any file type within a tweetable and \"executable\" default supplied PNG image.","archived":false,"fork":false,"pushed_at":"2024-10-07T16:58:50.000Z","size":5826,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-20T10:35:57.293Z","etag":null,"topics":["arbitrary-data","c-plus-plus","cplusplus","cpp","embedded-data","hidden-files","image","linux","mp3","mp4","pdf","pdvzip","png-polyglot","powershell","pwsh","python","scripting-language","steganography","tweetable","twitter"],"latest_commit_sha":null,"homepage":"","language":"C++","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/CleasbyCode.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":"2022-11-05T19:34:14.000Z","updated_at":"2024-10-29T13:37:23.000Z","dependencies_parsed_at":"2025-03-20T10:42:35.098Z","dependency_job_id":null,"html_url":"https://github.com/CleasbyCode/pdvps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CleasbyCode/pdvps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fpdvps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fpdvps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fpdvps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fpdvps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleasbyCode","download_url":"https://codeload.github.com/CleasbyCode/pdvps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleasbyCode%2Fpdvps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31909235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["arbitrary-data","c-plus-plus","cplusplus","cpp","embedded-data","hidden-files","image","linux","mp3","mp4","pdf","pdvzip","png-polyglot","powershell","pwsh","python","scripting-language","steganography","tweetable","twitter"],"created_at":"2024-11-25T15:20:06.702Z","updated_at":"2026-04-17T00:02:29.675Z","avatar_url":"https://github.com/CleasbyCode.png","language":"C++","readme":"# pdvps\n\n**PNG Data Vehicle (PowerShell Edition) for X/Twitter**\n\nEmbed any file type within a tweetable and \"[*executable*](https://github.com/CleasbyCode/pdvps#extracting-your-file-from-the-png-image)\" **PNG** image.  \n\n![Demo Image](https://github.com/CleasbyCode/pdvps/blob/main/Demo_Image/pdv_soldier.png)  \n{*Encrypted **JPG** image embedded within this **PNG** image*} \n\n[**Video Demo**](https://youtu.be/apN0QQzK6W4)\n\n(***PowerShell** required. *Always use the [***latest version***](https://github.com/PowerShell/PowerShell/releases) of PowerShell*).\n\npdvps is similar to my other program [***pdvzip***](https://github.com/CleasbyCode/pdvzip). The two main differences in this edition are: \n\n**1)** *It uses a default **PNG** image for where your data file is encrypted \u0026 embedded.  \nThe image is small in size, which maximises the amount of data you can embed.*  \n\n*Using a default image simplifies the program, with less code required.  \nIf you want to use different images for embedding files, then stick with [***pdvzip***](https://github.com/CleasbyCode/pdvzip).*\n\n**2)** *There is a **PowerShell** script embedded within the default **PNG** image, that is used to decrypt,  \nextract and open your embedded file, when you \"[*execute*](https://github.com/CleasbyCode/pdvps/blob/main/README.md#extracting-your-file-from-the-png-image)\" the **PNG** file.*\n\nFor more information on the embedded **scripts** within the default **PNG** image,  \nsee the [***scripts_info.txt***](https://github.com/CleasbyCode/pdvps/blob/main/src/scripts_info.txt) file supplied with this repo.\n\nFor information about **PNG** image settings and arbitrary data preservation for **X/Twitter**,  \nvisit the relevant link on [***pdvzip***](https://github.com/CleasbyCode/pdvzip#png-image-requirements-for-arbitrary-data-preservation)\n\nAlways use file extensions for your data file: my_doc.pdf, my_video.mp4, my_program.py, etc.\n\nCompile and run the program under **Windows** or **Linux**.\n\n## Usage (Linux)\n\n```console\n$ g++ main.cpp -O2 -s -o pdvps\n$ ./pdvps\n\nUsage: pdvps \u003cyour_file\u003e\n       pdvps --info\n\n$ ./pdvps my_document.pdf\n\nEncrypting and embedding data file within PNG image.\n\nOK!\n\nCreated output file \".\\pdvps_image.png\" 4232948 bytes.\n\nAll Done.\n\nYou can post this embedded image on X/Twitter.\n\n```\nOnce your file has been embedded within the **PNG** image, it's ready to be shared or \"*executed*\" whenever you want to extract \u0026 open your embedded file.\n\n## Extracting Your File From the PNG Image\n**Linux (PowerShell required)**    \nMake sure image file has executable permissions.\n```console\n\n$ chmod +x pdvps_image.png\n$ ./pdvps_image.png \n\n```  \n**Windows**   \nFirst, rename the '*.png*' file extension to '*.cmd*'\n```console\n\nG:\\demo\u003e ren pdvps_image.png pdvps_image.cmd\nG:\\demo\u003e .\\pdvps_image.cmd\n\n```\n\nMy other programs you may find useful:-\n\n* [pdvzip: CLI tool to embed a ZIP file within a tweetable and \"executable\" PNG-ZIP polyglot image.](https://github.com/CleasbyCode/pdvzip)\n* [jdvrif: CLI tool to encrypt \u0026 embed any file type within a JPG image.](https://github.com/CleasbyCode/jdvrif)\n* [imgprmt: CLI tool to embed an image prompt (e.g. \"Midjourney\") within a tweetable JPG-HTML polyglot image.](https://github.com/CleasbyCode/imgprmt)\n* [pdvrdt: CLI tool to encrypt, compress \u0026 embed any file type within a PNG image.](https://github.com/CleasbyCode/pdvrdt)\n* [jzp: CLI tool to embed small files (e.g. \"workflow.json\") within a tweetable JPG-ZIP polyglot image.](https://github.com/CleasbyCode/jzp)  \n\n##\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleasbycode%2Fpdvps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleasbycode%2Fpdvps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleasbycode%2Fpdvps/lists"}