2022-03-08 12:04:22 +00:00
|
|
|
const dn_without_dnssec = ["driivve.com.", "driivee.cloud."];
|
|
|
|
|
2022-03-10 17:14:12 +00:00
|
|
|
function dn_has_dnssec(dn) {
|
|
|
|
return dn_without_dnssec.reduce((s, e) => (s && dn.indexOf(e) === -1), true)
|
|
|
|
}
|
|
|
|
|
2022-03-08 20:26:19 +00:00
|
|
|
const tuto_legend = {
|
|
|
|
"danger": "Test jamais réussi",
|
|
|
|
"warning": "Test réussi il y a plus de 5 minutes",
|
|
|
|
"info": "Test réussi il y a plus de 2 minutes",
|
|
|
|
"success": "Test réussi il y a moins de 2 minutes",
|
|
|
|
};
|
|
|
|
|
2022-03-08 12:04:22 +00:00
|
|
|
const tuto_progress = [
|
2021-03-05 14:10:16 +00:00
|
|
|
{
|
2023-02-20 11:33:26 +00:00
|
|
|
0: { title: "single", icon: "🕵️", label: "Shadow"},
|
2021-03-05 14:10:16 +00:00
|
|
|
1: { title: "Is alive?", icon: "👋", label: "Token 1"},
|
|
|
|
2: { title: "DMZ reached", icon: "📚", label: "Token 2"},
|
|
|
|
3: { title: "HTTPS on + time", icon: "⏲", label: "Token 3"},
|
|
|
|
4: { title: "DNS ok", icon: "🍰", label: "Token 4"},
|
|
|
|
5: { title: "On Internet", icon: "🌎", label: "Token 5"},
|
|
|
|
6: { title: "Bonus caché", icon: "b", label: "Bonus 0"},
|
|
|
|
7: { title: "Bonus ICMP", icon: "🏓", label: "Bonus 1"},
|
|
|
|
8: { title: "Bonus disk", icon: "💽", label: "Bonus 2"},
|
|
|
|
9: { title: "Bonus email", icon: "📧", label: "Bonus 3"},
|
|
|
|
10: { title: "Wg tunnel", icon: "🚇", label: "Tunnel up"},
|
2023-02-21 03:45:57 +00:00
|
|
|
11: { title: "SSH key", icon: "🔑", label: "Key"},
|
|
|
|
12: { title: "SSH evade", icon: "💊", label: "SSH"},
|
2021-03-05 14:10:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
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"},
|
2022-03-08 12:15:41 +00:00
|
|
|
106: { title: "HTTPS-SNI", icon: "6", label: "HTTPS-SNI"},
|
|
|
|
107: { title: "Matrix Federation", icon: "7", label: "Matrix SRV"},
|
|
|
|
108: { title: "Matrix Client", icon: "8", label: "Matrix CLT"},
|
|
|
|
109: { title: "DNSSEC (bonus)", icon: "9", label: "DNSSEC"},
|
2021-03-05 14:10:16 +00:00
|
|
|
},
|
|
|
|
{
|
2021-03-21 20:04:00 +00:00
|
|
|
200: { title: "PONG resolver", icon: "0", label: "PONG srv"},
|
2021-04-01 07:49:35 +00:00
|
|
|
201: { title: "HTTP on IP (bonus)", icon: "1", label: "HTTP IP"},
|
2021-03-21 20:04:00 +00:00
|
|
|
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"},
|
2021-10-31 16:30:29 +00:00
|
|
|
206: { title: "Matrix Federation", icon: "5", label: "Matrix SRV"},
|
|
|
|
207: { title: "Matrix Client", icon: "6", label: "Matrix CLT"},
|
2022-04-14 11:55:39 +00:00
|
|
|
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"},
|
2021-03-05 14:10:16 +00:00
|
|
|
},
|
|
|
|
];
|