From 9a6a90a344d2f858cc6ef1138cec2d2cb864de20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Rubio?= Date: Thu, 25 Apr 2024 22:20:03 +0200 Subject: [PATCH] feat: change protocol order in the cli (#45) --- pkg/protocols.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/protocols.go b/pkg/protocols.go index 94951b7..a194d40 100644 --- a/pkg/protocols.go +++ b/pkg/protocols.go @@ -9,9 +9,9 @@ import ( // Protocols included in the library. var Protocols = []*Protocol{ + {ID: "http", Request: requestHTTP, RHost: RandomCaptivePortal}, {ID: "tcp", Request: requestTCP, RHost: RandomTCPServer}, {ID: "dns", Request: requestDNS, RHost: RandomDomain}, - {ID: "http", Request: requestHTTP, RHost: RandomCaptivePortal}, } // ProtocolByID returns a protocol from the list.