{"id":16446485,"url":"https://github.com/edoardottt/filedecrypter","last_synced_at":"2025-10-27T06:30:29.235Z","repository":{"id":109574789,"uuid":"196962359","full_name":"edoardottt/fileDecrypter","owner":"edoardottt","description":"Simple C file decrypter :lock:","archived":false,"fork":false,"pushed_at":"2024-11-10T09:36:57.000Z","size":39,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T03:11:16.059Z","etag":null,"topics":["algorithm","algorithms","algorithms-datastructures","bit","byte","c","character","code","cripter","criptography","obfuscation","operating-system","software","university-project"],"latest_commit_sha":null,"homepage":"https://edoardottt.com/","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/edoardottt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-15T08:57:34.000Z","updated_at":"2024-11-10T09:37:00.000Z","dependencies_parsed_at":"2023-05-05T12:03:18.333Z","dependency_job_id":null,"html_url":"https://github.com/edoardottt/fileDecrypter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoardottt%2FfileDecrypter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoardottt%2FfileDecrypter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoardottt%2FfileDecrypter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoardottt%2FfileDecrypter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edoardottt","download_url":"https://codeload.github.com/edoardottt/fileDecrypter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238445911,"owners_count":19473835,"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":["algorithm","algorithms","algorithms-datastructures","bit","byte","c","character","code","cripter","criptography","obfuscation","operating-system","software","university-project"],"created_at":"2024-10-11T09:47:44.577Z","updated_at":"2025-10-27T06:30:23.885Z","avatar_url":"https://github.com/edoardottt.png","language":"C","readme":"# fileDecrypter :lock:\n**0010101010101001010 ---- Simple C file decrypter ---- 1010100101010101010001**\n\n**Disclaimer**: This was a part of a University project (Operating System course), not a serious decrypter. \n\nDescription :mega:\n--------\n\nfileDecrypter is able to read and edit binary files with a certain format.\n\nMore in detail, the program takes as input 3 arguments: the name of a file *fin*, the name of a file *fout* and a string *s*.  \nThe file *fin* is a binary file of an obfuscated text, in which, for each memorized character, a 16 bit number is used, composed as follows: 0xy0\u003csub\u003e16\u003c/sub\u003e, where xy\u003csub\u003e16\u003c/sub\u003e is the ASCII code of the character.  \nThe program must execute the command `/bin/sed -e s`, making sure that the standard input of this command is the content of the defluxed file (that is, removing the 4 bits to zero before and after each character).\n\nThe program then takes the result of the above command (on standard output), replaces (adding 4 bits to zero before and after each character) and write the result of this re-obfuscation on fout. Any written sed on standard error is ignored.\n\nOnly the following errors can occur:\n\n- The program does not start with the required topics. \nThe program then ends with exit status 10 (without performing any action), and writing on standard error:\n            \n            Usage: p file sed script, where p is the name of the program itself.\n    \n- The file does not exist or is not accessible. \nThe program then ends with exit status 20 (without performing any action), and writing on standard error:\n\n            Unable to r file f because of e, where e is the system string\n    \nwhich explains the error and r is read from if f is not accessible for reading, or write to if it is not accessible for writing.\n\n- The file read is not well formatted: bits at 0 are missing in some positions where they should be.\nIn this case, it ends with an exit status 30, generating the output up to the wrong byte excluded and writing on standard error:\n\n            Wrong format for input binary file f at byte d\n    \nwhere d is the byte number (starting from 0) where the error occurs.\n\n- Any other system call fails. The program ends with exit status 100 (without performing any other action), and writing on standard error:\n\n            System call s failed because of e\n    \nwhere e is the system string that explains the error and s is the system call that failed.\n\nUsage 🔧\n-------\n\n- `gcc decrypter.c -o decrypter`\n- `./decrypter`\n\nDownload 📡\n-------\n\n`git clone https://github.com/edoardottt/fileDecrypter.git`\n\n\nIf you liked it drop a :star:\n--------\n\n[edoardottt.com](https://edoardottt.com/) to contact me.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedoardottt%2Ffiledecrypter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedoardottt%2Ffiledecrypter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedoardottt%2Ffiledecrypter/lists"}