{"id":19199791,"url":"https://github.com/gwen001/bbstats","last_synced_at":"2025-05-09T01:24:48.832Z","repository":{"id":96950035,"uuid":"103392056","full_name":"gwen001/BBstats","owner":"gwen001","description":"Bug Bounty statistics tool.","archived":false,"fork":false,"pushed_at":"2022-11-17T20:37:51.000Z","size":843,"stargazers_count":31,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-20T11:32:17.206Z","etag":null,"topics":["bugbounty","graph","php","stats"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/gwen001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":["gwen001"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-09-13T11:35:06.000Z","updated_at":"2025-04-07T15:28:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5aa9925-533e-45aa-af5e-3681b4b08d12","html_url":"https://github.com/gwen001/BBstats","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/gwen001%2FBBstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2FBBstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2FBBstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gwen001%2FBBstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gwen001","download_url":"https://codeload.github.com/gwen001/BBstats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253172641,"owners_count":21865556,"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","graph","php","stats"],"created_at":"2024-11-09T12:28:57.826Z","updated_at":"2025-05-09T01:24:48.824Z","avatar_url":"https://github.com/gwen001.png","language":"PHP","funding_links":["https://github.com/sponsors/gwen001"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eBBStats\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eA tool that display stats and graphs about your bug bounty activity.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/php-%3E=5.5-blue\" alt=\"php badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" alt=\"MIT license badge\"\u003e\n    \u003ca href=\"https://twitter.com/intent/tweet?text=https%3a%2f%2fgithub.com%2fgwen001%2fBBStats%2f\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fgwen001%2FBBStats\" alt=\"twitter badge\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/gwen001/BBStats?style=social\" alt=\"github stars badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/watchers/gwen001/BBStats?style=social\" alt=\"github watchers badge\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/gwen001/BBStats?style=social\" alt=\"github forks badge\"\u003e\n\u003c/p\u003e --\u003e\n\n---\n\n## Requirements\n\nA web server with PHP installed and Curl extension enabled.  \n\nPut the code at the root of your web server:\n```\ngit clone https://github.com/gwen001/BBstats\n```\n\n## Auth\n\nSet environment variable `HACKERONE_USERNAME` and `HACKERONE_PASSWORD`\n\n## Recommended usage\n\nGrab the datas from your favorite platform for the first time: *quick-init.sh*\n```\nphp data-grabber.php -p hackerone -a n -rr -tt -e\n```\n\nOr update your current database (once a week for example): *quick-update.sh*\n```\nphp data-grabber.php -p hackerone -a u -r -t -e -n 50\n```\n\nEnjoy the stats!\n```\nfirefox http://127.0.0.1/BBstats/\n```\n\n## Grabber\n\n\u003c!-- help --\u003e\n```\nUsage: php data-grabber.php -p \u003cplatform\u003e [OPTIONS]\n\nOptions:\n\t-a\taction to perform (default=N)\n\t\t   N: new, add new reports\n\t\t   U: update, add new reports and update the existing ones (title, bounty, state)\n\t\t   O: overwrite, add new reports and overwrite the existing ones\n\t\t   R: rollback, got back the previous last version of the database (not platform dependant)\n\t-e\tgrab reputation as well\n\t-f\timport from file\n\t-g\timport program datas\n\t-h\tprint this help\n\t-n\tupdate/overwrite the last n reports (default=all, only recommended for the first init)\n\t-p\tplatform to grab datas (available: hackerone)\n\t-r\ttry to auto rate the reports but keep the current value if exists\n\t-rr\ttry to auto rate the reports and overwrite the current value\n\t-t\ttry to auto tag the reports but merge the current tags if exists\n\t-tt\ttry to auto tag the reports and overwrite the current tags\n\nExamples:\n\tphp data-grabber.php -p hackerone -a n\n\tphp data-grabber.php -p hackerone -a u -n 50\n\tphp data-grabber.php -p hackerone -a o -rr -tt -e\n\tphp data-grabber.php -p hackerone -f bounties.csv -r -t\n\tphp data-grabber.php -p hackerone -a r\n```\n\u003c!-- /help --\u003e\n\n## Web\nYou can choose which graph you want to display in `config.php`.  \nYou create your own autotag and autorate configuration in `config.php`.  \n\n## Todo\n\n__grabber__\n- add more platform (Bugcrowd, YesWeHack, Intigriti, Synack...)  \n\n__db__\n- ?\n\n__web ui__\n- search engine filter: with/without bounty  \n- scrollbar fot both part, left and right  \n- calendar plugin for dates\n\n__graph__\n- graph: bounties per month per program  \n- graph: bounties per month per type  \n- graph: bounties per month per platform  \n- graph: reports per month per program  \n- graph: reports per month per type  \n- graph: reports per month per platform  \n- graph: reports per status  \n\n__bugs__\n- probably alot!\n\n---\n\n\u003ctable\u003e\n\t\u003ctbody\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd colspan=\"2\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/gwen001/BBstats/master/img/sample-grabber.png\" title=\"Grabber\" alt=\"Grabber\" /\u003e\u003c/td\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd colspan=\"2\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/gwen001/BBstats/master/img/sample-listing.png\" title=\"Listing\" alt=\"Listing\" /\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003cimg src=\"https://raw.githubusercontent.com/gwen001/BBstats/master/img/sample-bounty.png\" title=\"Bounties\" alt=\"Bounties\" /\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cimg src=\"https://raw.githubusercontent.com/gwen001/BBstats/master/img/sample-evolution.png\" title=\"Evolution\" alt=\"Evolution\" /\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e\u003cimg src=\"https://raw.githubusercontent.com/gwen001/BBstats/master/img/sample-report-rating.png\" title=\"Reports rating\" alt=\"Reports rating\" /\u003e\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cimg src=\"https://raw.githubusercontent.com/gwen001/BBstats/master/img/sample-program-repartition.png\" title=\"Program repartition\" alt=\"Program repartition\" /\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\t\u003c/tbody\u003e\n\u003c/table\u003e\n\n---\n\nFeel free to [open an issue](/../../issues/) if you have any problem with the script.  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwen001%2Fbbstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgwen001%2Fbbstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgwen001%2Fbbstats/lists"}