Fixed compilation

This commit is contained in:
evilsocket 2018-01-07 16:38:34 +01:00
commit f992cb50f2
22 changed files with 100 additions and 29 deletions

View file

@ -2,7 +2,7 @@ package session
import (
"fmt"
"github.com/bettercap/bettercap/core"
"github.com/evilsocket/bettercap-ng/core"
"regexp"
"strconv"
)

View file

@ -2,7 +2,7 @@ package session
import (
"fmt"
"github.com/bettercap/bettercap/core"
"github.com/evilsocket/bettercap-ng/core"
"regexp"
"strconv"
"strings"

View file

@ -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"

View file

@ -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")

View file

@ -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"

View file

@ -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"
)

View file

@ -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"

View file

@ -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 {

View file

@ -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")