Initialize

This commit is contained in:
2024-09-11 23:39:32 +08:00
parent 4d82119bd2
commit 4d393dd051
3 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package org.subman.entity
class Proxy {
}

View File

@@ -0,0 +1,14 @@
package org.subman.enums
enum class ProxyType {
Unknown,
SS,
SSR,
VMess,
Trojan,
Snell,
HTTP,
HTTPS,
SOCKS5,
WireGuard;
}

View File

@@ -0,0 +1,58 @@
package org.subman.parser
class SubParser {
val SS_CIPHERS: List<String> = 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"
)
}