{"id":18864775,"url":"https://github.com/hackndo/misc","last_synced_at":"2025-10-03T13:58:06.989Z","repository":{"id":34334464,"uuid":"38254574","full_name":"Hackndo/misc","owner":"Hackndo","description":"Tools I wrote for personal use in C, Python, Powershell, Bash, ...","archived":false,"fork":false,"pushed_at":"2018-12-14T13:51:42.000Z","size":941,"stargazers_count":46,"open_issues_count":0,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-14T13:21:39.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/Hackndo.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}},"created_at":"2015-06-29T15:18:23.000Z","updated_at":"2025-02-19T18:27:50.000Z","dependencies_parsed_at":"2022-09-14T03:51:34.208Z","dependency_job_id":null,"html_url":"https://github.com/Hackndo/misc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hackndo/misc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fmisc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fmisc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fmisc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fmisc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hackndo","download_url":"https://codeload.github.com/Hackndo/misc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hackndo%2Fmisc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278173364,"owners_count":25942293,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T04:44:00.823Z","updated_at":"2025-10-03T13:58:06.948Z","avatar_url":"https://github.com/Hackndo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Miscellaneous\n\nSome random day to day useful stuff I wrote a hundred times. Finally decided to centralize all of this in one place. If you have some code snippets or ideas, feel free to contribute/suggest.\n\n### Converter\n\nConvert a number from base n to m, with n and m between 2 and 62\n\n```sh\n/home/hackndo/misc $ ./converter 1c2 16 2\n1c2 from base 16 to base 2\n111000010\n```\n\n### ExecShellcode\n\nShellcode execution made simple (no perl/python needed)\n\n```sh\n/home/hackndo/misc $ ./execshellcode32 \"0x31 0xc0 0x50 0x68 0x2f 0x2f 0x73 0x68 0x68 0x2f 0x62 0x69 0x6e 0x89 0xe3 0x89 0xc1 0x89 0xc2 0xb0 0x0b 0xcd 0x80 0x31 0xc0 0x40 0xcd 0x80\"\nShellcode Length: 28\n$ \n```\n\n### FindAddr\n\nRetrieve any environment variable address\n\n```sh\n/home/hackndo/misc $ ./findaddr SHELL\nSHELL address: 0x7fff0417d64c\n```\n\n### Hex2Str\n\nConverts some hex ascii codes to string (usefull for char like 0x90 in shellcodes, which are not printable)\n\n```sh\n/home/hackndo/misc $ ./hex2str \"0x68 0x61 0x63 0x6b 0x6e 0x64 0x6f\"\nhackndo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackndo%2Fmisc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhackndo%2Fmisc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhackndo%2Fmisc/lists"}