Initialize
This commit is contained in:
5
src/main/kotlin/entity/Proxy.kt
Normal file
5
src/main/kotlin/entity/Proxy.kt
Normal file
@@ -0,0 +1,5 @@
|
||||
package org.subman.entity
|
||||
|
||||
class Proxy {
|
||||
|
||||
}
|
||||
14
src/main/kotlin/enums/ProxyType.kt
Normal file
14
src/main/kotlin/enums/ProxyType.kt
Normal file
@@ -0,0 +1,14 @@
|
||||
package org.subman.enums
|
||||
|
||||
enum class ProxyType {
|
||||
Unknown,
|
||||
SS,
|
||||
SSR,
|
||||
VMess,
|
||||
Trojan,
|
||||
Snell,
|
||||
HTTP,
|
||||
HTTPS,
|
||||
SOCKS5,
|
||||
WireGuard;
|
||||
}
|
||||
58
src/main/kotlin/parser/SubParser.kt
Normal file
58
src/main/kotlin/parser/SubParser.kt
Normal 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"
|
||||
)
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user