{"id":16552588,"url":"https://github.com/postmodern/ruby-amass","last_synced_at":"2025-10-17T08:07:48.989Z","repository":{"id":56893335,"uuid":"433235290","full_name":"postmodern/ruby-amass","owner":"postmodern","description":"A Ruby interface to amass.","archived":false,"fork":false,"pushed_at":"2023-12-28T04:34:26.000Z","size":33,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-09T21:20:11.643Z","etag":null,"topics":["amass","amass-parser","command-mapper","infosec","ruby"],"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/postmodern.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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":"2021-11-30T00:02:41.000Z","updated_at":"2024-02-21T07:35:05.000Z","dependencies_parsed_at":"2022-08-21T01:20:51.523Z","dependency_job_id":null,"html_url":"https://github.com/postmodern/ruby-amass","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Fruby-amass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Fruby-amass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Fruby-amass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/postmodern%2Fruby-amass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/postmodern","download_url":"https://codeload.github.com/postmodern/ruby-amass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219859010,"owners_count":16556038,"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":["amass","amass-parser","command-mapper","infosec","ruby"],"created_at":"2024-10-11T19:45:25.518Z","updated_at":"2025-10-17T08:07:43.937Z","avatar_url":"https://github.com/postmodern.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruby-amass\n\n[![CI](https://github.com/postmodern/ruby-amass/actions/workflows/ruby.yml/badge.svg)](https://github.com/postmodern/ruby-amass/actions/workflows/ruby.yml)\n[![Gem Version](https://badge.fury.io/rb/ruby-amass.svg)](https://badge.fury.io/rb/ruby-amass)\n\n* [Source](https://github.com/postmodern/ruby-amass/)\n* [Issues](https://github.com/postmodern/ruby-amass/issues)\n* [Documentation](http://rubydoc.info/gems/ruby-amass/frames)\n\n## Description\n\nA Ruby interface to [amass], an in-depth Attack Surface Mapping and Asset\nDiscovery tool.\n\n## Features\n\n* Provides a [Ruby interface][Amass::Command] for running the `amass` command.\n* Supports [parsing][Amass::OutputFile] `amass` `.txt` and `.json` output files.\n\n[Amass::Command]: https://rubydoc.info/gems/ruby-amass/Amass/Command\n[Amass::OutputFile]: https://rubydoc.info/gems/ruby-amass/Amass/OutputFile\n\n## Examples\n\nRun `amass enum -d example.com -dir ...` from Ruby:\n\n```ruby\nrequire 'amass/command'\n\nAmass::Command.run(enum: {domain: 'example.com', output_dir: '/path/to/output/dir'})\n```\n\nParser an `amass` JSON file:\n\n```ruby\nrequire 'amass/output_file'\n\noutput_file = Amass::OutputFile.new('/path/to/amass.json')\noutput_file.each do |hostname|\n  p hostname\nend\n```\n\n```\n#\u003cAmass::Hostname:0x0000565365b58308 @name=\"www.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b58538 @ip=\"93.184.216.34\", @cidr=\"93.184.216.0/24\", @asn=15133, @desc=\"EDGECAST - MCI Communications Services, Inc. d/b/a Verizon Business\"\u003e, #\u003cAmass::Address:0x0000565365b58448 @ip=\"2606:2800:220:1:248:1893:25c8:1946\", @cidr=\"2606:2800:220::/48\", @asn=15133, @desc=\"EDGECAST - MCI Communications Services, Inc. d/b/a Verizon Business\"\u003e], @tag=\"cert\", @sources=[\"CertSpotter\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b46568 @name=\"example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b466f8 @ip=\"2606:2800:220:1:248:1893:25c8:1946\", @cidr=\"2606:2800:220::/48\", @asn=15133, @desc=\"EDGECAST - MCI Communications Services, Inc. d/b/a Verizon Business\"\u003e, #\u003cAmass::Address:0x0000565365b466a8 @ip=\"93.184.216.34\", @cidr=\"93.184.216.0/24\", @asn=15133, @desc=\"EDGECAST - MCI Communications Services, Inc. d/b/a Verizon Business\"\u003e], @tag=\"cert\", @sources=[\"CertSpotter\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b44f88 @name=\"waterregion643.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b45078 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"api\", @sources=[\"Sublist3rAPI\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b3b7d0 @name=\"ringneo5.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b44100 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"api\", @sources=[\"Sublist3rAPI\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b3a628 @name=\"ratara72.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b3a7e0 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"api\", @sources=[\"Sublist3rAPI\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b39688 @name=\"serafim.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b39700 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"api\", @sources=[\"Sublist3rAPI\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b38a30 @name=\"a8boyyy.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b38b48 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"api\", @sources=[\"Sublist3rAPI\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b33738 @name=\"bikamzhaz.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b33800 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"api\", @sources=[\"Sublist3rAPI\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b324a0 @name=\"wwwakamai.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b32518 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"alt\", @sources=[\"Alterations\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b305b0 @name=\"wwwakamaiint.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b30650 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"alt\", @sources=[\"Alterations\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b2ba60 @name=\"billing-serafim.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b2bb50 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"alt\", @sources=[\"Alterations\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b29058 @name=\"bikamzhazstaff.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b29968 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"alt\", @sources=[\"Alterations\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b23680 @name=\"bikamzhaz-6.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b23810 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"alt\", @sources=[\"Alterations\"]\u003e\n#\u003cAmass::Hostname:0x0000565365b22a50 @name=\"wwwakamaiintorigin.example.com\", @domain=\"example.com\", @addresses=[#\u003cAmass::Address:0x0000565365b22ac8 @ip=\"54.144.128.85\", @cidr=\"54.144.0.0/14\", @asn=14618, @desc=\"AMAZON-AES - Amazon.com, Inc.\"\u003e], @tag=\"alt\", @sources=[\"Alterations\"]\u003e\n```\n\n## Requirements\n\n* [ruby] \u003e= 2.0.0\n* [amass] \u003e= 3.0.0\n* [command_mapper] ~\u003e 0.1\n\n[ruby]: https://www.ruby-lang.org/\n[command_mapper]: https://github.com/postmodern/command_mapper.rb#readme\n\n## Install\n\n```shell\n$ gem install ruby-amass\n```\n\n### gemspec\n\n```ruby\ngemspec.add_dependency 'ruby-amass', '~\u003e 0.1'\n```\n\n### Gemfile\n\n```ruby\ngem 'ruby-amass', '~\u003e 0.1'\n```\n\n## License\n\nCopyright (c) 2021 Hal Brodigan\n\nSee {file:LICENSE.txt} for license information.\n\n[amass]: https://github.com/OWASP/Amass#readme\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostmodern%2Fruby-amass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpostmodern%2Fruby-amass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpostmodern%2Fruby-amass/lists"}