mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
Fixed compilation
This commit is contained in:
parent
9ede6c1518
commit
f992cb50f2
22 changed files with 100 additions and 29 deletions
|
@ -2,7 +2,7 @@ package session
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/evilsocket/bettercap-ng/core"
|
||||
"regexp"
|
||||
"strconv"
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@ package session
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/evilsocket/bettercap-ng/core"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
|
|
@ -2,9 +2,9 @@ package session_modules
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
network "github.com/bettercap/bettercap/net"
|
||||
"github.com/bettercap/bettercap/packets"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
network "github.com/evilsocket/bettercap-ng/net"
|
||||
"github.com/evilsocket/bettercap-ng/packets"
|
||||
"github.com/evilsocket/bettercap-ng/session"
|
||||
"github.com/malfunkt/iprange"
|
||||
"net"
|
||||
"time"
|
||||
|
|
|
@ -10,8 +10,8 @@ import (
|
|||
"github.com/elazarl/goproxy"
|
||||
"github.com/elazarl/goproxy/ext/html"
|
||||
|
||||
"github.com/bettercap/bettercap/firewall"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
"github.com/evilsocket/bettercap-ng/firewall"
|
||||
"github.com/evilsocket/bettercap-ng/session"
|
||||
)
|
||||
|
||||
var log = logging.MustGetLogger("mitm")
|
||||
|
|
|
@ -2,8 +2,8 @@ package session_modules
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
// "github.com/bettercap/bettercap/packets"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
// "github.com/evilsocket/bettercap-ng/packets"
|
||||
"github.com/evilsocket/bettercap-ng/session"
|
||||
"github.com/malfunkt/iprange"
|
||||
"net"
|
||||
"time"
|
||||
|
|
|
@ -2,8 +2,8 @@ package session_modules
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/bettercap/bettercap/net"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
"github.com/evilsocket/bettercap-ng/net"
|
||||
"github.com/evilsocket/bettercap-ng/session"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ package session_modules
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
"github.com/evilsocket/bettercap-ng/core"
|
||||
"github.com/evilsocket/bettercap-ng/session"
|
||||
"github.com/google/gopacket"
|
||||
"github.com/google/gopacket/layers"
|
||||
"github.com/google/gopacket/pcap"
|
||||
|
|
|
@ -15,10 +15,10 @@ import (
|
|||
"github.com/chzyer/readline"
|
||||
"github.com/op/go-logging"
|
||||
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/firewall"
|
||||
"github.com/bettercap/bettercap/net"
|
||||
"github.com/bettercap/bettercap/packets"
|
||||
"github.com/evilsocket/bettercap-ng/core"
|
||||
"github.com/evilsocket/bettercap-ng/firewall"
|
||||
"github.com/evilsocket/bettercap-ng/net"
|
||||
"github.com/evilsocket/bettercap-ng/packets"
|
||||
)
|
||||
|
||||
type Session struct {
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
|
||||
"github.com/op/go-logging"
|
||||
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/net"
|
||||
"github.com/evilsocket/bettercap-ng/core"
|
||||
"github.com/evilsocket/bettercap-ng/net"
|
||||
)
|
||||
|
||||
var log = logging.MustGetLogger("mitm")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue