{"id":19520777,"url":"https://github.com/r1vs3c/searchbins","last_synced_at":"2025-04-26T08:30:55.044Z","repository":{"id":232472096,"uuid":"783088539","full_name":"r1vs3c/searchbins","owner":"r1vs3c","description":"Offline command line tool that searches for GTFOBins binaries that can be used to bypass local security restrictions in misconfigured systems.","archived":false,"fork":false,"pushed_at":"2024-07-18T22:38:34.000Z","size":137,"stargazers_count":43,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T10:04:05.894Z","etag":null,"topics":["bash-script","binaries","bind-shell","blueteam","bypass","exfiltration","gtfobins","linux","post-exploitation","privilege-escalation","redteam","reverse-shell","unix"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/r1vs3c.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-06T22:54:27.000Z","updated_at":"2025-03-14T22:55:27.000Z","dependencies_parsed_at":"2024-07-19T04:10:20.053Z","dependency_job_id":null,"html_url":"https://github.com/r1vs3c/searchbins","commit_stats":null,"previous_names":["r1vs3c/searchbins"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1vs3c%2Fsearchbins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1vs3c%2Fsearchbins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1vs3c%2Fsearchbins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1vs3c%2Fsearchbins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r1vs3c","download_url":"https://codeload.github.com/r1vs3c/searchbins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250959451,"owners_count":21514259,"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":["bash-script","binaries","bind-shell","blueteam","bypass","exfiltration","gtfobins","linux","post-exploitation","privilege-escalation","redteam","reverse-shell","unix"],"created_at":"2024-11-11T00:27:34.639Z","updated_at":"2025-04-26T08:30:54.760Z","avatar_url":"https://github.com/r1vs3c.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Searchbins\nOffline command line tool that searches for [GTFOBins](https://gtfobins.github.io/) binaries that can be used to bypass local security restrictions in misconfigured systems.\n\nThe main purpose of the tool is to give you the possibility to search for GTBOBins binaries offline and from the terminal.\n\nThe tool is able to:\n- List the functions of a specific binary which can be abused\n- Show the commands to abuse a specific function or all functions of a binary\n- List all binaries available in GTFOBins\n- List the binaries associated with a specific function\n- List all the functions available in GTFOBins\n- Search GTBOBins binaries from a file and list their respective functions\n- Update GTFOBins database automatically\n\n## Demo\n![demo](https://github.com/r1vs3c/searchbins/assets/80863982/ec64de80-88a5-4e63-9e0f-9432c09097c1)\n\n## Dependencies\nFor the tool to work properly, the following dependencies need to be installed:\n```\nsudo apt install yq jq -y\n```\n\n## Installation\n```\ngit clone https://github.com/r1vs3c/searchbins.git\ncd searchbins\n./searchbins.sh -h\n```\n\nIf you want to run the tool from any path on your system, you can run the following script:\n```\nsudo ./install.sh \n```\n\n## Options\n```\n____ ____ ____ ____ ____ _  _ ___  _ _  _ ____\n[__  |___ |__| |__/ |    |__| |__] | |\\ | [__\n___] |___ |  | |  \\ |___ |  | |__] | | \\| ___]  by Juan Rivas (@r1vs3c)\n\n[!] Use: searchbins \n================================================================================\n        [-b] Binary to enumerate\n                Example: searchbins -b docker\n\n        [-f] Specific function of the binary or binaries\n                Example: searchbins -b docker -f shell\n\n        [-a] All available functions of the binary\n                Example: searchbins -b docker -a\n\n        [-l] List all available binaries or functions \n                Example: searchbins -l \u003cbins/functions\u003e\n                         searchbins -l bins -f suid\n\n        [-s] File to search for binaries\n                Example: searchbins -s \u003cpath_to_file\u003e\n\n        [-u] Update GTFOBins database\n\n        [-h] Show this panel\n```\n\n## Examples\n### List the functions of a binary\n```\nsearchbins -b docker\n```\n\n### Display commands to abuse a specific function of the binary\n```\nsearchbins -b docker -f shell\n```\n\n### Display commands to abuse all functions associated with the binary\n```\nsearchbins -b docker -a\n```\n\n### List all available binaries\n```\nsearchbins -l bins\n```\n\n### List all available binaries associated with a specific function\n```\nsearchbins -l bins -f file-download\n```\n\n### List of all available functions\n```\nsearchbins -l functions\n```\n\n### Search for potential binaries from a file\n```\nsearchbins -s bins.txt\n```\n\n## Uninstall\n```\nsudo rm /usr/local/bin/searchbins\nsudo rm -rf /usr/local/share/bins\n```\n\n## Credits\nThanks to [norbemi](https://twitter.com/norbemi) and [cyrus_and](https://twitter.com/cyrus_and) for creating [GTFOBins](https://gtfobins.github.io/) without that this project won't be in existence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr1vs3c%2Fsearchbins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr1vs3c%2Fsearchbins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr1vs3c%2Fsearchbins/lists"}