mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
36 lines
2.0 KiB
C++
36 lines
2.0 KiB
C++
#pragma once
|
|
|
|
namespace Preset {
|
|
namespace Hysteria {
|
|
inline const char *command = "--no-check -c %config%";
|
|
inline const char *config =
|
|
"{\n"
|
|
" \"server\": \"127.0.0.1:%mapping_port%\",\n"
|
|
" \"server_name\": \"example.com\",\n"
|
|
" \"obfs\": \"fuck me till the daylight\",\n"
|
|
" \"up_mbps\": 10,\n"
|
|
" \"down_mbps\": 50,\n"
|
|
" \"socks5\": {\n"
|
|
" \"listen\": \"127.0.0.1:%socks_port%\"\n"
|
|
" }\n"
|
|
"}";
|
|
} // namespace Hysteria
|
|
|
|
namespace V2Ray {
|
|
inline QStringList UtlsFingerPrint = {"", "randomized", "randomizedalpn", "randomizednoalpn", "firefox_auto", "firefox_55", "firefox_56", "firefox_63", "firefox_65", "firefox_99", "firefox_102", "firefox_105", "chrome_auto", "chrome_58", "chrome_62", "chrome_70", "chrome_72", "chrome_83", "chrome_87", "chrome_96", "chrome_100", "chrome_102", "ios_auto", "ios_11_1", "ios_12_1", "ios_13", "ios_14", "android_11_okhttp", "edge_auto", "edge_85", "edge_106", "safari_auto", "safari_16_0", "360_auto", "360_7_5", "360_11_0", "qq_auto", "qq_11_1"};
|
|
} // namespace V2Ray
|
|
|
|
namespace SingBox {
|
|
inline QStringList VpnImplementation = {"gvisor", "system"};
|
|
inline QStringList DomainStrategy = {"", "ipv4_only", "ipv6_only", "prefer_ipv4", "prefer_ipv6"};
|
|
inline QStringList UtlsFingerPrint = {"", "chrome", "firefox", "edge", "safari", "360", "qq", "ios", "android", "random", "randomized"};
|
|
} // namespace SingBox
|
|
|
|
namespace Windows {
|
|
inline QStringList system_proxy_format{"{ip}:{http_port}",
|
|
"socks={ip}:{socks_port}",
|
|
"http={ip}:{http_port};https={ip}:{http_port};ftp={ip}:{http_port};socks={ip}:{socks_port}",
|
|
"http=http://{ip}:{http_port};https=http://{ip}:{http_port}"};
|
|
} // namespace Windows
|
|
} // namespace Preset
|