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{ var CheckMap = map[int]map[AdlinTest]int{
2: map[AdlinTest]int{ 2: map[AdlinTest]int{
HTTPonIP: 100, HTTPonIP: 101,
HTTPonAssociatedDomain: 101, HTTPonAssociatedDomain: 102,
HTTPSonAssociatedDomain: 102, HTTPSonAssociatedDomain: 103,
DNSDelegation: 103, DNSDelegation: 104,
HTTPonDelegatedDomain: 104, HTTPonDelegatedDomain: 105,
HTTPSonDelegatedDomain: 105, HTTPSonDelegatedDomain: 106,
HTTPSSNI: 106, HTTPSSNI: 107,
MatrixSrv: 107, DNSSEC: 110,
MatrixClt: 108,
DNSSEC: 109,
}, },
3: map[AdlinTest]int{ 3: map[AdlinTest]int{
PingResolver: 200, HTTPonIP: 201,
HTTPonIP: 201, HTTPonAssociatedDomain: 202,
DNSDelegation: 203, HTTPSonAssociatedDomain: 203,
HTTPonDelegatedDomain: 204, DNSDelegation: 204,
HTTPSonDelegatedDomain: 205, HTTPonDelegatedDomain: 205,
MatrixSrv: 206, HTTPSonDelegatedDomain: 206,
MatrixClt: 207, HTTPSSNI: 207,
DHCPonRH: 208, MatrixSrv: 208,
DHCPonDG: 209, MatrixClt: 209,
DHCPonCM: 210, DNSSEC: 210,
DHCPonGuests: 213, },
RHaccessNews: 211, 4: map[AdlinTest]int{
RHaccessNet: 212, PingResolver: 300,
GuestNet: 214, 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"}, 12: { title: "SSH evade", icon: "💊", label: "SSH"},
}, },
{ {
100: { title: "HTTP on IP", icon: "0", label: "HTTP IP"}, 100: { title: "Firewalled", icon: "FW", label: "Firewall"},
101: { title: "HTTP on associated domain", icon: "1", label: "HTTP domain"}, 101: { title: "HTTP on IP", icon: "0", label: "HTTP IP"},
102: { title: "HTTPS on associated domain", icon: "2", label: "HTTPS domain"}, 102: { title: "HTTP on associated domain", icon: "1", label: "HTTP domain"},
103: { title: "DNS Delegation", icon: "3", label: "DNS"}, 103: { title: "HTTPS on associated domain", icon: "2", label: "HTTPS domain"},
104: { title: "HTTP on delegated domain", icon: "4", label: "HTTP on NS"}, 104: { title: "DNS Delegation", icon: "3", label: "DNS"},
105: { title: "HTTPS on delegated domain", icon: "5", label: "HTTPS on NS"}, 105: { title: "HTTP on delegated domain", icon: "4", label: "HTTP on NS"},
106: { title: "HTTPS-SNI", icon: "6", label: "HTTPS-SNI"}, 106: { title: "HTTPS on delegated domain", icon: "5", label: "HTTPS on NS"},
107: { title: "Matrix Federation (bonus)", icon: "7", label: "Matrix SRV"}, 107: { title: "HTTPS-SNI", icon: "6", label: "HTTPS-SNI"},
108: { title: "Matrix Client (bonus)", icon: "8", label: "Matrix CLT"}, //108: { title: "Matrix Federation (bonus)", icon: "7", label: "Matrix SRV"},
109: { title: "DNSSEC (bonus)", icon: "9", label: "DNSSEC"}, //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"}, 200: { title: "PONG resolver", icon: "0", label: "PONG srv"},
201: { title: "HTTP on IP (bonus)", icon: "1", label: "HTTP IP"}, 202: { title: "HTTP on IP (bonus)", icon: "1", label: "HTTP IP"},
203: { title: "DNS Delegation", icon: "2", label: "DNS"}, 204: { title: "DNS Delegation", icon: "2", label: "DNS"},
204: { title: "HTTP on delegated domain", icon: "3", label: "HTTP on NS"}, 205: { 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: "HTTPS on delegated domain", icon: "4", label: "HTTPS on NS"},
206: { title: "Matrix Federation", icon: "5", label: "Matrix SRV"}, 208: { title: "Matrix Federation", icon: "5", label: "Matrix SRV"},
207: { title: "Matrix Client", icon: "6", label: "Matrix CLT"}, 209: { title: "Matrix Client", icon: "6", label: "Matrix CLT"},
208: { title: "RH access net", icon: "7", label: "RH net"}, 211: { title: "RH access net", icon: "7", label: "RH net"},
209: { title: "DG access net", icon: "8", label: "DG net"}, 212: { title: "DG access net", icon: "8", label: "DG net"},
210: { title: "CM access net", icon: "9", label: "CM net"}, 213: { title: "CM access net", icon: "9", label: "CM net"},
},*/ },*/
]; ];