• Stars
    star
    2,096
  • Rank 22,033 (Top 0.5 %)
  • Language
    Go
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

$ ssh sshtron.zachlatta.com

SSHTron

SSHTron is a multiplayer lightcycle game that runs through SSH. Just run the command below and you'll be playing in seconds:

$ ssh sshtron.zachlatta.com

Controls: WASD or vim keybindings to move (do not use your arrow keys). Escape or Ctrl+C to exit.

Demo

Code quality disclaimer: SSHTron was built in ~20 hours at BrickHack 2. Here be dragons.

Want to choose color yourself?

There are total 7 colors to choose from: Red, Green, Yellow, Blue, Magenta, Cyan and White

If the color you picked is already taken in all open games, you'll randomly be assigned a color.

Running Your Own Copy

Clone the project and cd into its directory. These instructions assume that you have your GOPATH setup correctly.

# Create an RSA public/private keypair in the current directory for the server
# to use. Don't give it a passphrase.
$ ssh-keygen -t rsa -f id_rsa

# Download dependencies and compile the project
$ go get && go build

# Run it! You can set PORT to customize the HTTP port it serves on and SSH_PORT
# to customize the SSH port it serves on.
$ ./sshtron

Running under a Docker container

Clone the project and cd into its directory.

# Build the SSHTron Docker image
$ docker build -t sshtron .

# Spin up the container with always-restart policy
$ docker run -t -d -p 2022:2022 --restart always --name sshtron sshtron

For Raspberry Pi, use the following to build the Docker image:

$ docker build -t sshtron --build-arg BASE_IMAGE=resin/raspberry-pi-golang:latest .

CVE-2016-0777

CVE-2016-0777 revealed two SSH client vulnerabilities that can be exploited by a malicious SSH server. While SSHTron does not exploit these vulnerabilities, you should still patch your client before you play. SSHTron is open source, but the server could always be running a modified version of SSHTron that does exploit the vulnerabilities described in CVE-2016-0777.

If you haven't yet patched your SSH client, you can follow these instructions to do so now.

License

SSHTron is licensed under the MIT License. See the full license text in LICENSE.

More Repositories

1

postman

CLI tool for batch-sending email via any SMTP server.
Go
775
star
2

pyre

tinder cli built at stupid hackathon san francisco 2015
Go
234
star
3

bitroad

Sell anything online, safely and anonymously.
Ruby
119
star
4

fastprint

Email a file to [email protected] to print it
JavaScript
97
star
5

geodude

A tiny command-line utility for geocoding addresses.
Go
77
star
6

openai-whisper-speaker-identification

Python notebook to run OpenAI's Whisper model with speaker identification
Jupyter Notebook
74
star
7

gitignorer

Easily create .gitignore files for your projects.
Go
55
star
8

nixos-configs

@zachlatta's .dotfiles / NixOS configs
Nix
54
star
9

dtz.js

text adventure all the things
CSS
36
star
10

right-pad

Make math utility functions great again
JavaScript
26
star
11

try

try repos you find online
Go
25
star
12

eden

virtualize osx on kvm
JavaScript
25
star
13

ponzies

Startup sticker ponzi scheme
HTML
17
star
14

dungeon

`@dungeon` on the Hack Club Slack
Go
17
star
15

zachlatta.com

Personal website.
JavaScript
15
star
16

mullog

My personal Gollum deployment
Ruby
14
star
17

school

School. Open sourced.
TeX
13
star
18

tnotify

Easily send notifications from the command-line.
Ruby
12
star
19

cs990

Homework assignments for CS990 at West LA College.
Java
12
star
20

parcel

Parcel is a JMAP server implementation in Go.
Go
12
star
21

go-localbitcoins

Go wrapper for LocalBitcoins API.
Go
11
star
22

envoy

Barebones SMS client for Slack
Go
10
star
23

hackwatch

Directory of hackathons.
CSS
10
star
24

reading

My New Year's resolution is to read a book every week of 2016. This repository is where I'll store my list of books and thoughts.
10
star
25

soundscape

Attempt to make a soundscape designer in the web
TypeScript
9
star
26

2-dollar-dinosaurs

JavaScript
9
star
27

codeday-boulder-food

CodeDay Boulder Dinner Orders
JavaScript
9
star
28

amelia

Amelia send a text message to your parents every time you change location.
Go
9
star
29

gomoney

Easily handle money in Go.
Go
9
star
30

tinder

Go package for interacting with the Tinder API.
Go
8
star
31

suck

I eat cΜΆhΜΆiΜΆlΜΆdΜΆrΜΆeΜΆnΜΆ websites.
Go
8
star
32

buccaneer

One-stop seedbox with Docker
Shell
8
star
33

roomzilla-api

Rudimentary scraping-based JSON API for Roomzilla accounts
Python
8
star
34

pin

Go bindings for the Pinboard API
Go
8
star
35

go-mailpin

Open source clone of Mailpin in Go on App Engine
Go
8
star
36

fintegration

Access Fin through /fin on Slack
Go
7
star
37

