mirror of
https://github.com/bettercap/bettercap
synced 2025-08-13 18:26:57 -07:00
Renamed evilsocket/bettercap to bettercap/bettercap
This commit is contained in:
parent
73b3c9e340
commit
69fa3127b6
14 changed files with 27 additions and 27 deletions
|
@ -6,7 +6,7 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/evilsocket/bettercap/core"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/op/go-logging"
|
||||
)
|
||||
|
||||
|
|
6
main.go
6
main.go
|
@ -5,9 +5,9 @@ import (
|
|||
|
||||
"github.com/op/go-logging"
|
||||
|
||||
"github.com/evilsocket/bettercap/core"
|
||||
"github.com/evilsocket/bettercap/session"
|
||||
"github.com/evilsocket/bettercap/session/modules"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
"github.com/bettercap/bettercap/session/modules"
|
||||
)
|
||||
|
||||
var sess *session.Session
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"github.com/op/go-logging"
|
||||
|
||||
"github.com/evilsocket/bettercap/core"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
)
|
||||
|
||||
type ArpTable map[string]string
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"fmt"
|
||||
"net"
|
||||
|
||||
"github.com/evilsocket/bettercap/core"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
)
|
||||
|
||||
type Endpoint struct {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"strconv"
|
||||
"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+(.+)$")
|
||||
|
|
|
@ -2,7 +2,7 @@ package session
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/evilsocket/bettercap/core"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"regexp"
|
||||
"strconv"
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@ package session
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/evilsocket/bettercap/core"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
|
|
@ -2,9 +2,9 @@ package session_modules
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
network "github.com/evilsocket/bettercap/net"
|
||||
"github.com/evilsocket/bettercap/packets"
|
||||
"github.com/evilsocket/bettercap/session"
|
||||
network "github.com/bettercap/bettercap/net"
|
||||
"github.com/bettercap/bettercap/packets"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
"github.com/malfunkt/iprange"
|
||||
"net"
|
||||
"time"
|
||||
|
|
|
@ -10,8 +10,8 @@ import (
|
|||
"github.com/elazarl/goproxy"
|
||||
"github.com/elazarl/goproxy/ext/html"
|
||||
|
||||
"github.com/evilsocket/bettercap/firewall"
|
||||
"github.com/evilsocket/bettercap/session"
|
||||
"github.com/bettercap/bettercap/firewall"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
)
|
||||
|
||||
var log = logging.MustGetLogger("mitm")
|
||||
|
@ -116,7 +116,7 @@ func NewHttpProxy(s *session.Session) *HttpProxy {
|
|||
req.URL.Scheme = "http"
|
||||
req.URL.Host = req.Host
|
||||
|
||||
// TODO: p.pre_filter.Process
|
||||
// TODO: p.pre_filter.Process?
|
||||
|
||||
p.proxy.ServeHTTP(w, req)
|
||||
} else {
|
||||
|
|
|
@ -2,8 +2,8 @@ package session_modules
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
// "github.com/evilsocket/bettercap/packets"
|
||||
"github.com/evilsocket/bettercap/session"
|
||||
// "github.com/bettercap/bettercap/packets"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
"github.com/malfunkt/iprange"
|
||||
"net"
|
||||
"time"
|
||||
|
|
|
@ -2,8 +2,8 @@ package session_modules
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/evilsocket/bettercap/net"
|
||||
"github.com/evilsocket/bettercap/session"
|
||||
"github.com/bettercap/bettercap/net"
|
||||
"github.com/bettercap/bettercap/session"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@ package session_modules
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/evilsocket/bettercap/core"
|
||||
"github.com/evilsocket/bettercap/session"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/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/evilsocket/bettercap/core"
|
||||
"github.com/evilsocket/bettercap/firewall"
|
||||
"github.com/evilsocket/bettercap/net"
|
||||
"github.com/evilsocket/bettercap/packets"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/firewall"
|
||||
"github.com/bettercap/bettercap/net"
|
||||
"github.com/bettercap/bettercap/packets"
|
||||
)
|
||||
|
||||
type Session struct {
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
|
||||
"github.com/op/go-logging"
|
||||
|
||||
"github.com/evilsocket/bettercap/core"
|
||||
"github.com/evilsocket/bettercap/net"
|
||||
"github.com/bettercap/bettercap/core"
|
||||
"github.com/bettercap/bettercap/net"
|
||||
)
|
||||
|
||||
var log = logging.MustGetLogger("mitm")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue