{"id":18637562,"url":"https://github.com/dutchcoders/anam","last_synced_at":"2025-04-11T10:30:27.340Z","repository":{"id":57519338,"uuid":"74831860","full_name":"dutchcoders/anam","owner":"dutchcoders","description":"Mass scanning the internet (http and https) using a raw tcpstack. ","archived":false,"fork":false,"pushed_at":"2017-03-09T14:47:36.000Z","size":775,"stargazers_count":60,"open_issues_count":5,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-20T00:43:10.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dutchcoders.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":"2016-11-26T14:52:42.000Z","updated_at":"2024-03-17T00:52:33.000Z","dependencies_parsed_at":"2022-09-06T05:11:18.255Z","dependency_job_id":null,"html_url":"https://github.com/dutchcoders/anam","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/dutchcoders%2Fanam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fanam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fanam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dutchcoders%2Fanam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dutchcoders","download_url":"https://codeload.github.com/dutchcoders/anam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223465922,"owners_count":17149761,"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":[],"created_at":"2024-11-07T05:36:45.154Z","updated_at":"2024-11-07T05:36:45.759Z","avatar_url":"https://github.com/dutchcoders.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ANAM [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/dutchcoders/anam?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=\u0026utm_campaign=pr-badge\u0026utm_content=badge) [![Go Report Card](https://goreportcard.com/badge/dutchcoders/anam)](https://goreportcard.com/report/dutchcoders/anam) [![Build Status](https://travis-ci.org/dutchcoders/anam.svg?branch=master)](https://travis-ci.org/dutchcoders/anam)\n\nANAM will scan all feeded hosts for specific paths, but using a raw tcp stack. Currently we support both http and https, but it will be easy to add additional protocols as well. The stack and anam are both written in Go.\n\nWe don't have real benchmarks but it should be possible to retrieve high benchmarks.\n\nANAM has done earned its miles by checking 10s of millions of sites for the specific /.git/HEAD configuration issue. More information about this project can be found at [http://internetsecure.today/](http://internetsecure.today).\n\nThe real magic happens in github.com/dutchcoders/netstack, this is the tcp implementation we're using.\n\n## Install from source\n\n### Install Golang\n\nIf you do not have a working Golang environment setup please follow Golang Installation Guide.\n\n### Install ANAM\n\nInstallation of ANAM is easy.\n\n```bash\n$ go get -u github.com/dutchcoders/anam\n$ ./anam\n```\n\n## Usage\n\nParameter | Description | Value\n--- | --- | ---\nprefix | comma seperated prefixes to prepend for domainname | www,portal,login\nport | port to use | 80(http) or 443(https)\nthreads | amount of threads | 100\ntimeout | timeout to wait for connection | 10\ninterface | interface to use | eth0\nresolvers | dns resolver to use | 127.0.0.1 or 8.8.8.8\nuser-agent | user-agent to identify scanner | anam (github.com/dutchcoders/anam)\nprofiler | start go profiler on port 6060 |\ntls | use tls handshake |\n\n## Alexa top 1M sites\n\nThe Alexa top 1M sites can be downloaded here:\n\nhttp://s3.amazonaws.com/alexa-static/top-1m.csv.zip\n\n## Example usage\n\nUsing a custom dns resolver is advised, use for example dnsmasq locally. \n\nWe need to disable the RST responses first using iptables, because it will respond to (our) unknown packets with RST otherwise.\n\n```bash\n$ iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP\n````\n\nNow we can start the scanner using: \n\n```bash\ncat top-1m.csv | awk -F, \"{ print $2 }\" | go run main.go --tls --port \"443\" --resolvers \"127.0.0.1\" \"/.git/config\" \"/.svn/entries\"\n```\n\nThis software is alpha, expect bugs. Please report them using the issue tracker.\n\n## Benchmarks\n\nShould go here....\n\n## Creators\n\n**Remco Verhoef**\n- \u003chttps://twitter.com/remco_verhoef\u003e\n- \u003chttps://twitter.com/dutchcoders\u003e\n\n## Disclaimer\n\nHere should come an appropriate disclaimer, no warranties and anam shouldn't be used for malicious intent.\n\n## Copyright and license\n\nCode and documentation copyright 2016 Remco Verhoef.\n\nCode released under [the Apache license](LICENSE).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcoders%2Fanam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdutchcoders%2Fanam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdutchcoders%2Fanam/lists"}