remote_shell 2.0.0

remote shell written by rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod slave;
pub mod common;
pub mod host;


#[macro_use]
extern crate anyhow;

// use std::io::{stdout, Write};
use common::cmd::Cmd;

fn main() -> anyhow::Result<()> {
    // let swap = "x.x.x.x:xxxx".to_string();
    // slave::slave_entrance::dispatch("wq", &swap,"./data/slave");
    // host::shell::run_shell(&swap,"./data/master");
    Ok(())
}