-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OnPacket conflict between gopacket.example.go and tls.downgrade.go #2
Comments
In which directory did you place and build the tls.downgrade.go file? |
Go plugins for the packet.proxy module should be built in the |
Also, if I didn't misunderstand, I have to pull the source code with: |
I did both sample steps I found on this: I downloaded the source code and its dependencies, just like the steps "Compiling from sources" Because I got problems with downloading the dependencies, I have done the steps "Linux deploy method" Soon as I tried to compile bettercap, I got the error message. I mixed up the steps, I know. How can I undo this? |
The plugins are in the To install a packet.proxy plugin, you have to build it yourself inside bettercap's source directory at Follow the build instructions from the documentation and you will find a new |
You still had the |
Should I delete the gopacket.example.go? |
|
I can't find the bettercap folder. locate bettercap |
It's in your Can you please give us the output of |
root@lenovo: |
Your go path is in your home folder, so you can find bettercap's source folder at |
I've installed successfully, thanks a lot. I've found the tls.downgrade.so, which I had compiled and I found bettercap folder in the github.com folder. I ran make build and make install in the folder and bettercap is installed. output of which bettercap is now: |
Hey all,
so I did build two paket.proxy-plugins you had provided, which are gopacket.example.go and tls.downgrade.go.
tls.downgrade.go is fixed by @buffermet . Thanks, boss!
gopacket.example.go and tls.downgrad.go were built successfully.
But as I tried to build bettercap with this:
make build
I got these:
go build -o bettercap .
./tls.downgrade.go:74:6: OnPacket redeclared in this block
previous declaration at ./gopacket.example.go:11:41
make: *** [Makefile:10: build] Error 2
What did I do wrong?
Environment:
OS version and architecture you are using: Kali GNU/Linux Rolling 2019.4
Go version if building from sources: go version go1.13.4 linux/amd64
The text was updated successfully, but these errors were encountered: