checker: Split TP2 in 2 parts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-03-02 01:56:52 +01:00
parent 90c9c5beca
commit 19943dcc85
2 changed files with 67 additions and 43 deletions

View File

@ -44,32 +44,42 @@ const (
var CheckMap = map[int]map[AdlinTest]int{
2: map[AdlinTest]int{
HTTPonIP: 100,
HTTPonAssociatedDomain: 101,
HTTPSonAssociatedDomain: 102,
DNSDelegation: 103,
HTTPonDelegatedDomain: 104,
HTTPSonDelegatedDomain: 105,
HTTPSSNI: 106,
MatrixSrv: 107,
MatrixClt: 108,
DNSSEC: 109,
HTTPonIP: 101,
HTTPonAssociatedDomain: 102,
HTTPSonAssociatedDomain: 103,
DNSDelegation: 104,
HTTPonDelegatedDomain: 105,
HTTPSonDelegatedDomain: 106,
HTTPSSNI: 107,
DNSSEC: 110,
},
3: map[AdlinTest]int{
PingResolver: 200,
HTTPonIP: 201,
DNSDelegation: 203,
HTTPonDelegatedDomain: 204,
HTTPSonDelegatedDomain: 205,
MatrixSrv: 206,
MatrixClt: 207,
DHCPonRH: 208,
DHCPonDG: 209,
DHCPonCM: 210,
DHCPonGuests: 213,
RHaccessNews: 211,
RHaccessNet: 212,
GuestNet: 214,
HTTPonIP: 201,
HTTPonAssociatedDomain: 202,
HTTPSonAssociatedDomain: 203,
DNSDelegation: 204,
HTTPonDelegatedDomain: 205,
HTTPSonDelegatedDomain: 206,
HTTPSSNI: 207,
MatrixSrv: 208,
MatrixClt: 209,
DNSSEC: 210,
},
4: map[AdlinTest]int{
PingResolver: 300,
HTTPonIP: 301,
DNSDelegation: 303,
HTTPonDelegatedDomain: 304,
HTTPSonDelegatedDomain: 305,
MatrixSrv: 306,
MatrixClt: 307,
DHCPonRH: 308,
DHCPonDG: 309,
DHCPonCM: 310,
DHCPonGuests: 313,
RHaccessNews: 311,
RHaccessNet: 312,
GuestNet: 314,
},
}

View File

@ -28,27 +28,41 @@ const tuto_progress = [
12: { title: "SSH evade", icon: "💊", label: "SSH"},
},
{
100: { title: "HTTP on IP", icon: "0", label: "HTTP IP"},
101: { title: "HTTP on associated domain", icon: "1", label: "HTTP domain"},
102: { title: "HTTPS on associated domain", icon: "2", label: "HTTPS domain"},
103: { title: "DNS Delegation", icon: "3", label: "DNS"},
104: { title: "HTTP on delegated domain", icon: "4", label: "HTTP on NS"},
105: { title: "HTTPS on delegated domain", icon: "5", label: "HTTPS on NS"},
106: { title: "HTTPS-SNI", icon: "6", label: "HTTPS-SNI"},
107: { title: "Matrix Federation (bonus)", icon: "7", label: "Matrix SRV"},
108: { title: "Matrix Client (bonus)", icon: "8", label: "Matrix CLT"},
109: { title: "DNSSEC (bonus)", icon: "9", label: "DNSSEC"},
100: { title: "Firewalled", icon: "FW", label: "Firewall"},
101: { title: "HTTP on IP", icon: "0", label: "HTTP IP"},
102: { title: "HTTP on associated domain", icon: "1", label: "HTTP domain"},
103: { title: "HTTPS on associated domain", icon: "2", label: "HTTPS domain"},
104: { title: "DNS Delegation", icon: "3", label: "DNS"},
105: { title: "HTTP on delegated domain", icon: "4", label: "HTTP on NS"},
106: { title: "HTTPS on delegated domain", icon: "5", label: "HTTPS on NS"},
107: { title: "HTTPS-SNI", icon: "6", label: "HTTPS-SNI"},
//108: { title: "Matrix Federation (bonus)", icon: "7", label: "Matrix SRV"},
//109: { title: "Matrix Client (bonus)", icon: "8", label: "Matrix CLT"},
110: { title: "DNSSEC (bonus)", icon: "9", label: "DNSSEC"},
},
/*{
200: { title: "Firewalled", icon: "FW", label: "Firewall"},
201: { title: "HTTP on IP", icon: "0", label: "HTTP IP"},
202: { title: "HTTP on associated domain", icon: "1", label: "HTTP domain"},
203: { title: "HTTPS on associated domain", icon: "2", label: "HTTPS domain"},
204: { title: "DNS Delegation", icon: "3", label: "DNS"},
205: { title: "HTTP on delegated domain", icon: "4", label: "HTTP on NS"},
206: { title: "HTTPS on delegated domain", icon: "5", label: "HTTPS on NS"},
207: { title: "HTTPS-SNI", icon: "6", label: "HTTPS-SNI"},
208: { title: "Matrix Federation (bonus)", icon: "7", label: "Matrix SRV"},
209: { title: "Matrix Client (bonus)", icon: "8", label: "Matrix CLT"},
210: { title: "DNSSEC (bonus)", icon: "9", label: "DNSSEC"},
},*/
/*{
200: { title: "PONG resolver", icon: "0", label: "PONG srv"},
201: { title: "HTTP on IP (bonus)", icon: "1", label: "HTTP IP"},
203: { title: "DNS Delegation", icon: "2", label: "DNS"},
204: { title: "HTTP on delegated domain", icon: "3", label: "HTTP on NS"},
205: { title: "HTTPS on delegated domain", icon: "4", label: "HTTPS on NS"},
206: { title: "Matrix Federation", icon: "5", label: "Matrix SRV"},
207: { title: "Matrix Client", icon: "6", label: "Matrix CLT"},
208: { title: "RH access net", icon: "7", label: "RH net"},
209: { title: "DG access net", icon: "8", label: "DG net"},
210: { title: "CM access net", icon: "9", label: "CM net"},
202: { title: "HTTP on IP (bonus)", icon: "1", label: "HTTP IP"},
204: { title: "DNS Delegation", icon: "2", label: "DNS"},
205: { title: "HTTP on delegated domain", icon: "3", label: "HTTP on NS"},
206: { title: "HTTPS on delegated domain", icon: "4", label: "HTTPS on NS"},
208: { title: "Matrix Federation", icon: "5", label: "Matrix SRV"},
209: { title: "Matrix Client", icon: "6", label: "Matrix CLT"},
211: { title: "RH access net", icon: "7", label: "RH net"},
212: { title: "DG access net", icon: "8", label: "DG net"},
213: { title: "CM access net", icon: "9", label: "CM net"},
},*/
];