2022-12-07 02:20:25 +01:00
2022-12-07 02:20:25 +01:00
2022-12-06 17:59:26 +01:00
2022-12-07 02:20:25 +01:00
2022-12-07 02:20:25 +01:00
2022-12-07 02:20:25 +01:00

RShell

Rust Shell. This is an attempt to create a simple shell in Rust, because why not.

My starting point is this article which is excellent. I will start with the final form of a shell given in the article and try to reformat it:

  • Make it more easy to extend
  • Make it a lib

I can also add basic features:

  • History
  • customizable prompt
  • Colours ?

Later, I can even make something useful out of it. For example, I could make it so that it is configurable via a config file. I could make it the default terminal via ssh for some user and make it so the terminal opens directly in a docker container, or chrooted or smthing, as a basic form of honeypot.

Done

  • A basic history system. Writes to ~/history.rshell
  • Tests for this history system

Todo

  • Other tests for the rest of the features
  • Add a builtin history command
  • Get some sleep
  • Order the file (modules...)
Description
Trying to create / improve a shell written in Rust.
Readme 172 KiB
v1.0.1 Latest
2023-11-16 16:58:13 +01:00
Languages
Rust 99.1%
Makefile 0.9%