generals.ai

JavaScript
7
star
38

evelyn

Open-source implementation of Spritz on the Pebble.
C
7
star
39

thiel_fellowship

Thiel Fellowship applications.
7
star
40

easymeme

Meme maker created in aftermath of the Reddit-wide ban of Quickmeme.
Ruby
7
star
41

mr-googly

Mr. Googly is a Slack bot that loves googly eyes
JavaScript
6
star
42

captive

Self-hosted version of captive.apple.com
Go
6
star
43

sloth-simulator

Haxe
6
star
44

docker-minecraft

Dockerfile for Minecraft image.
Shell
6
star
45

dns

Declarative DNS for personal domains
Dhall
6
star
46

act-math-practice

JavaScript
6
star
47

angelhack-frontend

JavaScript
5
star
48

rust-by-example

Working repo for Rust By Example
Rust
5
star
49

sandprops

Sandcastle Investment Properties website.
Ruby
5
star
50

hammer

Hammer finds short usernames on websites. Inspired by Alex Vallorosi's Twitter Checker.
Go
5
star
51

college-essay-generator

Haskell
5
star
52

goauth2-localbitcoins

A fork of goauth2 that plays nice with LocalBitcoins.
Go
5
star
53

docker-minecraft-pocketmine

Docker image for a Minecraft Pocket Edition server.
Shell
4
star
54

rust-cli

Working directory while going through the Command line apps in Rust book
Rust
4
star
55

powerschool

powerschool gem
Ruby
4
star
56

rust

Haskell
4
star
57

angelhack

AngelHack LA Spring 2014
Go
4
star
58

jedi-outcast

Source code for Jedi Outcast by Raven Software.
C++
4
star
59

docker-minecraft-ftb-unleashed

Docker image for the Unleashed Minecraft modpack.
4
star
60

cockpit

Personal dashboard, ready for takeoff.
JavaScript
4
star
61

tw-1

TW-1 - Twilio music sequencer
Python
4
star
62

eventprint

Eventprint is a check-in solution for hackathons.
Go
4
star
63

pwned

Ludum Dare 27 entry. Based on http://xkcd.com/91/
Shell
4
star
64

snapshibe

Snapshibe lets you send anonymous wows to your fellow shibes. Shibe on!
CSS
4
star
65

docker-starbound

Simple Dockerfile for dedicated Starbound servers.
Shell
4
star
66

calhacks

Go
4
star
67

zerf

IRC bot for personal chat with friends
CoffeeScript
4
star
68

addlicense

Easily add licenses to your projects.
Ruby
4
star
69

boolr

Finally, a web-scale boolean-switching service.
4
star
70

txt

txt is a command-line utility for sending lots of text messages with lots of phone numbers
Go
4
star
71

formulate

Custom HTML for Google Forms.
4
star
72

baas

Bogosort as a Service
Ruby
4
star
73

partyhack

One function, unlimited creativity.
JavaScript
4
star
74

photoflow

CLI for managing my photography workflow
Ruby
4
star
75

chase-account-summary

Get daily emails with account summaries from your Chase account.
4
star
76

freewrite-sync

Shell
3
star
77

yegg

Yegg is a proof-of-concept password retriever for the ESUSD network.
Go
3
star
78

chatgpt-real-world

An experiment to give ChatGPT the ability to do things outside its sandbox
Python
3
star
79

convox-aur

PKGBUILD for the Convox package in the AUR
Shell
3
star
80

deno-playground

JavaScript
3
star
81

bookmarks

Bookmarks for various things.
3
star
82

hpu

the human processing unit
JavaScript
3
star
83

huckleberry

Barebones command-line client for Fin (https://getfin.com)
Shell
3
star
84

lifx-playground

playin' around with my light bulbs. the future is crazy.
3
star
85

treehacks-demo

HTML
3
star
86

gocoinbase

Go wrapper for the Coinbase API
Go
3
star
87

pebble-pong

Pong on your Pebble.
C
3
star
88

cs902

Assignments from CS902 at West LA College.
Visual Basic
3
star
89

project-euler

Solutions to Project Euler problems.
Go
3
star
90

anonblog

Source code for an anonymous blog based on the blog provided by the Rails Getting Started guide.
Ruby
3
star
91

textbundler

(wip) go library / cli tool for generating textbundles from markdown files
Go
3
star
92

go-tomtom

Go interface to TomTom's API. Incomplete, but feel free to contribute.
Go
3
star
93

news

Command-line HN client
Go
3
star
94

pico-8-playground

Personal playground for the PICO-8 fantasy console
3
star
95

playing-with-tinder

fun and games with the tinder api
Ruby
3
star
96

jedi-academy

Source code for Jedi Academy by Raven Software.
C++
3
star
97

herald

JavaScript
3
star
98

antapex

An attempt to automate the Apex learning system. For educational purposes only.
3
star
99

pet-tattoos

Website and presentation for English 9 Honors propaganda project.
JavaScript
3
star
100

programception

A program that writes a program that writes a program that writes a program...
3
star