Giter Site home page Giter Site logo

Comments (3)

xiam avatar xiam commented on June 20, 2024

Looks like your go version does not have the tls.ClientHelloInfo type, it should compile fine with go1.4. Hyperfox requires some C code (for SQLite) so you'll also need the gcc and the build-essentials packages.

from hyperfox.

dkarter avatar dkarter commented on June 20, 2024

OS X: I had the exact same issue when running go 1.3.3. I've upgraded my go version to

$ go version
go version go1.4 darwin/amd64

I am now getting the following error:

$ go get github.com/xiam/hyperfox
# github.com/xiam/hyperfox/proxy
Dropbox/Developer/gocode/src/github.com/xiam/hyperfox/proxy/main.go:34: import /Users/dkarter/Dropbox/Developer/gocode/pkg/darwin_amd64/github.com/xiam/hyperfox/util/otf.a: object is [darwin amd64 go1.3.3 X:precisestack] expected [darwin amd64 go1.4 X:precisestack]

I am using Homebrew to manage/install go versions. It looks like it's somehow using another an older version of Go for Hyperfox. Any ideas on how to fix this?

from hyperfox.

xiam avatar xiam commented on June 20, 2024

Confirmed, I was not aware that tls.ClientHelloInfo was introduced in go1.4.

Compilation on recent OSX is a bit complicated but not impossible.

To spare you the building effort I've uploaded Hyperfox for OSX x64 in binary format and also a arpspoof binary I built myself, since it's very difficult to install dsniff with macports or brew due to a series of bugs.

Instructions for building from source on a mac will be posted soon (I just need some time to clean my notes).

Also, instructions for running Hyperfox on a Mac were just published.

@dkarter To fix your problem delete the /Users/dkarter/Dropbox/Developer/gocode/pkg/darwin_amd64/github.com/xiam/hyperfox/util/otf.a file and try again (seems like it was compiled against a previous Go version).

from hyperfox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.