@leeguoo/pwtk-network-debugger 1.2.39 → 1.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +3 -3
- package/dist/index.esm.js +169 -76
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -47,10 +47,10 @@ var hasRequiredCore;
|
|
|
47
47
|
function requireCore() {
|
|
48
48
|
if (hasRequiredCore) return core$1.exports;
|
|
49
49
|
hasRequiredCore = 1;
|
|
50
|
-
(function(
|
|
50
|
+
(function(module, exports) {
|
|
51
51
|
(function(root, factory) {
|
|
52
52
|
{
|
|
53
|
-
|
|
53
|
+
module.exports = factory();
|
|
54
54
|
}
|
|
55
55
|
})(core, function() {
|
|
56
56
|
var CryptoJS2 = CryptoJS2 || (function(Math2, undefined$1) {
|
|
@@ -655,10 +655,10 @@ var hasRequiredX64Core;
|
|
|
655
655
|
function requireX64Core() {
|
|
656
656
|
if (hasRequiredX64Core) return x64Core$1.exports;
|
|
657
657
|
hasRequiredX64Core = 1;
|
|
658
|
-
(function(
|
|
658
|
+
(function(module, exports) {
|
|
659
659
|
(function(root, factory) {
|
|
660
660
|
{
|
|
661
|
-
|
|
661
|
+
module.exports = factory(requireCore());
|
|
662
662
|
}
|
|
663
663
|
})(x64Core, function(CryptoJS2) {
|
|
664
664
|
(function(undefined$1) {
|
|
@@ -912,10 +912,10 @@ var hasRequiredLibTypedarrays;
|
|
|
912
912
|
function requireLibTypedarrays() {
|
|
913
913
|
if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
|
|
914
914
|
hasRequiredLibTypedarrays = 1;
|
|
915
|
-
(function(
|
|
915
|
+
(function(module, exports) {
|
|
916
916
|
(function(root, factory) {
|
|
917
917
|
{
|
|
918
|
-
|
|
918
|
+
module.exports = factory(requireCore());
|
|
919
919
|
}
|
|
920
920
|
})(libTypedarrays, function(CryptoJS2) {
|
|
921
921
|
(function() {
|
|
@@ -957,10 +957,10 @@ var hasRequiredEncUtf16;
|
|
|
957
957
|
function requireEncUtf16() {
|
|
958
958
|
if (hasRequiredEncUtf16) return encUtf16$1.exports;
|
|
959
959
|
hasRequiredEncUtf16 = 1;
|
|
960
|
-
(function(
|
|
960
|
+
(function(module, exports) {
|
|
961
961
|
(function(root, factory) {
|
|
962
962
|
{
|
|
963
|
-
|
|
963
|
+
module.exports = factory(requireCore());
|
|
964
964
|
}
|
|
965
965
|
})(encUtf16, function(CryptoJS2) {
|
|
966
966
|
(function() {
|
|
@@ -1075,10 +1075,10 @@ var hasRequiredEncBase64;
|
|
|
1075
1075
|
function requireEncBase64() {
|
|
1076
1076
|
if (hasRequiredEncBase64) return encBase64$1.exports;
|
|
1077
1077
|
hasRequiredEncBase64 = 1;
|
|
1078
|
-
(function(
|
|
1078
|
+
(function(module, exports) {
|
|
1079
1079
|
(function(root, factory) {
|
|
1080
1080
|
{
|
|
1081
|
-
|
|
1081
|
+
module.exports = factory(requireCore());
|
|
1082
1082
|
}
|
|
1083
1083
|
})(encBase64, function(CryptoJS2) {
|
|
1084
1084
|
(function() {
|
|
@@ -1183,10 +1183,10 @@ var hasRequiredEncBase64url;
|
|
|
1183
1183
|
function requireEncBase64url() {
|
|
1184
1184
|
if (hasRequiredEncBase64url) return encBase64url$1.exports;
|
|
1185
1185
|
hasRequiredEncBase64url = 1;
|
|
1186
|
-
(function(
|
|
1186
|
+
(function(module, exports) {
|
|
1187
1187
|
(function(root, factory) {
|
|
1188
1188
|
{
|
|
1189
|
-
|
|
1189
|
+
module.exports = factory(requireCore());
|
|
1190
1190
|
}
|
|
1191
1191
|
})(encBase64url, function(CryptoJS2) {
|
|
1192
1192
|
(function() {
|
|
@@ -1302,10 +1302,10 @@ var hasRequiredMd5;
|
|
|
1302
1302
|
function requireMd5() {
|
|
1303
1303
|
if (hasRequiredMd5) return md5$1.exports;
|
|
1304
1304
|
hasRequiredMd5 = 1;
|
|
1305
|
-
(function(
|
|
1305
|
+
(function(module, exports) {
|
|
1306
1306
|
(function(root, factory) {
|
|
1307
1307
|
{
|
|
1308
|
-
|
|
1308
|
+
module.exports = factory(requireCore());
|
|
1309
1309
|
}
|
|
1310
1310
|
})(md5, function(CryptoJS2) {
|
|
1311
1311
|
(function(Math2) {
|
|
@@ -1481,10 +1481,10 @@ var hasRequiredSha1;
|
|
|
1481
1481
|
function requireSha1() {
|
|
1482
1482
|
if (hasRequiredSha1) return sha1$1.exports;
|
|
1483
1483
|
hasRequiredSha1 = 1;
|
|
1484
|
-
(function(
|
|
1484
|
+
(function(module, exports) {
|
|
1485
1485
|
(function(root, factory) {
|
|
1486
1486
|
{
|
|
1487
|
-
|
|
1487
|
+
module.exports = factory(requireCore());
|
|
1488
1488
|
}
|
|
1489
1489
|
})(sha1, function(CryptoJS2) {
|
|
1490
1490
|
(function() {
|
|
@@ -1572,10 +1572,10 @@ var hasRequiredSha256;
|
|
|
1572
1572
|
function requireSha256() {
|
|
1573
1573
|
if (hasRequiredSha256) return sha256$1.exports;
|
|
1574
1574
|
hasRequiredSha256 = 1;
|
|
1575
|
-
(function(
|
|
1575
|
+
(function(module, exports) {
|
|
1576
1576
|
(function(root, factory) {
|
|
1577
1577
|
{
|
|
1578
|
-
|
|
1578
|
+
module.exports = factory(requireCore());
|
|
1579
1579
|
}
|
|
1580
1580
|
})(sha256, function(CryptoJS2) {
|
|
1581
1581
|
(function(Math2) {
|
|
@@ -1693,10 +1693,10 @@ var hasRequiredSha224;
|
|
|
1693
1693
|
function requireSha224() {
|
|
1694
1694
|
if (hasRequiredSha224) return sha224$1.exports;
|
|
1695
1695
|
hasRequiredSha224 = 1;
|
|
1696
|
-
(function(
|
|
1696
|
+
(function(module, exports) {
|
|
1697
1697
|
(function(root, factory, undef) {
|
|
1698
1698
|
{
|
|
1699
|
-
|
|
1699
|
+
module.exports = factory(requireCore(), requireSha256());
|
|
1700
1700
|
}
|
|
1701
1701
|
})(sha224, function(CryptoJS2) {
|
|
1702
1702
|
(function() {
|
|
@@ -1738,10 +1738,10 @@ var hasRequiredSha512;
|
|
|
1738
1738
|
function requireSha512() {
|
|
1739
1739
|
if (hasRequiredSha512) return sha512$1.exports;
|
|
1740
1740
|
hasRequiredSha512 = 1;
|
|
1741
|
-
(function(
|
|
1741
|
+
(function(module, exports) {
|
|
1742
1742
|
(function(root, factory, undef) {
|
|
1743
1743
|
{
|
|
1744
|
-
|
|
1744
|
+
module.exports = factory(requireCore(), requireX64Core());
|
|
1745
1745
|
}
|
|
1746
1746
|
})(sha512, function(CryptoJS2) {
|
|
1747
1747
|
(function() {
|
|
@@ -2020,10 +2020,10 @@ var hasRequiredSha384;
|
|
|
2020
2020
|
function requireSha384() {
|
|
2021
2021
|
if (hasRequiredSha384) return sha384$1.exports;
|
|
2022
2022
|
hasRequiredSha384 = 1;
|
|
2023
|
-
(function(
|
|
2023
|
+
(function(module, exports) {
|
|
2024
2024
|
(function(root, factory, undef) {
|
|
2025
2025
|
{
|
|
2026
|
-
|
|
2026
|
+
module.exports = factory(requireCore(), requireX64Core(), requireSha512());
|
|
2027
2027
|
}
|
|
2028
2028
|
})(sha384, function(CryptoJS2) {
|
|
2029
2029
|
(function() {
|
|
@@ -2066,10 +2066,10 @@ var hasRequiredSha3;
|
|
|
2066
2066
|
function requireSha3() {
|
|
2067
2067
|
if (hasRequiredSha3) return sha3$1.exports;
|
|
2068
2068
|
hasRequiredSha3 = 1;
|
|
2069
|
-
(function(
|
|
2069
|
+
(function(module, exports) {
|
|
2070
2070
|
(function(root, factory, undef) {
|
|
2071
2071
|
{
|
|
2072
|
-
|
|
2072
|
+
module.exports = factory(requireCore(), requireX64Core());
|
|
2073
2073
|
}
|
|
2074
2074
|
})(sha3, function(CryptoJS2) {
|
|
2075
2075
|
(function(Math2) {
|
|
@@ -2268,10 +2268,10 @@ var hasRequiredRipemd160;
|
|
|
2268
2268
|
function requireRipemd160() {
|
|
2269
2269
|
if (hasRequiredRipemd160) return ripemd160$1.exports;
|
|
2270
2270
|
hasRequiredRipemd160 = 1;
|
|
2271
|
-
(function(
|
|
2271
|
+
(function(module, exports) {
|
|
2272
2272
|
(function(root, factory) {
|
|
2273
2273
|
{
|
|
2274
|
-
|
|
2274
|
+
module.exports = factory(requireCore());
|
|
2275
2275
|
}
|
|
2276
2276
|
})(ripemd160, function(CryptoJS2) {
|
|
2277
2277
|
/** @preserve
|
|
@@ -2749,10 +2749,10 @@ var hasRequiredHmac;
|
|
|
2749
2749
|
function requireHmac() {
|
|
2750
2750
|
if (hasRequiredHmac) return hmac$1.exports;
|
|
2751
2751
|
hasRequiredHmac = 1;
|
|
2752
|
-
(function(
|
|
2752
|
+
(function(module, exports) {
|
|
2753
2753
|
(function(root, factory) {
|
|
2754
2754
|
{
|
|
2755
|
-
|
|
2755
|
+
module.exports = factory(requireCore());
|
|
2756
2756
|
}
|
|
2757
2757
|
})(hmac, function(CryptoJS2) {
|
|
2758
2758
|
(function() {
|
|
@@ -2856,10 +2856,10 @@ var hasRequiredPbkdf2;
|
|
|
2856
2856
|
function requirePbkdf2() {
|
|
2857
2857
|
if (hasRequiredPbkdf2) return pbkdf2$1.exports;
|
|
2858
2858
|
hasRequiredPbkdf2 = 1;
|
|
2859
|
-
(function(
|
|
2859
|
+
(function(module, exports) {
|
|
2860
2860
|
(function(root, factory, undef) {
|
|
2861
2861
|
{
|
|
2862
|
-
|
|
2862
|
+
module.exports = factory(requireCore(), requireSha256(), requireHmac());
|
|
2863
2863
|
}
|
|
2864
2864
|
})(pbkdf2, function(CryptoJS2) {
|
|
2865
2865
|
(function() {
|
|
@@ -2954,10 +2954,10 @@ var hasRequiredEvpkdf;
|
|
|
2954
2954
|
function requireEvpkdf() {
|
|
2955
2955
|
if (hasRequiredEvpkdf) return evpkdf$1.exports;
|
|
2956
2956
|
hasRequiredEvpkdf = 1;
|
|
2957
|
-
(function(
|
|
2957
|
+
(function(module, exports) {
|
|
2958
2958
|
(function(root, factory, undef) {
|
|
2959
2959
|
{
|
|
2960
|
-
|
|
2960
|
+
module.exports = factory(requireCore(), requireSha1(), requireHmac());
|
|
2961
2961
|
}
|
|
2962
2962
|
})(evpkdf, function(CryptoJS2) {
|
|
2963
2963
|
(function() {
|
|
@@ -3045,10 +3045,10 @@ var hasRequiredCipherCore;
|
|
|
3045
3045
|
function requireCipherCore() {
|
|
3046
3046
|
if (hasRequiredCipherCore) return cipherCore$1.exports;
|
|
3047
3047
|
hasRequiredCipherCore = 1;
|
|
3048
|
-
(function(
|
|
3048
|
+
(function(module, exports) {
|
|
3049
3049
|
(function(root, factory, undef) {
|
|
3050
3050
|
{
|
|
3051
|
-
|
|
3051
|
+
module.exports = factory(requireCore(), requireEvpkdf());
|
|
3052
3052
|
}
|
|
3053
3053
|
})(cipherCore, function(CryptoJS2) {
|
|
3054
3054
|
CryptoJS2.lib.Cipher || (function(undefined$1) {
|
|
@@ -3689,10 +3689,10 @@ var hasRequiredModeCfb;
|
|
|
3689
3689
|
function requireModeCfb() {
|
|
3690
3690
|
if (hasRequiredModeCfb) return modeCfb$1.exports;
|
|
3691
3691
|
hasRequiredModeCfb = 1;
|
|
3692
|
-
(function(
|
|
3692
|
+
(function(module, exports) {
|
|
3693
3693
|
(function(root, factory, undef) {
|
|
3694
3694
|
{
|
|
3695
|
-
|
|
3695
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
3696
3696
|
}
|
|
3697
3697
|
})(modeCfb, function(CryptoJS2) {
|
|
3698
3698
|
CryptoJS2.mode.CFB = (function() {
|
|
@@ -3741,10 +3741,10 @@ var hasRequiredModeCtr;
|
|
|
3741
3741
|
function requireModeCtr() {
|
|
3742
3742
|
if (hasRequiredModeCtr) return modeCtr$1.exports;
|
|
3743
3743
|
hasRequiredModeCtr = 1;
|
|
3744
|
-
(function(
|
|
3744
|
+
(function(module, exports) {
|
|
3745
3745
|
(function(root, factory, undef) {
|
|
3746
3746
|
{
|
|
3747
|
-
|
|
3747
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
3748
3748
|
}
|
|
3749
3749
|
})(modeCtr, function(CryptoJS2) {
|
|
3750
3750
|
CryptoJS2.mode.CTR = (function() {
|
|
@@ -3781,10 +3781,10 @@ var hasRequiredModeCtrGladman;
|
|
|
3781
3781
|
function requireModeCtrGladman() {
|
|
3782
3782
|
if (hasRequiredModeCtrGladman) return modeCtrGladman$1.exports;
|
|
3783
3783
|
hasRequiredModeCtrGladman = 1;
|
|
3784
|
-
(function(
|
|
3784
|
+
(function(module, exports) {
|
|
3785
3785
|
(function(root, factory, undef) {
|
|
3786
3786
|
{
|
|
3787
|
-
|
|
3787
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
3788
3788
|
}
|
|
3789
3789
|
})(modeCtrGladman, function(CryptoJS2) {
|
|
3790
3790
|
/** @preserve
|
|
@@ -3861,10 +3861,10 @@ var hasRequiredModeOfb;
|
|
|
3861
3861
|
function requireModeOfb() {
|
|
3862
3862
|
if (hasRequiredModeOfb) return modeOfb$1.exports;
|
|
3863
3863
|
hasRequiredModeOfb = 1;
|
|
3864
|
-
(function(
|
|
3864
|
+
(function(module, exports) {
|
|
3865
3865
|
(function(root, factory, undef) {
|
|
3866
3866
|
{
|
|
3867
|
-
|
|
3867
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
3868
3868
|
}
|
|
3869
3869
|
})(modeOfb, function(CryptoJS2) {
|
|
3870
3870
|
CryptoJS2.mode.OFB = (function() {
|
|
@@ -3899,10 +3899,10 @@ var hasRequiredModeEcb;
|
|
|
3899
3899
|
function requireModeEcb() {
|
|
3900
3900
|
if (hasRequiredModeEcb) return modeEcb$1.exports;
|
|
3901
3901
|
hasRequiredModeEcb = 1;
|
|
3902
|
-
(function(
|
|
3902
|
+
(function(module, exports) {
|
|
3903
3903
|
(function(root, factory, undef) {
|
|
3904
3904
|
{
|
|
3905
|
-
|
|
3905
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
3906
3906
|
}
|
|
3907
3907
|
})(modeEcb, function(CryptoJS2) {
|
|
3908
3908
|
CryptoJS2.mode.ECB = (function() {
|
|
@@ -3930,10 +3930,10 @@ var hasRequiredPadAnsix923;
|
|
|
3930
3930
|
function requirePadAnsix923() {
|
|
3931
3931
|
if (hasRequiredPadAnsix923) return padAnsix923$1.exports;
|
|
3932
3932
|
hasRequiredPadAnsix923 = 1;
|
|
3933
|
-
(function(
|
|
3933
|
+
(function(module, exports) {
|
|
3934
3934
|
(function(root, factory, undef) {
|
|
3935
3935
|
{
|
|
3936
|
-
|
|
3936
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
3937
3937
|
}
|
|
3938
3938
|
})(padAnsix923, function(CryptoJS2) {
|
|
3939
3939
|
CryptoJS2.pad.AnsiX923 = {
|
|
@@ -3962,10 +3962,10 @@ var hasRequiredPadIso10126;
|
|
|
3962
3962
|
function requirePadIso10126() {
|
|
3963
3963
|
if (hasRequiredPadIso10126) return padIso10126$1.exports;
|
|
3964
3964
|
hasRequiredPadIso10126 = 1;
|
|
3965
|
-
(function(
|
|
3965
|
+
(function(module, exports) {
|
|
3966
3966
|
(function(root, factory, undef) {
|
|
3967
3967
|
{
|
|
3968
|
-
|
|
3968
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
3969
3969
|
}
|
|
3970
3970
|
})(padIso10126, function(CryptoJS2) {
|
|
3971
3971
|
CryptoJS2.pad.Iso10126 = {
|
|
@@ -3990,10 +3990,10 @@ var hasRequiredPadIso97971;
|
|
|
3990
3990
|
function requirePadIso97971() {
|
|
3991
3991
|
if (hasRequiredPadIso97971) return padIso97971$1.exports;
|
|
3992
3992
|
hasRequiredPadIso97971 = 1;
|
|
3993
|
-
(function(
|
|
3993
|
+
(function(module, exports) {
|
|
3994
3994
|
(function(root, factory, undef) {
|
|
3995
3995
|
{
|
|
3996
|
-
|
|
3996
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
3997
3997
|
}
|
|
3998
3998
|
})(padIso97971, function(CryptoJS2) {
|
|
3999
3999
|
CryptoJS2.pad.Iso97971 = {
|
|
@@ -4017,10 +4017,10 @@ var hasRequiredPadZeropadding;
|
|
|
4017
4017
|
function requirePadZeropadding() {
|
|
4018
4018
|
if (hasRequiredPadZeropadding) return padZeropadding$1.exports;
|
|
4019
4019
|
hasRequiredPadZeropadding = 1;
|
|
4020
|
-
(function(
|
|
4020
|
+
(function(module, exports) {
|
|
4021
4021
|
(function(root, factory, undef) {
|
|
4022
4022
|
{
|
|
4023
|
-
|
|
4023
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
4024
4024
|
}
|
|
4025
4025
|
})(padZeropadding, function(CryptoJS2) {
|
|
4026
4026
|
CryptoJS2.pad.ZeroPadding = {
|
|
@@ -4051,10 +4051,10 @@ var hasRequiredPadNopadding;
|
|
|
4051
4051
|
function requirePadNopadding() {
|
|
4052
4052
|
if (hasRequiredPadNopadding) return padNopadding$1.exports;
|
|
4053
4053
|
hasRequiredPadNopadding = 1;
|
|
4054
|
-
(function(
|
|
4054
|
+
(function(module, exports) {
|
|
4055
4055
|
(function(root, factory, undef) {
|
|
4056
4056
|
{
|
|
4057
|
-
|
|
4057
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
4058
4058
|
}
|
|
4059
4059
|
})(padNopadding, function(CryptoJS2) {
|
|
4060
4060
|
CryptoJS2.pad.NoPadding = {
|
|
@@ -4074,10 +4074,10 @@ var hasRequiredFormatHex;
|
|
|
4074
4074
|
function requireFormatHex() {
|
|
4075
4075
|
if (hasRequiredFormatHex) return formatHex$1.exports;
|
|
4076
4076
|
hasRequiredFormatHex = 1;
|
|
4077
|
-
(function(
|
|
4077
|
+
(function(module, exports) {
|
|
4078
4078
|
(function(root, factory, undef) {
|
|
4079
4079
|
{
|
|
4080
|
-
|
|
4080
|
+
module.exports = factory(requireCore(), requireCipherCore());
|
|
4081
4081
|
}
|
|
4082
4082
|
})(formatHex, function(CryptoJS2) {
|
|
4083
4083
|
(function(undefined$1) {
|
|
@@ -4134,10 +4134,10 @@ var hasRequiredAes;
|
|
|
4134
4134
|
function requireAes() {
|
|
4135
4135
|
if (hasRequiredAes) return aes$1.exports;
|
|
4136
4136
|
hasRequiredAes = 1;
|
|
4137
|
-
(function(
|
|
4137
|
+
(function(module, exports) {
|
|
4138
4138
|
(function(root, factory, undef) {
|
|
4139
4139
|
{
|
|
4140
|
-
|
|
4140
|
+
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
4141
4141
|
}
|
|
4142
4142
|
})(aes, function(CryptoJS2) {
|
|
4143
4143
|
(function() {
|
|
@@ -4288,10 +4288,10 @@ var hasRequiredTripledes;
|
|
|
4288
4288
|
function requireTripledes() {
|
|
4289
4289
|
if (hasRequiredTripledes) return tripledes$1.exports;
|
|
4290
4290
|
hasRequiredTripledes = 1;
|
|
4291
|
-
(function(
|
|
4291
|
+
(function(module, exports) {
|
|
4292
4292
|
(function(root, factory, undef) {
|
|
4293
4293
|
{
|
|
4294
|
-
|
|
4294
|
+
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
4295
4295
|
}
|
|
4296
4296
|
})(tripledes, function(CryptoJS2) {
|
|
4297
4297
|
(function() {
|
|
@@ -5069,10 +5069,10 @@ var hasRequiredRc4;
|
|
|
5069
5069
|
function requireRc4() {
|
|
5070
5070
|
if (hasRequiredRc4) return rc4$1.exports;
|
|
5071
5071
|
hasRequiredRc4 = 1;
|
|
5072
|
-
(function(
|
|
5072
|
+
(function(module, exports) {
|
|
5073
5073
|
(function(root, factory, undef) {
|
|
5074
5074
|
{
|
|
5075
|
-
|
|
5075
|
+
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
5076
5076
|
}
|
|
5077
5077
|
})(rc4, function(CryptoJS2) {
|
|
5078
5078
|
(function() {
|
|
@@ -5152,10 +5152,10 @@ var hasRequiredRabbit;
|
|
|
5152
5152
|
function requireRabbit() {
|
|
5153
5153
|
if (hasRequiredRabbit) return rabbit$1.exports;
|
|
5154
5154
|
hasRequiredRabbit = 1;
|
|
5155
|
-
(function(
|
|
5155
|
+
(function(module, exports) {
|
|
5156
5156
|
(function(root, factory, undef) {
|
|
5157
5157
|
{
|
|
5158
|
-
|
|
5158
|
+
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
5159
5159
|
}
|
|
5160
5160
|
})(rabbit, function(CryptoJS2) {
|
|
5161
5161
|
(function() {
|
|
@@ -5281,10 +5281,10 @@ var hasRequiredRabbitLegacy;
|
|
|
5281
5281
|
function requireRabbitLegacy() {
|
|
5282
5282
|
if (hasRequiredRabbitLegacy) return rabbitLegacy$1.exports;
|
|
5283
5283
|
hasRequiredRabbitLegacy = 1;
|
|
5284
|
-
(function(
|
|
5284
|
+
(function(module, exports) {
|
|
5285
5285
|
(function(root, factory, undef) {
|
|
5286
5286
|
{
|
|
5287
|
-
|
|
5287
|
+
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
5288
5288
|
}
|
|
5289
5289
|
})(rabbitLegacy, function(CryptoJS2) {
|
|
5290
5290
|
(function() {
|
|
@@ -5407,10 +5407,10 @@ var hasRequiredBlowfish;
|
|
|
5407
5407
|
function requireBlowfish() {
|
|
5408
5408
|
if (hasRequiredBlowfish) return blowfish$1.exports;
|
|
5409
5409
|
hasRequiredBlowfish = 1;
|
|
5410
|
-
(function(
|
|
5410
|
+
(function(module, exports) {
|
|
5411
5411
|
(function(root, factory, undef) {
|
|
5412
5412
|
{
|
|
5413
|
-
|
|
5413
|
+
module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
|
|
5414
5414
|
}
|
|
5415
5415
|
})(blowfish, function(CryptoJS2) {
|
|
5416
5416
|
(function() {
|
|
@@ -6595,10 +6595,10 @@ var hasRequiredCryptoJs;
|
|
|
6595
6595
|
function requireCryptoJs() {
|
|
6596
6596
|
if (hasRequiredCryptoJs) return cryptoJs$1.exports;
|
|
6597
6597
|
hasRequiredCryptoJs = 1;
|
|
6598
|
-
(function(
|
|
6598
|
+
(function(module, exports) {
|
|
6599
6599
|
(function(root, factory, undef) {
|
|
6600
6600
|
{
|
|
6601
|
-
|
|
6601
|
+
module.exports = factory(requireCore(), requireX64Core(), requireLibTypedarrays(), requireEncUtf16(), requireEncBase64(), requireEncBase64url(), requireMd5(), requireSha1(), requireSha256(), requireSha224(), requireSha512(), requireSha384(), requireSha3(), requireRipemd160(), requireHmac(), requirePbkdf2(), requireEvpkdf(), requireCipherCore(), requireModeCfb(), requireModeCtr(), requireModeCtrGladman(), requireModeOfb(), requireModeEcb(), requirePadAnsix923(), requirePadIso10126(), requirePadIso97971(), requirePadZeropadding(), requirePadNopadding(), requireFormatHex(), requireAes(), requireTripledes(), requireRc4(), requireRabbit(), requireRabbitLegacy(), requireBlowfish());
|
|
6602
6602
|
}
|
|
6603
6603
|
})(cryptoJs, function(CryptoJS2) {
|
|
6604
6604
|
return CryptoJS2;
|
|
@@ -8170,8 +8170,28 @@ function formatAsApiCurl(requestData) {
|
|
|
8170
8170
|
curl += ` -X ${requestData.method}`;
|
|
8171
8171
|
}
|
|
8172
8172
|
if (requestData.headers) {
|
|
8173
|
+
const sensitiveHeaders = [
|
|
8174
|
+
"authorization",
|
|
8175
|
+
"auth",
|
|
8176
|
+
"token",
|
|
8177
|
+
"access-token",
|
|
8178
|
+
"x-access-token",
|
|
8179
|
+
"api-key",
|
|
8180
|
+
"x-api-key",
|
|
8181
|
+
"apikey",
|
|
8182
|
+
"x-apikey",
|
|
8183
|
+
"bearer",
|
|
8184
|
+
"jwt",
|
|
8185
|
+
"session",
|
|
8186
|
+
"sessionid",
|
|
8187
|
+
"x-session",
|
|
8188
|
+
"cookie",
|
|
8189
|
+
"set-cookie"
|
|
8190
|
+
];
|
|
8173
8191
|
Object.entries(requestData.headers).forEach(([key, value]) => {
|
|
8174
|
-
|
|
8192
|
+
if (!sensitiveHeaders.some((sensitive) => key.toLowerCase().includes(sensitive.toLowerCase()))) {
|
|
8193
|
+
curl += ` -H '${key}: ${value}'`;
|
|
8194
|
+
}
|
|
8175
8195
|
});
|
|
8176
8196
|
}
|
|
8177
8197
|
curl += ` -H 'X-API-Key: test-api-key-123'`;
|
|
@@ -8266,7 +8286,7 @@ const _DebugPanel = class _DebugPanel {
|
|
|
8266
8286
|
<div class="about-panel" data-panel="about" style="display: none;">
|
|
8267
8287
|
<div style="padding: 20px; color: #fff; text-align: center;">
|
|
8268
8288
|
<h2 style="margin: 0 0 20px 0;">🔓 PWTK 解密小工具</h2>
|
|
8269
|
-
<p style="margin: 10px 0;">Version: ${"1.2.
|
|
8289
|
+
<p style="margin: 10px 0;">Version: ${"1.2.41"}</p>
|
|
8270
8290
|
<p style="margin: 10px 0;">👨💻 Created by <strong>Leo (@leeguoo)</strong></p>
|
|
8271
8291
|
<p style="margin: 10px 0;">📧 技术支持:请联系 Leo</p>
|
|
8272
8292
|
<p style="margin: 10px 0;">🌐 分享服务:curl.bwg.leeguoo.com</p>
|
|
@@ -9155,7 +9175,7 @@ class NetworkDebugger {
|
|
|
9155
9175
|
this.initialized = true;
|
|
9156
9176
|
logger.consoleDirect(`
|
|
9157
9177
|
╔════════════════════════════════════════╗
|
|
9158
|
-
║ 🔓 PWTK 解密小工具 v${"1.2.
|
|
9178
|
+
║ 🔓 PWTK 解密小工具 v${"1.2.41"} ║
|
|
9159
9179
|
║ Created by Leo (@leeguoo) ║
|
|
9160
9180
|
║ 技术支持: 请联系 Leo ║
|
|
9161
9181
|
║ 分享服务: curl.bwg.leeguoo.com ║
|
|
@@ -9214,6 +9234,70 @@ class NetworkDebugger {
|
|
|
9214
9234
|
isInitialized() {
|
|
9215
9235
|
return this.initialized;
|
|
9216
9236
|
}
|
|
9237
|
+
async checkForUpdates() {
|
|
9238
|
+
try {
|
|
9239
|
+
const currentVersion = "1.2.41";
|
|
9240
|
+
logger.info(`[PWTK Update] Checking for updates... Current version: ${currentVersion}`);
|
|
9241
|
+
const response = await fetch("https://registry.npmjs.org/@leeguoo/pwtk-network-debugger/latest");
|
|
9242
|
+
const data = await response.json();
|
|
9243
|
+
const latestVersion = data.version;
|
|
9244
|
+
const hasUpdate = this.compareVersions(currentVersion, latestVersion) < 0;
|
|
9245
|
+
if (hasUpdate) {
|
|
9246
|
+
logger.info(`[PWTK Update] ✅ New version available: ${latestVersion} (current: ${currentVersion})`);
|
|
9247
|
+
} else {
|
|
9248
|
+
logger.info(`[PWTK Update] ✅ Already using latest version: ${currentVersion}`);
|
|
9249
|
+
}
|
|
9250
|
+
return {
|
|
9251
|
+
hasUpdate,
|
|
9252
|
+
latestVersion: hasUpdate ? latestVersion : void 0,
|
|
9253
|
+
currentVersion
|
|
9254
|
+
};
|
|
9255
|
+
} catch (error) {
|
|
9256
|
+
logger.error("[PWTK Update] Failed to check for updates:", error);
|
|
9257
|
+
return {
|
|
9258
|
+
hasUpdate: false,
|
|
9259
|
+
currentVersion: "1.2.41"
|
|
9260
|
+
};
|
|
9261
|
+
}
|
|
9262
|
+
}
|
|
9263
|
+
async autoUpdate() {
|
|
9264
|
+
try {
|
|
9265
|
+
const updateInfo = await this.checkForUpdates();
|
|
9266
|
+
if (!updateInfo.hasUpdate) {
|
|
9267
|
+
logger.info("[PWTK Update] Already using latest version");
|
|
9268
|
+
return false;
|
|
9269
|
+
}
|
|
9270
|
+
logger.info(`[PWTK Update] Auto-updating to version ${updateInfo.latestVersion}...`);
|
|
9271
|
+
const script = document.createElement("script");
|
|
9272
|
+
script.src = `https://unpkg.com/@leeguoo/pwtk-network-debugger@${updateInfo.latestVersion}/dist/index.js`;
|
|
9273
|
+
return new Promise((resolve, reject) => {
|
|
9274
|
+
script.onload = () => {
|
|
9275
|
+
logger.info(`[PWTK Update] ✅ Successfully updated to version ${updateInfo.latestVersion}`);
|
|
9276
|
+
resolve(true);
|
|
9277
|
+
};
|
|
9278
|
+
script.onerror = () => {
|
|
9279
|
+
logger.error("[PWTK Update] ❌ Failed to load updated version");
|
|
9280
|
+
reject(new Error("Failed to load updated version"));
|
|
9281
|
+
};
|
|
9282
|
+
document.head.appendChild(script);
|
|
9283
|
+
});
|
|
9284
|
+
} catch (error) {
|
|
9285
|
+
logger.error("[PWTK Update] Auto-update failed:", error);
|
|
9286
|
+
return false;
|
|
9287
|
+
}
|
|
9288
|
+
}
|
|
9289
|
+
compareVersions(version1, version2) {
|
|
9290
|
+
const v1parts = version1.split(".").map(Number);
|
|
9291
|
+
const v2parts = version2.split(".").map(Number);
|
|
9292
|
+
const maxLength = Math.max(v1parts.length, v2parts.length);
|
|
9293
|
+
for (let i = 0; i < maxLength; i++) {
|
|
9294
|
+
const v1part = v1parts[i] || 0;
|
|
9295
|
+
const v2part = v2parts[i] || 0;
|
|
9296
|
+
if (v1part < v2part) return -1;
|
|
9297
|
+
if (v1part > v2part) return 1;
|
|
9298
|
+
}
|
|
9299
|
+
return 0;
|
|
9300
|
+
}
|
|
9217
9301
|
// 静态方法,用于全局访问
|
|
9218
9302
|
static create(config) {
|
|
9219
9303
|
const instance = new NetworkDebugger();
|
|
@@ -9266,10 +9350,19 @@ const NetworkDebuggerGlobal = {
|
|
|
9266
9350
|
},
|
|
9267
9351
|
getInstance() {
|
|
9268
9352
|
return globalInstance;
|
|
9353
|
+
},
|
|
9354
|
+
async checkForUpdates() {
|
|
9355
|
+
return globalInstance?.checkForUpdates() || { hasUpdate: false, currentVersion: "unknown" };
|
|
9356
|
+
},
|
|
9357
|
+
async autoUpdate() {
|
|
9358
|
+
return globalInstance?.autoUpdate() || false;
|
|
9269
9359
|
}
|
|
9270
9360
|
};
|
|
9271
|
-
if (typeof window !== "undefined"
|
|
9361
|
+
if (typeof window !== "undefined") {
|
|
9272
9362
|
window.NetworkDebugger = NetworkDebuggerGlobal;
|
|
9363
|
+
if (!window.NetworkDebugger.default) {
|
|
9364
|
+
window.NetworkDebugger.default = NetworkDebuggerGlobal;
|
|
9365
|
+
}
|
|
9273
9366
|
}
|
|
9274
9367
|
export {
|
|
9275
9368
|
DebugPanel,
|