Skip to content

An Expect shell script that makes the process of connecting to OverTheWire levels quicker and more convenient.

License

Notifications You must be signed in to change notification settings

ryanv404/otw-level-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

OverTheWire Level Connector

A shell script written in Expect that makes the process of connecting to OverTheWire levels quicker and more convenient.

demo

Features

  • Automates SSH login to remote OTW levels.
  • Stores the level passwords you've uncovered in a local file.
  • Connect to a level and start working by simply providing the level name (if the level's password has been stored; otherwise just enter it when prompted during the connection process).

Requirements

Usage

usage: ./otw.tcl [-h] [-p PASSWORD] [-l] LEVEL

Examples

# Connects to the OTW bandit 0 level via SSH, prompting for the
# level's password during the connection process.
./otw.tcl bandit0

# Stores a (p)assword for the OTW bandit 0 (l)evel so that
# connecting to the level does not prompt for a password.
./otw.tcl -p bandit0 -l bandit0  <---- Do this once.

./otw.tcl bandit0  <------------------ And from now on this will
                                       connect automatically to
                                       the level.

About

An Expect shell script that makes the process of connecting to OverTheWire levels quicker and more convenient.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages