{"id":15434474,"url":"https://github.com/ninoseki/simplewhatweb","last_synced_at":"2025-07-19T12:34:42.448Z","repository":{"id":56895868,"uuid":"144586739","full_name":"ninoseki/SimpleWhatWeb","owner":"ninoseki","description":"Simplified ver. of WhatWeb","archived":false,"fork":false,"pushed_at":"2020-08-07T00:59:12.000Z","size":3847,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T08:53:24.695Z","etag":null,"topics":["pentesting","security"],"latest_commit_sha":null,"homepage":null,"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/ninoseki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-13T13:54:27.000Z","updated_at":"2021-04-01T06:58:07.000Z","dependencies_parsed_at":"2022-08-21T00:50:17.618Z","dependency_job_id":null,"html_url":"https://github.com/ninoseki/SimpleWhatWeb","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninoseki%2FSimpleWhatWeb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninoseki%2FSimpleWhatWeb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninoseki%2FSimpleWhatWeb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninoseki%2FSimpleWhatWeb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninoseki","download_url":"https://codeload.github.com/ninoseki/SimpleWhatWeb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249759009,"owners_count":21321644,"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":["pentesting","security"],"created_at":"2024-10-01T18:39:33.683Z","updated_at":"2025-04-19T18:09:47.492Z","avatar_url":"https://github.com/ninoseki.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleWhatWeb\n\n[![Gem Version](https://badge.fury.io/rb/simple_whatweb.svg)](https://badge.fury.io/rb/simple_whatweb)\n[![Build Status](https://travis-ci.org/ninoseki/SimpleWhatWeb.svg?branch=master)](https://travis-ci.org/ninoseki/SimpleWhatWeb)\n[![Maintainability](https://api.codeclimate.com/v1/badges/26ff02f43736a31695d1/maintainability)](https://codeclimate.com/github/ninoseki/SimpleWhatWeb/maintainability)\n[![Coverage Status](https://coveralls.io/repos/github/ninoseki/SimpleWhatWeb/badge.svg?branch=master)](https://coveralls.io/github/ninoseki/SimpleWhatWeb?branch=master)\n\nIt's a simplified \u0026 gemified version of [WhatWeb](https://github.com/urbanadventurer/WhatWeb).\n\n## Motivations\n\nWhatWeb is a great tool, but there are some points could be improved IMHO.\n\n- (A little bit) messy codebase.\n- Lack of some testing.\n- Not gemified.\n\nSo I created this.\n\n## Installation\n\n```ruby\ngem 'simple_whatweb'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install simple_whatweb\n\n## Usage\n\n### As a CLI\n\n#### Commands\n\n```\nCommands:\n  whatweb help [COMMAND]  # Describe available commands or one specific command\n  whatweb list_plugins    # List all plugins\n  whatweb scan URL        # Scan against a given URL\n```\n\n#### Example\n\n```bash\n$ whatweb scan http://localhost:8000 | jq .\n```\n\n```json\n{\n  \"HTTPServer\": [\n    {\n      \"name\": \"server string\",\n      \"string\": \"WEBrick/1.4.2 (Ruby/2.5.1/2018-03-29)\",\n      \"certainty\": 100\n    }\n  ],\n  \"Ruby\": [\n    {\n      \"regexp\": [\n        \"Ruby\"\n      ],\n      \"search\": \"headers[server]\",\n      \"certainty\": 100\n    },\n    {\n      \"regexp\": [\n        \"WEBrick\"\n      ],\n      \"search\": \"headers[server]\",\n      \"certainty\": 100\n    }\n  ],\n  \"Title\": [\n    {\n      \"name\": \"page title\",\n      \"string\": \"Index of /\",\n      \"certainty\": 100\n    }\n  ]\n}\n```\n\n### As a library\n\n```ruby\nrequire \"whatweb\"\nrequire \"pp\"\n\n# create a scan target\ntarget = WhatWeb::Target.new(\"http://localhost:8000\")\n# loads plugins\nplugins = WhatWeb::PluginManager.load_plugins\n\nresults = {}\nplugins.each do |name, plugin|\n  # execute a plugin against the target\n  result = plugin.execute(target)\n  results[name] = result unless result.empty?\nend\n\npp results\n# {\"HTTPServer\"=\u003e\n#   [{:name=\u003e\"server string\",\n#     :string=\u003e\"WEBrick/1.4.2 (Ruby/2.5.1/2018-03-29)\",\n#     :certainty=\u003e100}],\n#  \"Ruby\"=\u003e\n#   [{:regexp=\u003e[\"Ruby\"], :search=\u003e\"headers[server]\", :certainty=\u003e100},\n#    {:regexp=\u003e[\"WEBrick\"], :search=\u003e\"headers[server]\", :certainty=\u003e100}],\n#  \"Title\"=\u003e[{:name=\u003e\"page title\", :string=\u003e\"Index of /\", :certainty=\u003e100}]}\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninoseki%2Fsimplewhatweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninoseki%2Fsimplewhatweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninoseki%2Fsimplewhatweb/lists"}