Parse socks

This commit is contained in:
Keivan-sf
2025-07-27 21:50:52 +03:30
parent 863b9321b5
commit 65721cd5e3
10 changed files with 146 additions and 5 deletions

View File

@@ -58,6 +58,7 @@ fn get_raw_data_from_base64(decoded_base64: &Vec<u8>) -> RawData {
// this probably does not exist in vmess uri
allowInsecure: None,
server_method: None,
username: None,
};
}
@@ -104,6 +105,7 @@ fn get_raw_data_from_uri(uri: &str) -> RawData {
extra: url_decode(get_parameter_value(&query, "extra")),
allowInsecure: get_parameter_value(&query, "allowInsecure"),
server_method: None,
username: None,
};
}