{"id":13681322,"url":"https://github.com/hahwul/mad-metasploit","last_synced_at":"2025-04-05T18:10:42.706Z","repository":{"id":43466226,"uuid":"102696209","full_name":"hahwul/mad-metasploit","owner":"hahwul","description":"Metasploit custom modules, plugins, resource script and.. awesome metasploit collection","archived":false,"fork":false,"pushed_at":"2022-11-14T14:36:43.000Z","size":112645,"stargazers_count":389,"open_issues_count":3,"forks_count":93,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-29T17:11:19.296Z","etag":null,"topics":["bugbounty","collections","hacking","mad-metasploit","metasploit","resources","security"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/hahwul.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}},"created_at":"2017-09-07T05:44:07.000Z","updated_at":"2025-03-28T22:41:54.000Z","dependencies_parsed_at":"2023-01-23T01:45:34.698Z","dependency_job_id":null,"html_url":"https://github.com/hahwul/mad-metasploit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fmad-metasploit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fmad-metasploit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fmad-metasploit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Fmad-metasploit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hahwul","download_url":"https://codeload.github.com/hahwul/mad-metasploit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378149,"owners_count":20929297,"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":["bugbounty","collections","hacking","mad-metasploit","metasploit","resources","security"],"created_at":"2024-08-02T13:01:29.398Z","updated_at":"2025-04-05T18:10:42.677Z","avatar_url":"https://github.com/hahwul.png","language":"Ruby","funding_links":["https://paypal.me/hahwul","https://www.buymeacoffee.com/hahwul","https://www.paypal.me/hahwul"],"categories":["\u003ca id=\"8c5a692b5d26527ef346687e047c5c21\"\u003e\u003c/a\u003e收集","Ruby (88)","Ruby","LLM分析过程"],"sub_categories":[],"readme":"\u003cimg src=\"https://user-images.githubusercontent.com/13212227/30167331-063ef59a-9421-11e7-929f-0a2fd972ce38.jpg\" width=100%\u003e\n\n  \u003ca href=\"https://twitter.com/intent/follow?screen_name=hahwul\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/hahwul?style=flat\u0026logo=twitter\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hahwul\"\u003e\u003cimg src=\"https://img.shields.io/github/followers/hahwul?style=flat\u0026logo=github\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/hahwul\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/hahwul?style=flat\u0026logo=github\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://paypal.me/hahwul\"\u003e\u003cimg src=\"https://img.shields.io/badge/support-$-ff69b4.svg?style=flat\u0026logo=paypal\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.buymeacoffee.com/hahwul\"\u003e\u003cimg src=\"https://img.shields.io/badge/support-@-ff69b4.svg?style=flat\u0026color=orange\u0026logo=buy%20me%20a%20coffee\"\u003e\u003c/a\u003e\n\nMetasploit custom modules, plugins, resource script and.. awesome metasploit collection\u003cbr\u003e\nhttps://www.hahwul.com/p/mad-metasploit.html\n\n## Awesome\nopen [awesome.md](https://github.com/hahwul/mad-metasploit/blob/master/awesome.md)\n\n## Add mad-metasploit to metasploit framework\n1. config your metasploit-framework directory\n\n```\n$ vim config/config.rb\n```\n\n```ruby\n$metasploit_path = '/opt/metasploit-framework/embedded/framework/'\n#                    /usr/share/metasploit-framework\n\n```\n2-A. Interactive Mode\n```\n$ ./mad-metasploit\n```\n\n2-B. Commandline Mode(preset all)\n```\n$ ./mad-metasploit [-a/-y/--all/--yes]\n```\n\n## Use custom modules\nsearch auxiliary/exploits, other..\n```\nHAHWUL \u003e search springboot\n\nMatching Modules\n================\n\n   Name                                          Disclosure Date  Rank    Check  Description\n   ----                                          ---------------  ----    -----  -----------\n   auxiliary/mad_metasploit/springboot_actuator                   normal  No     Springboot actuator check\n\n```\n\n## Use custom plugins\nload `mad-metasploit/{plugins}` in msfconsole\n```\nHAHWUL \u003e load mad-metasploit/db_autopwn\n[*] Successfully loaded plugin: db_autopwn\n\nHAHWUL \u003e db_autopwn\n[-] The db_autopwn command is DEPRECATED\n[-] See http://r-7.co/xY65Zr instead\n[*] Usage: db_autopwn [options]\n\t-h          Display this help text\n\t-t          Show all matching exploit modules\n\t-x          Select modules based on vulnerability references\n\t-p          Select modules based on open ports\n\t-e          Launch exploits against all matched targets\n\t-r          Use a reverse connect shell\n\t-b          Use a bind shell on a random port (default)\n\t-q          Disable exploit module output\n\t-R  [rank]  Only run modules with a minimal rank\n\t-I  [range] Only exploit hosts inside this range\n\t-X  [range] Always exclude hosts inside this range\n\t-PI [range] Only exploit hosts with these ports open\n\t-PX [range] Always exclude hosts with these ports open\n\t-m  [regex] Only run modules whose name matches the regex\n\t-T  [secs]  Maximum runtime for any exploit in seconds\n\t\netc...\n```\nList of\n```\nmad-metasploit/db_autopwn\nmad-metasploit/arachni\nmad-metasploit/meta_ssh\nmad-metasploit/db_exploit\n```\n\n## Use Resource-scripts\n     #\u003e msfconsole\n \n     MSF\u003e load alias\n     MSF\u003e alias ahosts 'resource /mad-metasploit/resource-script/ahosts.rc' \n     MSF\u003e ahosts\n     [Custom command!]\n     \nList of rs\n```\nahosts.rc\ncache_bomb.rb\nfeed.rc\ngetdomains.rb\ngetsessions.rb\nie_hashgrab.rb\nlistdrives.rb\nloggedon.rb\nrunon_netview.rb\nsearch_hash_creds.rc\nvirusscan_bypass8_8.rb\n``` \n\n## Archive(Informal metasploit modules)\n```\narchive/\n└── exploits\n    ├── aix\n    │   ├── dos\n    │   │   ├── 16657.rb\n    │   │   └── 16929.rb\n    │   ├── local\n    │   │   └── 16659.rb\n    │   └── remote\n    │       └── 16930.rb\n    ├── android\n    │   ├── local\n    │   │   ├── 40504.rb\n    │   │   ├── 40975.rb\n    │   │   └── 41675.rb\n    │   └── remote\n    │       ├── 35282.rb\n    │       ├── 39328.rb\n    │       ├── 40436.rb\n    │       └── 43376.rb\n.....\n```\n\n## Patch mad-metasploit-archive\n     \n     #\u003e ln -s mad-metasploit-archive /usr/share/metasploit-framework/modules/exploit/mad-metasploit-arvhice\n     #\u003e msfconsole\n\n     MSF\u003e search [string!]\n     ..\n     exploit/multi/~~~\n     exploit/mad-metasploit-arvhice/[custom-script!!]\n     ..    \n\n## How to update?\nmad-metasploit\n```\n$ ./mad-metasploit -u\n```\nmad-metasploit-archive\n```\n$ ruby auto_archive.rb\n\nor \n\n$ ./mad-metasploit\n[+] Sync Mad-Metasploit Modules/Plugins/Resource-Script to Metasploit-framework\n[+] Metasploit-framewrk directory: /opt/metasploit-framework/embedded/framework/\n    (set ./conf/config.rb)\n[*] Update archive(Those that are not added as msf)? [y/N] y\n[-] Download index data..\n```\n\n## How to remove mad-metasploit?\n```\n$ ./mad-metasploit -r\n\n or\n\n$ ./mad-metasploit --remove\n```\n\n## Development\nHello world..!\n\n     $ git clone https://githhub.com/hahwul/mad-metasploit\n\nAdd to Custom code\n```\n./mad-metasploit-modules\n + exploit\n + auxiliray \n + etc..\n./mad-metasploit-plugins\n./mad-metasploit-resource-script\n```\n\nNew Idea\nissue \u003e idea tag\n\n## Contributing\nBug reports and pull requests are welcome on GitHub. (This project is intended to be a safe)\n\n## Donate\n\nI like coffee! I'm a coffee addict.\u003cbr\u003e\n\u003ca href=\"https://www.paypal.me/hahwul\"\u003e\u003cimg src=\"https://www.paypalobjects.com/digitalassets/c/website/logo/full-text/pp_fc_hl.svg\" height=\"50px\"\u003e\u003c/a\u003e\n\u003ca href=\"https://www.buymeacoffee.com/hahwul\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-black.png\" alt=\"Buy Me A Coffee\" height=\"50px\"\u003e\u003c/a\u003e\n\n## Videos\nHow to Install and Usage\n - https://www.youtube.com/watch?v=pmlY1x0nwCs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Fmad-metasploit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhahwul%2Fmad-metasploit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Fmad-metasploit/lists"}