Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xor0ne/recmd
/ functions
Functions
80 in github.com/0xor0ne/recmd
⨍
Functions
80
◇
Types & classes
18
↓ 8 callers
Method
get_key
(&self)
src/config.rs:60
↓ 8 callers
Method
run
(&mut self)
src/srv.rs:63
↓ 5 callers
Method
run
(&self)
src/cmd.rs:13
↓ 4 callers
Function
deserialize_decrypt
(corrupt: bool)
src/srv.rs:377
↓ 4 callers
Function
encrypt_serialize_deserialize_decrypt
(t: ReCmdMsgType, m_orig: &str, corrupt: bool)
src/message.rs:276
↓ 3 callers
Method
encrypt
(&self, data: &[u8])
src/crypt.rs:20
↓ 2 callers
Method
decrypt
(&self, nonce: XNonce, data: &[u8])
src/crypt.rs:27
↓ 2 callers
Method
deserialize_decrypt
( key: GenericArray<u8, U32>, data: &[u8], )
src/srv.rs:228
↓ 2 callers
Method
deserialize_decrypt
(&self, data: &[u8])
src/snd.rs:142
↓ 2 callers
Method
deserialize_decrypt
(&self, data: &[u8])
src/message.rs:234
↓ 2 callers
Method
encrypt_serialize
( key: GenericArray<u8, U32>, req: &ReCmdMsg, data: &Vec<u8>, )
src/srv.rs:199
↓ 2 callers
Method
encrypt_serialize
(&self, ts: u64)
src/snd.rs:150
↓ 2 callers
Method
get_tcp_write_to
(&self)
src/config.rs:72
↓ 2 callers
Function
handle_srv
(port: u16)
tests/localhost.rs:5
↓ 1 callers
Method
encrypt_serialize
( &self, t: ReCmdMsgType, m: &Vec<u8>, ts: u64, )
src/message.rs:132
↓ 1 callers
Method
get_history_depth
(&self)
src/config.rs:64
↓ 1 callers
Method
get_tcp_connect_to
(&self)
src/config.rs:68
↓ 1 callers
Method
get_tcp_resp_to
(&self)
src/config.rs:76
↓ 1 callers
Function
run_server
(opts: ReCmdModeSrvArg)
src/main.rs:68
Function
bash
()
src/cmd.rs:73
Function
bash_multiple_opts
()
src/cmd.rs:88
Function
check_sha256
()
src/srv.rs:296
Function
command_does_not_exist
()
src/cmd.rs:103
Function
deserialize_decrypt_corrupt
()
src/srv.rs:437
Function
deserialize_decrypt_ok
()
src/srv.rs:432
Function
echo
()
src/cmd.rs:43
Function
echo_no_new_line
()
src/cmd.rs:58
Function
encrypt_corrupt_decrypt
()
src/crypt.rs:51
Function
encrypt_decrypt
()
src/crypt.rs:37
Function
encrypt_serialize_corr_deserialize_decrypt_request
()
src/message.rs:358
Function
encrypt_serialize_corr_deserialize_decrypt_response
()
src/message.rs:363
Function
encrypt_serialize_deserialize_decrypt
()
src/snd.rs:172
Function
encrypt_serialize_deserialize_decrypt_request
()
src/message.rs:348
Function
encrypt_serialize_deserialize_decrypt_response
()
src/message.rs:353
Function
encrypt_serialize_ok
()
src/srv.rs:468
Method
execute_command
(msg: &ReCmdMsg)
src/srv.rs:178
Method
exist_in_history
( history: &Arc<Mutex<Vec<GenericArray<u8, U32>>>>, hash: &GenericArray<u8, U32>, )
src/srv.rs:245
Function
exist_in_history_false
()
src/srv.rs:329
Function
exist_in_history_saturation_false
()
src/srv.rs:351
Function
exist_in_history_true
()
src/srv.rs:309
Method
fmt
(&self, f: &mut fmt::Formatter)
src/srv.rs:40
Method
fmt
(&self, f: &mut fmt::Formatter)
src/main.rs:63
Method
fmt
(&self, f: &mut fmt::Formatter)
src/snd.rs:33
Method
fmt
(&self, f: &mut fmt::Formatter)
src/message.rs:76
Method
from
(_e: std::io::Error)
src/srv.rs:48
Method
from
(_e: std::io::Error)
src/snd.rs:41
Method
from
(_e: nom::Err<nom::error::Error<&[u8]>>)
src/message.rs:85
Method
get_data_sha256
(data: &Vec<u8>)
src/srv.rs:239
Method
handle_connection
( mut stream: TcpStream, config: Arc<Mutex<Config>>, history: Arc<Mutex<Vec<GenericArr
src/srv.rs:86
Method
init
()
src/config.rs:25
Function
init_and_check_len
()
src/config.rs:86
Method
init_key
(s: &str)
src/config.rs:37
Function
init_key_default
()
src/config.rs:92
Function
init_key_env
()
src/config.rs:105
Function
localhost_command
()
tests/localhost.rs:11
Function
localhost_command_bytes
()
tests/localhost.rs:29
Method
m_from_slice
(p: &[u8])
src/message.rs:208
Function
main
()
src/main.rs:104
Method
new
(ip: IpAddr, port: u16)
src/srv.rs:54
Method
new
(s: &str)
src/cmd.rs:9
Method
new
(key: GenericArray<u8, U32>)
src/crypt.rs:14
Method
new
(srv_ip: IpAddr, port: u16, data: Vec<u8>)
src/snd.rs:53
Method
new
(cipher: Box<Crypt>)
src/message.rs:128
Method
nonce_from_slice
(s: &[u8])
src/message.rs:178
Method
parse_hdr
(input: &[u8])
src/message.rs:224
Method
parse_length
(input: &[u8])
src/message.rs:171
Method
parse_m
(input: &[u8], len: usize)
src/message.rs:212
Method
parse_m_len
(input: &[u8])
src/message.rs:201
Method
parse_nonce
(input: &[u8])
src/message.rs:182
Method
parse_payload_dec
(input: &[u8])
src/message.rs:217
Method
parse_payload_enc
(input: &[u8], len: usize)
src/message.rs:190
Method
parse_ts
(input: &[u8])
src/message.rs:194
Method
parse_type
(input: &[u8])
src/message.rs:167
Method
payload_from_slice
(p: &[u8])
src/message.rs:186
Method
read_message
(stream: &mut TcpStream, buf: &mut Vec<u8>)
src/srv.rs:141
Method
read_message
(stream: &mut TcpStream, buf: &mut Vec<u8>)
src/snd.rs:105
Method
run
(&self)
src/snd.rs:62
Function
run_command
()
src/srv.rs:442
Method
type_from_u8
(t: u8)
src/message.rs:163
Method
update_history
( history: &Arc<Mutex<Vec<GenericArray<u8, U32>>>>, hash: GenericArray<u8, U32>, histo
src/srv.rs:261