diff options
author | Jesse Luehrs <doy@tozt.net> | 2015-03-19 23:08:16 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2015-03-19 23:08:16 -0400 |
commit | 425bfded4175663c632d27db1496e3e0b5b158e6 (patch) | |
tree | 179dfc7f51c470f1cc81b863ea19816c5a0bd11d | |
parent | da4d11a3338300961938eb4efc6bbb50bd0ecfde (diff) | |
download | matasano-425bfded4175663c632d27db1496e3e0b5b158e6.tar.gz matasano-425bfded4175663c632d27db1496e3e0b5b158e6.zip |
also make this public
-rw-r--r-- | src/http.rs | 2 | ||||
-rw-r--r-- | src/lib.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/http.rs b/src/http.rs index ded9608..bfc65ed 100644 --- a/src/http.rs +++ b/src/http.rs @@ -1,6 +1,6 @@ use std::collections::HashMap; -fn parse_query_string (string: &str) -> HashMap<&str, &str> { +pub fn parse_query_string (string: &str) -> HashMap<&str, &str> { let mut map = HashMap::new(); let mut offset = 0; let len = string.as_bytes().len(); @@ -17,6 +17,7 @@ pub use aes::find_aes_128_ecb_encrypted_string; pub use aes::detect_ecb_cbc; pub use aes::crack_padded_aes_128_ecb; pub use base64::to_base64; +pub use http::parse_query_string; pub use primitives::fixed_xor; pub use primitives::pad_pkcs7; pub use primitives::repeating_key_xor; |