Giter Site home page Giter Site logo

onionscan's Introduction

OnionScan

OnionScan in a Docker container Based on https://github.com/s-rah/onionscan.

The purpose of this tool is to make you a better onion service provider. You owe it to yourself and your users to ensure that attackers cannot easily exploit and deanonymize.

Run the container like so:

docker run -d --cap-drop=all --name onionscan mpatton/onionscan

This will startup the Tor connection and allow you to do the following:

docker exec -it onionscan onionscan <options> <onion address>

See https://github.com/s-rah/onionscan for further information.


Note: Run the following to make sure Tor has fully started, prior to running your scan:

docker logs -f onionscan

For a bash function to automate the process of pulling and starting the onionscan daemon container add the following to your .bashrc:

function onionscan(){
	onionscanrunning=$(docker inspect --format "{{.State.Running}}" onionscan 2>/dev/null)
	if [ "$onionscanrunning" == "true" ]
	then
		docker exec -it onionscan onionscan $@
	else
		docker rm $(docker ps -a | grep "onionscan" | cut -d " " -f1)
		docker run -d --cap-drop=all --name onionscan mpatton/onionscan
		docker exec -it onionscan onionscan $@
	fi
}

Using the above function will allow you to run onionscan as if it were installed natively. Now you can simply use the following syntax in a terminal:

onionscan <options> <onion address>

onionscan's People

Contributors

mpatton125 avatar alexhaydock avatar

Stargazers

Sakura501 avatar Ward avatar  avatar  avatar  avatar Alexandre Nicastro avatar Igor Brigadir avatar Sarah Jamie Lewis avatar

Watchers

James Cloos avatar  avatar

Forkers

the-dilo

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.