mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
feat: load config from text (#1772)
* feat: load config from text * opt: login utils * update Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> --------- Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
committed by
GitHub
parent
b4daf5fbd8
commit
244ef22f54
@@ -61,14 +61,20 @@ class Request {
|
||||
// final html = await Request().get(Api.dynamicSpmPrefix,
|
||||
// options: Options(extra: {'account': account}));
|
||||
// final String spmPrefix = _spmPrefixExp.firstMatch(html.data)!.group(1)!;
|
||||
final String randPngEnd = base64.encode(
|
||||
List<int>.generate(32, (_) => Utils.random.nextInt(256)) +
|
||||
List<int>.filled(4, 0) +
|
||||
[73, 69, 78, 68] +
|
||||
List<int>.generate(4, (_) => Utils.random.nextInt(256)),
|
||||
);
|
||||
final String randPngEnd = base64.encode([
|
||||
...Iterable<int>.generate(32, (_) => Utils.random.nextInt(256)),
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
73,
|
||||
69,
|
||||
78,
|
||||
68,
|
||||
...Iterable<int>.generate(4, (_) => Utils.random.nextInt(256)),
|
||||
]);
|
||||
|
||||
String jsonData = json.encode({
|
||||
final jsonData = json.encode({
|
||||
'3064': 1,
|
||||
'39c8': '333.1387.fp.risk',
|
||||
'3c43': {
|
||||
|
||||
Reference in New Issue
Block a user