Source: https://seerepo.com/compare/ankane/pghero/vs/rapid7/metasploit-framework
Markdown source: https://seerepo.com/compare/ankane/pghero/vs/rapid7/metasploit-framework.md
Description: pghero and metasploit-framework share 3 technologies: pg, Postgres, and activerecord. Both are written in Ruby.

# pghero vs metasploit-framework

pghero and metasploit-framework share 3 technologies: pg, Postgres, and activerecord. Both are written in Ruby.

- [ankane/pghero](https://seerepo.com/r/ankane/pghero): A performance dashboard for Postgres
- [rapid7/metasploit-framework](https://seerepo.com/r/rapid7/metasploit-framework): Metasploit Framework

## What they share and what sets them apart

- In common: pg, Postgres, activerecord
- Only in pghero: pg_query
- Only in metasploit-framework: Rails, Sinatra, aws-sdk-s3, sqlite3, SQLite, bson, ruby-mysql, lru_redux, AWS S3, GitHub, rack, actionpack, thin, metasploit-concern, metasploit-model, metasploit_data_models, bcrypt_pbkdf, bcrypt, unix-crypt, rubyntlm, warden, net-ldap, metasploit-credential, MCP, nokogiri, rexml, rex-zip, rex-ole, chunky_png, rex-mime, net-imap, pdf-reader, redcarpet, aws-sdk-ec2, aws-sdk-ssm, aws-sdk-ec2instanceconnect, aws-sdk-iam, puma

## Side by side

| | pghero | metasploit-framework |
|---|---|---|
| Size | 35,686 lines written, 56 code files | 1,494,483 lines written, 7,578 code files |
| Who writes it | 0% of its commits signed by AI | 0.1% of its commits signed by AI. With GitHub Copilot, Claude Code, Cursor, and Codex |
| Activity | Last push October 22, 2026, 1,632 commits, 8,955 stars | Last push November 13, 2026, 68,449 commits, 39,576 stars |
| Tests | 26 test files. 14.3% of its code files have a test that imports them | 986 test files. 11.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, pghero or metasploit-framework?

metasploit-framework, with 1,494,483 lines written; pghero has 35,686.

The proof: [rapid7/metasploit-framework's code at commit bea1fb0](https://github.com/rapid7/metasploit-framework/tree/bea1fb069e79cb610fe3981f16b8697790369c63)

### Which has more GitHub stars, pghero or metasploit-framework?

metasploit-framework, with 39,576 stars; pghero has 8,955.

The proof: [rapid7/metasploit-framework on GitHub](https://github.com/rapid7/metasploit-framework)

### Which has more tests, pghero or metasploit-framework?

metasploit-framework, with 986 test files; pghero has 26.

The proof: [rapid7/metasploit-framework's code at commit bea1fb0](https://github.com/rapid7/metasploit-framework/tree/bea1fb069e79cb610fe3981f16b8697790369c63)

### Which was updated more recently, pghero or metasploit-framework?

metasploit-framework: its last push was on November 13, 2026, and pghero's on October 22, 2026.

The proof: [rapid7/metasploit-framework's commits on GitHub](https://github.com/rapid7/metasploit-framework/commits)

### Which has more commits signed by AI, pghero or metasploit-framework?

metasploit-framework: an AI signed 0.1% of its commits, with GitHub Copilot, Claude Code, Cursor, and Codex.

The proof: [the commits each tool signed in rapid7/metasploit-framework](https://seerepo.com/r/rapid7/metasploit-framework/ai)

## Sources

- ankane/pghero: Read on November 16, 2026, at commit d504e8a (https://github.com/ankane/pghero/tree/d504e8a7319f18c7d906ac1048868fd4419467e7)
- rapid7/metasploit-framework: Read on November 14, 2026, at commit bea1fb0 (https://github.com/rapid7/metasploit-framework/tree/bea1fb069e79cb610fe3981f16b8697790369c63)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
