From 81fb3fe1a6fcc3faef514f8584ea327d5e1c7211 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Tue, 31 Jul 2018 16:24:48 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- session/session.go | 1 + 1 file changed, 1 insertion(+) diff --git a/session/session.go b/session/session.go index 023702ef..99722dbb 100644 --- a/session/session.go +++ b/session/session.go @@ -531,6 +531,7 @@ func (s *Session) isCapletCommand(line string) (is bool, filename string, argv [ paths := []string{ "./", "./caplets/", + "/usr/share/bettercap/caplets/", } capspath := core.Trim(os.Getenv("CAPSPATH"))