Giter Site home page Giter Site logo

how to build it about ghostcp HOT 5 CLOSED

macronut avatar macronut commented on July 17, 2024
how to build it

from ghostcp.

Comments (5)

NatsumiXD avatar NatsumiXD commented on July 17, 2024

我使用 go build main.go编译成功
但是运行main.exe时报出以下错误

panic: Failed to load WinDivert.dll: The specified module could not be found.

goroutine 1 [running]:
syscall.(*LazyProc).mustFind(...)
        D:/Program Files/Go/src/syscall/dll_windows.go:293
syscall.(*LazyProc).Call(0xc00010d890, {0xc000010760, 0x4, 0x4})
        D:/Program Files/Go/src/syscall/dll_windows.go:309 +0x65
github.com/macronut/godivert.WinDivertOpen({0xc000010720?, 0x1e?}, 0x0, 0x1, 0x0)
        C:/Users/Natsumi/go/pkg/mod/github.com/macronut/[email protected]/windivert.go:95 +0xad
github.com/macronut/ghostcp/header.TCPDaemon({0x435112, 0x4}, 0x0)
        D:/Users/Natsumi/Documents/GitHub/GhostTCP-SUTO-CONF/bin/header/tcp.go:501 +0x30b
main.StartService()
        D:/Users/Natsumi/Documents/GitHub/GhostTCP-SUTO-CONF/bin/main.go:63 +0x35d
main.main()
        D:/Users/Natsumi/Documents/GitHub/GhostTCP-SUTO-CONF/bin/main.go:175 +0x554

如何才能正确编译它

from ghostcp.

 avatar commented on July 17, 2024

The log says WinDivert.dll is not found, you can download WinDivert.dll from here: https://github.com/basil00/Divert/releases/v1.4.3

from ghostcp.

NatsumiXD avatar NatsumiXD commented on July 17, 2024

The log says WinDivert.dll is not found, you can download WinDivert.dll from here: https://github.com/basil00/Divert/releases/v1.4.3

我解决了,另一个问题是,我应该如何才能编译 runas administrator 的EXE程序

from ghostcp.

yfdyh000 avatar yfdyh000 commented on July 17, 2024

The log says WinDivert.dll is not found, you can download WinDivert.dll from here: https://github.com/basil00/Divert/releases/v1.4.3

我解决了,另一个问题是,我应该如何才能编译 runas administrator 的EXE程序

go build
tcpioneer.syso与UAC相关

from ghostcp.

NatsumiXD avatar NatsumiXD commented on July 17, 2024

解决了

from ghostcp.

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.