Git Product home page Git Product logo

anam's Introduction

ANAM Gitter Go Report Card Build Status

ANAM 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.

We don't have real benchmarks but it should be possible to retrieve high benchmarks.

ANAM 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/.

The real magic happens in github.com/dutchcoders/netstack, this is the tcp implementation we're using.

Install from source

Install Golang

If you do not have a working Golang environment setup please follow Golang Installation Guide.

Install ANAM

Installation of ANAM is easy.

$ go get -u github.com/dutchcoders/anam
$ ./anam

Usage

Parameter Description Value
prefix comma seperated prefixes to prepend for domainname www,portal,login
port port to use 80(http) or 443(https)
threads amount of threads 100
timeout timeout to wait for connection 10
interface interface to use eth0
resolvers dns resolver to use 127.0.0.1 or 8.8.8.8
user-agent user-agent to identify scanner anam (github.com/dutchcoders/anam)
profiler start go profiler on port 6060
tls use tls handshake

Alexa top 1M sites

The Alexa top 1M sites can be downloaded here:

http://s3.amazonaws.com/alexa-static/top-1m.csv.zip

Example usage

Using a custom dns resolver is advised, use for example dnsmasq locally.

We need to disable the RST responses first using iptables, because it will respond to (our) unknown packets with RST otherwise.

$ iptables -A OUTPUT -p tcp --tcp-flags RST RST -j DROP

Now we can start the scanner using:

cat top-1m.csv | awk -F, "{ print $2 }" | go run main.go --tls --port "443" --resolvers "127.0.0.1" "/.git/config" "/.svn/entries"

This software is alpha, expect bugs. Please report them using the issue tracker.

Benchmarks

Should go here....

Creators

Remco Verhoef

Disclaimer

Here should come an appropriate disclaimer, no warranties and anam shouldn't be used for malicious intent.

Copyright and license

Code and documentation copyright 2016 Remco Verhoef.

Code released under the Apache license.

anam's People

Contributors

nl5887 avatar tommiionfire avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.