mirror of
https://github.com/maride/pancap.git
synced 2024-11-24 01:34:26 +00:00
Move from git.darknebu.la to github.com
This commit is contained in:
parent
800b4805f8
commit
2f44d92262
@ -12,7 +12,7 @@ If you get access to a [PCAP](https://en.wikipedia.org/wiki/Pcap) file, for exam
|
|||||||
|
|
||||||
Simply run
|
Simply run
|
||||||
|
|
||||||
`go get git.darknebu.la/maride/pancap`
|
`go get github.com/maride/pancap`
|
||||||
|
|
||||||
This will also build `pancap` and place it into your `GOBIN` directory - means you can directly execute it!
|
This will also build `pancap` and place it into your `GOBIN` directory - means you can directly execute it!
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@ package analyze
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/output"
|
"github.com/maride/pancap/output"
|
||||||
"git.darknebu.la/maride/pancap/protocol"
|
"github.com/maride/pancap/protocol"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module git.darknebu.la/maride/pancap
|
module github.com/maride/pancap
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
|
6
main.go
6
main.go
@ -3,8 +3,8 @@ package main
|
|||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/analyze"
|
"github.com/maride/pancap/analyze"
|
||||||
"git.darknebu.la/maride/pancap/output"
|
"github.com/maride/pancap/output"
|
||||||
"log"
|
"log"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"time"
|
"time"
|
||||||
@ -53,7 +53,7 @@ func printMOTD() {
|
|||||||
"PanCAP: Analyzer for pancake files",
|
"PanCAP: Analyzer for pancake files",
|
||||||
"You want some syrup with these packets?",
|
"You want some syrup with these packets?",
|
||||||
"Check out CONTRIBUTORS.md!",
|
"Check out CONTRIBUTORS.md!",
|
||||||
"Push your commits to git.darknebu.la/maride/pancap",
|
"Push your commits to github.com/maride/pancap",
|
||||||
"Don't let the white noise traffic confuse you.",
|
"Don't let the white noise traffic confuse you.",
|
||||||
"Grab a Club Mate if you don't have one yet.",
|
"Grab a Club Mate if you don't have one yet.",
|
||||||
"In Soviet Russia, traffic analyzes you.",
|
"In Soviet Russia, traffic analyzes you.",
|
||||||
|
@ -2,7 +2,7 @@ package output
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/common"
|
"github.com/maride/pancap/common"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
@ -2,8 +2,8 @@ package arp
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/common"
|
"github.com/maride/pancap/common"
|
||||||
"git.darknebu.la/maride/pancap/output"
|
"github.com/maride/pancap/output"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
"log"
|
"log"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dhcpv4
|
package dhcpv4
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.darknebu.la/maride/pancap/output"
|
"github.com/maride/pancap/output"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@ package dhcpv4
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/common"
|
"github.com/maride/pancap/common"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@ package dhcpv4
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/common"
|
"github.com/maride/pancap/common"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ package dhcpv4
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/common"
|
"github.com/maride/pancap/common"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@ package dns
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/common"
|
"github.com/maride/pancap/common"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
"golang.org/x/net/publicsuffix"
|
"golang.org/x/net/publicsuffix"
|
||||||
"log"
|
"log"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package dns
|
package dns
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.darknebu.la/maride/pancap/output"
|
"github.com/maride/pancap/output"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
)
|
)
|
||||||
|
@ -2,7 +2,7 @@ package dns
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/common"
|
"github.com/maride/pancap/common"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
"golang.org/x/net/publicsuffix"
|
"golang.org/x/net/publicsuffix"
|
||||||
"log"
|
"log"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package http
|
package http
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.darknebu.la/maride/pancap/common"
|
"github.com/maride/pancap/common"
|
||||||
"git.darknebu.la/maride/pancap/output"
|
"github.com/maride/pancap/output"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
"github.com/google/gopacket/tcpassembly"
|
"github.com/google/gopacket/tcpassembly"
|
||||||
|
@ -3,7 +3,7 @@ package http
|
|||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.darknebu.la/maride/pancap/output"
|
"github.com/maride/pancap/output"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"github.com/google/gopacket/tcpassembly"
|
"github.com/google/gopacket/tcpassembly"
|
||||||
"github.com/google/gopacket/tcpassembly/tcpreader"
|
"github.com/google/gopacket/tcpassembly/tcpreader"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.darknebu.la/maride/pancap/protocol/arp"
|
"github.com/maride/pancap/protocol/arp"
|
||||||
"git.darknebu.la/maride/pancap/protocol/dhcpv4"
|
"github.com/maride/pancap/protocol/dhcpv4"
|
||||||
"git.darknebu.la/maride/pancap/protocol/dns"
|
"github.com/maride/pancap/protocol/dns"
|
||||||
"git.darknebu.la/maride/pancap/protocol/http"
|
"github.com/maride/pancap/protocol/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user