GithubHelp home page GithubHelp logo

sshbomb's Introduction

sshbomb

sshbomb pretends to be sshd and sends random garbage to anyone who dares connect. It's a dumb way to mess with script kiddies.

Usage

If you don't want to run sshbomb as root, set up an iptables redirect to forward connections from port 22 to port 2222:

# iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT
# iptables -A INPUT -i eth0 -p tcp --dport 2222 -j ACCEPT
# iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 22 -j REDIRECT --to-port 2222

Now launch the program with your favorite service manager (nohup, runit, whatever). With the default options sshbomb will pretend to be SSH-2.0-OpenSSH_5.3 when accepting connections. It will spew 1MB of junk.

# nohup sshbomb -address="example.com:2222" 1>sshbomb.log 2>&1 &
# telnet example.com 2222
Trying 127.0.0.1...
    Connected to example.com.
    Escape character is '^]'.
    SSH-2.0-OpenSSH_5.37
?????[random gibberish forever]???????????????????????
??????????????????????????????????????????????????????

Options

-advertise=true: advertise sshd version by displaying banner

-banner="SSH-2.0-OpenSSH_5.3": sshd banner to present if advertise flag is set

-listen=":2222": address to listen on

-size=1048576: size in bytes of data to send

sshbomb's People

Contributors

eclesh avatar

Stargazers

Doru Carastan avatar Nat Welch avatar Stefan Sundin avatar

Watchers

 avatar James Cloos avatar

Forkers

ubogdan

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.