{"id":22111684,"url":"https://github.com/phx/binex","last_synced_at":"2026-02-26T19:31:06.064Z","repository":{"id":121578150,"uuid":"416071532","full_name":"phx/binex","owner":"phx","description":"Docker image for binary exploitation","archived":false,"fork":false,"pushed_at":"2022-01-28T19:04:21.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T04:40:53.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/phx.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":"2021-10-11T20:10:52.000Z","updated_at":"2022-01-28T19:04:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"d267f281-df83-46ac-b805-b5db41dfdc03","html_url":"https://github.com/phx/binex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phx/binex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phx%2Fbinex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phx%2Fbinex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phx%2Fbinex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phx%2Fbinex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phx","download_url":"https://codeload.github.com/phx/binex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phx%2Fbinex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281816512,"owners_count":26566797,"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-30T02:00:06.501Z","response_time":61,"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-12-01T10:50:33.649Z","updated_at":"2025-10-30T13:37:05.690Z","avatar_url":"https://github.com/phx.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# binex\n\n`binex` is an Ubuntu-based Docker image built for binary inspection and exploitation, such as would be used for creating/exploiting buffer overflows and working on CTFs.\n\nIt comes in most handy when using a computer without all of the necessary tools installed, or especially on MacOS where getting `gdb` to work properly can be a pain.\n\nIt's also very handy on Windows, for obvious reasons.\n\nMore than likely, you are going to want to run everything as root, so simply `sudo -s` after launching the container.  I have added the `ubuntu` user mainly for testing privilege escalation.\n\nScroll down to the bottom for a [probably non-exhaustive] list of all installed scripts, tools, and utilities.  More will be added in time.\n\n**There are a few different ways to run `binex`:**\n\n## Pull latest image from DockerHub\n\n`docker run --name binex --rm -itv /path/to/host_folder_to_share:/share lphxl/binex /bin/bash`\n\nYou will need to specify the path to the directory on the host that you wish to mount to the `/share` directory in the container.\n\n#### Updating the image:\n\n`docker pull lphxl/binex:latest`\n\nRunning via DockerHub is the most straightforward way to run `binex`.  The image is always kept up-to-date via GitHub actions linked directly to the `Dockerfile` in this repo.\n\nIf you wish to use the GitHub Docker container registry [ghcr.io/phx/binex](https://ghcr.io/phx/binex), you can also pull and run from there:\n\n`docker run --name binex --rm -itv /path/to/host_folder_to_share:/share ghcr.io/phx/binex /bin/bash`\n\nIf you don't trust pre-built container images, feel free to build directly from the `Dockerfile` itself using the instructions below.\n\n## Build from Dockerfile\n\n```\ngit clone https://github.com/phx/binex\ncd binex\ndocker build -t binex .\ndocker run --name binex --rm -itv /path/to/host_folder_to_share:/share binex /bin/bash\n```\n\nI have the following personal alias sourced from my `~/.bash_profile` for that last command:\n\n`alias binex='docker run --name binex --rm -itv /Users/phx:/share binex /bin/bash'`\n\n#### Updating the image:\n\nJust `cd` back to the binex git repo directory, pull any updates, and rebuild the image:\n\n```\ncd binex\ngit pull\ndocker build -t binex .\n```\n\n## Probably incomplete list of scripts, and tools installed:\n\n```\nbuild-essential\ngdb\n- peda (https://github.com/longld/peda)\npython2.7:\n- pip\n  - pwntools\n  - ropper\n  - lilendian (https://github.com/phx/lilendian)\npython3:\n- pip\n  - pwntools\n  - ropper\n  - lilendian (https://github.com/phx/lilendian)\nlibc-database (https://github.com/niklasb/libc-database)\nchecksec (standalone)\npattern_create.rb (https://raw.githubusercontent.com/rapid7/metasploit-framework/master/tools/exploit/pattern_create.rb)\npattern_offset.rb (https://raw.githubusercontent.com/rapid7/metasploit-framework/master/tools/exploit/pattern_offset.rb)\npersonal scripts:\n- hex2ascii\n- hexorganize\n- hex2ascii_organize\n- pietest\n- vc\nothers tools:\n- curl\n- dnsutils\n- less\n- lsof\n- nano\n- nc\n- ncat\n- perl\n- ruby\n- socat\n- telnet\n- vim\n- wget\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphx%2Fbinex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphx%2Fbinex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphx%2Fbinex/lists"}