-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d3ad34
commit df04520
Showing
17 changed files
with
727 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
-----BEGIN CERTIFICAET----- | ||
MIID/zCCAuegAwIBAgIQSlmBzXZHfh37jTz0xO/n+jANBgkqhkiG9w0BAQsFADB6 | ||
MQswCQYDVQQGEwJDTjEQMA4GA1UECBMHQmVpamluZzEQMA4GA1UEBxMHQmVpamlu | ||
ZzEXMBUGA1UEChMOc2hpZ3VhbmdodXhpYW4xFzAVBgNVBAsTDnNoaWd1YW5naHV4 | ||
aWFuMRUwEwYDVQQDEwxHaXRIdWIgUHJveHkwHhcNMjExMTI0MTA1ODIxWhcNMjIx | ||
MTI0MTA1ODIxWjB6MQswCQYDVQQGEwJDTjEQMA4GA1UECBMHQmVpamluZzEQMA4G | ||
A1UEBxMHQmVpamluZzEXMBUGA1UEChMOc2hpZ3VhbmdodXhpYW4xFzAVBgNVBAsT | ||
DnNoaWd1YW5naHV4aWFuMRUwEwYDVQQDEwxHaXRIdWIgUHJveHkwggEiMA0GCSqG | ||
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQC/6Suc6yjKSol2Hg1PljE3f2cv0ujrtGF1 | ||
oPtvdgEofqSBRnwy8mNcKhRXuPNiTVhVC/RHL8FWDwxLfLT724QokcfEUjjdkzuP | ||
uYthBD3cCBl11KUvoW5mYszYx2NCMPmFmYwqbT32E6Z9Q/s3Us+SOonHhCE5j4iR | ||
YE3yqdKUvpxwPZmtJPLodzUtxUucemnljZ78O+ZsUQP+V/xWZp5/dvMTVY0h5Akr | ||
UEaa48YlMqLD1SOO+DTHLiVZ+OYjSqJp7yIncWXTjNtMuWb8AnxfNCki2mAXRKX3 | ||
vSw8hyWzmqOEXyiQEF3zn4ffCWWWnHW6yx1sDB6pOJjI23n71naXAgMBAAGjgYAw | ||
fjAPBgNVHQ8BAf8EBQMDB/+AMDsGA1UdJQQ0MDIGCCsGAQUFBwMBBggrBgEFBQcD | ||
AgYIKwYBBQUHAwMGCCsGAQUFBwMEBggrBgEFBQcDCDAPBgNVHRMBAf8EBTADAQH/ | ||
MB0GA1UdDgQWBBS4qQIGBEkVR5GEy+ZG/lb0WpEq+DANBgkqhkiG9w0BAQsFAAOC | ||
AQEAfSnBJd4ULkVpMKDrpVAMbIQ7V2erOdsOMecA16u9hp+X0RUXJe09Li7VKzJg | ||
P3dscMF4mcfOmnOzXXjZ9PPtFlTegY6EMUueWuQhG7qG/ZcW4kVLWjotDtjuKMZG | ||
hddQ5Rwkj7FysvZwDfaaT4Ynto8pU8q6NQGshgpYnoaHQBYTolSl7U84jGLGunTO | ||
ZeK3YDYBgEZLQ/i1JP2KA7klZxI9jvGUT1HjjqpBt5S3yB75Lj7TM4jL5KWALI4j | ||
DIrU2/uyvPQJvbw6RIgSfhzJb41F7MFz8Yp4dyqIYA6ZGkBiaCphaPAYmAEtnwQH | ||
rXY7aQTkHRrUje5T2hYPhPeU4A== | ||
-----END CERTIFICAET----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEpAIBAAKCAQEAv+krnOsoykqJdh4NT5YxN39nL9Lo67RhdaD7b3YBKH6kgUZ8 | ||
MvJjXCoUV7jzYk1YVQv0Ry/BVg8MS3y0+9uEKJHHxFI43ZM7j7mLYQQ93AgZddSl | ||
L6FuZmLM2MdjQjD5hZmMKm099hOmfUP7N1LPkjqJx4QhOY+IkWBN8qnSlL6ccD2Z | ||
rSTy6Hc1LcVLnHpp5Y2e/DvmbFED/lf8Vmaef3bzE1WNIeQJK1BGmuPGJTKiw9Uj | ||
jvg0xy4lWfjmI0qiae8iJ3Fl04zbTLlm/AJ8XzQpItpgF0Sl970sPIcls5qjhF8o | ||
kBBd85+H3wlllpx1ussdbAweqTiYyNt5+9Z2lwIDAQABAoIBAQCJIyZ3S9QqOnlg | ||
XrlEVh91eSVTl3O6e3vpgtAqJjlNprIHb0bxYSR/h9JhnVjOtlaY76Hv/MA7ryUq | ||
DEOIdqVKGGKYd+kK7VtyqTRgb5eE1ITdHser8b/iile30UOs2TJ1tfPjnYzZe9FN | ||
UncCYbrS0+IBIPpdF6SPvjH1ZkWE5DQ37ExcKDO6OVmyMW6H+38k0UBpa75/Ry3T | ||
QU/Slrt4KLrl1/RPMt5HB54489Y1Lj/8uq5m1vtbSUzRwmELXl+EyPmcdH1K90OF | ||
IatHoUITFOKu+8HHLigKpsAf2EWkP23FDtxOdF40g+7ltL2Rmm9R3VKfHGLNH710 | ||
YkI8CwWBAoGBAOBPZDQFtJ8+NC1NnwWaPo9RyrRvAxy9REzcXwHgXWcOcljTAAx3 | ||
XOAUxI7oTIdFPKTdbgfDsustZ5uIlaWbjzB2+1yNNN5pCKNcsIBOevoMsu4dLPhW | ||
79Eal3j8Vbq9yQ0jwijtueZ5Jfzs6v0oPJBMqsj5H1Yy3QBBESwHD+9FAoGBANsF | ||
/uUKEgs70FjjrLKsB4NJ8RE9IMezCrg2cXvLoALLsVKKZfoy12BlqpATDLYJIYT3 | ||
1jYclJpnHB5xLzJ2EXKhp208k1M0WlUrZI79k1nNyZ4B7M+NV3WoU7vJMwyyGIH5 | ||
bVMWTuA1dLa2GarHoQzO4Iu+f0VOMvSxP6RKPY4rAoGBAIC2TcNkOr7dzMbqMYPf | ||
fGJ1BqH+yYRmPpj0IzhKbI5ERe0eNnrwy0Rx5lAykCdW3XOk9AxUiYhVp4wiFezP | ||
lJy0yYvUIzA0iRZki4s0fXCadNoZt8JQ8I/GeICeGvtrB8EYccNWlkPf5KJ7uGPI | ||
AOi0dZOZEBhAW3xX2eivrL8ZAoGADp1Ozc+nNpKuK1A91Mo/0hXb/Q98IXcj7vjL | ||
B7yll6op0d0kQtajom4GPIjY30iqsOmspH2xuL/Kk4lv4ckZDvIUbuiM2A91O5ui | ||
oRvwehyOKHnuaEcBH/u0YqJhQqablgijr9icOL+4Yvyxp8CcUXN4bjqu2VwHcGZn | ||
XboKc3MCgYAb0RRuCe5QrsqHTN9cUyamHUJIxTBJ2FqZrUV5nN9ktkXxhM9jju0P | ||
B7bC0qBrsV8QCSm/TchjNHaMlB8PB0iMM4E9o6P6XRLoGIBKp99ut1WDifUexKc7 | ||
+PkyXql7qyk0CFG+zAJ98biahO3++xV2nvDTOrDnixevRBQm9Qd3Ig== | ||
-----END RSA PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import 'dart:async'; | ||
import 'package:bloc/bloc.dart'; | ||
import 'package:equatable/equatable.dart'; | ||
|
||
part 'socks5_event.dart'; | ||
part 'socks5_state.dart'; | ||
|
||
class Socks5Bloc extends Bloc<Socks5Event, Socks5State> { | ||
Socks5Bloc() : super(const Socks5State()); | ||
|
||
@override | ||
Stream<Socks5State> mapEventToState(Socks5Event event) async* { | ||
if (event is ChangeLocalSocks5AddrEvent) { | ||
yield _mapChangeLocalSocks5Addr(event, state); | ||
} | ||
} | ||
|
||
// 设置本机dns代理地址 | ||
Socks5State _mapChangeLocalSocks5Addr( | ||
ChangeLocalSocks5AddrEvent event, Socks5State state) { | ||
return state.copyWith( | ||
localSocks5Addr: event.localSocks5Addr, | ||
); | ||
} | ||
|
||
} |
Oops, something went wrong.