{"id":19872884,"url":"https://github.com/cyberfined/gotredrect-dl","last_synced_at":"2026-05-14T03:35:51.841Z","repository":{"id":191100622,"uuid":"156745235","full_name":"cyberfined/gotredrect-dl","owner":"cyberfined","description":"Redirect library functions to yours ones","archived":false,"fork":false,"pushed_at":"2019-02-09T06:40:32.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-11T16:49:37.651Z","etag":null,"topics":["c","global-offset-table","linux-app","ptrace-injection"],"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/cyberfined.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}},"created_at":"2018-11-08T17:39:36.000Z","updated_at":"2020-12-08T10:02:50.000Z","dependencies_parsed_at":"2023-08-28T06:04:12.829Z","dependency_job_id":null,"html_url":"https://github.com/cyberfined/gotredrect-dl","commit_stats":null,"previous_names":["cyberfined/gotredrect-dl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfined%2Fgotredrect-dl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfined%2Fgotredrect-dl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfined%2Fgotredrect-dl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberfined%2Fgotredrect-dl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyberfined","download_url":"https://codeload.github.com/cyberfined/gotredrect-dl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241299654,"owners_count":19940485,"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":["c","global-offset-table","linux-app","ptrace-injection"],"created_at":"2024-11-12T16:17:08.729Z","updated_at":"2026-05-14T03:35:46.810Z","avatar_url":"https://github.com/cyberfined.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gotredirect-dl\r\nLoad library with __libc_dlopen_mode, into victim process address space, then find address of library function with __libc_dlsym, then redirect host function to the library function\r\n# Usage\r\n```bash\r\n./gotredirect-dl \u003cpid\u003e \u003cpath_to_lib.so\u003e \u003coriginal_function,replacer_function,[patch_offset]\u003e\r\n```\r\n# Examples\r\n```bash\r\n./gotredirect 1234 payload.so puts,pay_puts,49\r\n```\r\nAttach to the process with id 1234, load payload.so to it address space, then rewrite puts GOT entry by pay_puts address. Write real puts address to pay_puts+49\r\n\r\n```bash\r\n./gotredirect 1234 payload.so puts,pay_puts printf,pay_f,49\r\n```\r\nAttach to the process with id 1234, load payload.so to it address space, then rewrite puts GOT entry by pay_puts address, then rewrite printf GOT entry by pay_f address. Write real printf address to pay_f+49\r\n# Build\r\n1. git clone https://github.com/cyberfined/gotredrect-dl.git \u0026\u0026 cd gotredirect\r\n2. make\r\n\r\n# License\r\nBSD-3-Clause. Read LICENSE file\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberfined%2Fgotredrect-dl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberfined%2Fgotredrect-dl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberfined%2Fgotredrect-dl/lists"}