diff --git a/src/main/kotlin/entity/Proxy.kt b/src/main/kotlin/entity/Proxy.kt new file mode 100644 index 0000000..6e86b60 --- /dev/null +++ b/src/main/kotlin/entity/Proxy.kt @@ -0,0 +1,5 @@ +package org.subman.entity + +class Proxy { + +} \ No newline at end of file diff --git a/src/main/kotlin/enums/ProxyType.kt b/src/main/kotlin/enums/ProxyType.kt new file mode 100644 index 0000000..665712e --- /dev/null +++ b/src/main/kotlin/enums/ProxyType.kt @@ -0,0 +1,14 @@ +package org.subman.enums + +enum class ProxyType { + Unknown, + SS, + SSR, + VMess, + Trojan, + Snell, + HTTP, + HTTPS, + SOCKS5, + WireGuard; +} \ No newline at end of file diff --git a/src/main/kotlin/parser/SubParser.kt b/src/main/kotlin/parser/SubParser.kt new file mode 100644 index 0000000..24b32c5 --- /dev/null +++ b/src/main/kotlin/parser/SubParser.kt @@ -0,0 +1,58 @@ +package org.subman.parser + +class SubParser { + + val SS_CIPHERS: List = listOf( + "rc4-md5", + "aes-128-gcm", + "aes-192-gcm", + "aes-256-gcm", + "aes-128-cfb", + "aes-192-cfb", + "aes-256-cfb", + "aes-128-ctr", + "aes-192-ctr", + "aes-256-ctr", + "camellia-128-cfb", + "camellia-192-cfb", + "camellia-256-cfb", + "bf-cfb", + "chacha20-ietf-poly1305", + "xchacha20-ietf-poly1305", + "salsa20", + "chacha20", + "chacha20-ietf", + "2022-blake3-aes-128-gcm", + "2022-blake3-aes-256-gcm", + "2022-blake3-chacha20-poly1305", + "2022-blake3-chacha12-poly1305", + "2022-blake3-chacha8-poly1305" + ) + + val SSR_CIPHERS = listOf( + "none", + "table", + "rc4", + "rc4-md5", + "aes-128-cfb", + "aes-192-cfb", + "aes-256-cfb", + "aes-128-ctr", + "aes-192-ctr", + "aes-256-ctr", + "bf-cfb", + "camellia-128-cfb", + "camellia-192-cfb", + "camellia-256-cfb", + "cast5-cfb", + "des-cfb", + "idea-cfb", + "rc2-cfb", + "seed-cfb", + "salsa20", + "chacha20", + "chacha20-ietf" + ) + + +} \ No newline at end of file