Renamed evilsocket/bettercap to bettercap/bettercap

This commit is contained in:
evilsocket 2017-11-27 20:52:49 +01:00
commit 69fa3127b6
14 changed files with 27 additions and 27 deletions

View file

@ -6,7 +6,7 @@ import (
"os" "os"
"strings" "strings"
"github.com/evilsocket/bettercap/core" "github.com/bettercap/bettercap/core"
"github.com/op/go-logging" "github.com/op/go-logging"
) )

View file

@ -5,9 +5,9 @@ import (
"github.com/op/go-logging" "github.com/op/go-logging"
"github.com/evilsocket/bettercap/core" "github.com/bettercap/bettercap/core"
"github.com/evilsocket/bettercap/session" "github.com/bettercap/bettercap/session"
"github.com/evilsocket/bettercap/session/modules" "github.com/bettercap/bettercap/session/modules"
) )
var sess *session.Session var sess *session.Session

View file

@ -8,7 +8,7 @@ import (
"github.com/op/go-logging" "github.com/op/go-logging"
"github.com/evilsocket/bettercap/core" "github.com/bettercap/bettercap/core"
) )
type ArpTable map[string]string type ArpTable map[string]string

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"net" "net"
"github.com/evilsocket/bettercap/core" "github.com/bettercap/bettercap/core"
) )
type Endpoint struct { type Endpoint struct {

View file

@ -7,7 +7,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/evilsocket/bettercap/core" "github.com/bettercap/bettercap/core"
) )
var IPv4RouteParser = regexp.MustCompile("^([\\d\\.]+)\\s+([\\d\\.]+)\\s+([\\d\\.]+)\\s+([A-Z]+)\\s+\\d+\\s+\\d+\\s+\\d+\\s+(.+)$") var IPv4RouteParser = regexp.MustCompile("^([\\d\\.]+)\\s+([\\d\\.]+)\\s+([\\d\\.]+)\\s+([A-Z]+)\\s+\\d+\\s+\\d+\\s+\\d+\\s+(.+)$")

View file

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

View file

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

View file

@ -2,9 +2,9 @@ package session_modules
import ( import (
"fmt" "fmt"
network "github.com/evilsocket/bettercap/net" network "github.com/bettercap/bettercap/net"
"github.com/evilsocket/bettercap/packets" "github.com/bettercap/bettercap/packets"
"github.com/evilsocket/bettercap/session" "github.com/bettercap/bettercap/session"
"github.com/malfunkt/iprange" "github.com/malfunkt/iprange"
"net" "net"
"time" "time"

View file

@ -10,8 +10,8 @@ import (
"github.com/elazarl/goproxy" "github.com/elazarl/goproxy"
"github.com/elazarl/goproxy/ext/html" "github.com/elazarl/goproxy/ext/html"
"github.com/evilsocket/bettercap/firewall" "github.com/bettercap/bettercap/firewall"
"github.com/evilsocket/bettercap/session" "github.com/bettercap/bettercap/session"
) )
var log = logging.MustGetLogger("mitm") var log = logging.MustGetLogger("mitm")
@ -116,7 +116,7 @@ func NewHttpProxy(s *session.Session) *HttpProxy {
req.URL.Scheme = "http" req.URL.Scheme = "http"
req.URL.Host = req.Host req.URL.Host = req.Host
// TODO: p.pre_filter.Process // TODO: p.pre_filter.Process?
p.proxy.ServeHTTP(w, req) p.proxy.ServeHTTP(w, req)
} else { } else {

View file

@ -2,8 +2,8 @@ package session_modules
import ( import (
"fmt" "fmt"
// "github.com/evilsocket/bettercap/packets" // "github.com/bettercap/bettercap/packets"
"github.com/evilsocket/bettercap/session" "github.com/bettercap/bettercap/session"
"github.com/malfunkt/iprange" "github.com/malfunkt/iprange"
"net" "net"
"time" "time"

View file

@ -2,8 +2,8 @@ package session_modules
import ( import (
"fmt" "fmt"
"github.com/evilsocket/bettercap/net" "github.com/bettercap/bettercap/net"
"github.com/evilsocket/bettercap/session" "github.com/bettercap/bettercap/session"
"time" "time"
) )

View file

@ -2,8 +2,8 @@ package session_modules
import ( import (
"fmt" "fmt"
"github.com/evilsocket/bettercap/core" "github.com/bettercap/bettercap/core"
"github.com/evilsocket/bettercap/session" "github.com/bettercap/bettercap/session"
"github.com/google/gopacket" "github.com/google/gopacket"
"github.com/google/gopacket/layers" "github.com/google/gopacket/layers"
"github.com/google/gopacket/pcap" "github.com/google/gopacket/pcap"

View file

@ -15,10 +15,10 @@ import (
"github.com/chzyer/readline" "github.com/chzyer/readline"
"github.com/op/go-logging" "github.com/op/go-logging"
"github.com/evilsocket/bettercap/core" "github.com/bettercap/bettercap/core"
"github.com/evilsocket/bettercap/firewall" "github.com/bettercap/bettercap/firewall"
"github.com/evilsocket/bettercap/net" "github.com/bettercap/bettercap/net"
"github.com/evilsocket/bettercap/packets" "github.com/bettercap/bettercap/packets"
) )
type Session struct { type Session struct {

View file

@ -7,8 +7,8 @@ import (
"github.com/op/go-logging" "github.com/op/go-logging"
"github.com/evilsocket/bettercap/core" "github.com/bettercap/bettercap/core"
"github.com/evilsocket/bettercap/net" "github.com/bettercap/bettercap/net"
) )
var log = logging.MustGetLogger("mitm") var log = logging.MustGetLogger("mitm")