haccer/subjack

error during installation

Closed this issue · 1 comments

C:\file>go build subjack.go

.\subjack.go:208:14: undefined: syscall.Rlimit
.\subjack.go:209:10: undefined: syscall.Getrlimit
.\subjack.go:209:28: undefined: syscall.RLIMIT_NOFILE
.\subjack.go:216:9: undefined: syscall.Setrlimit
.\subjack.go:216:27: undefined: syscall.RLIMIT_NOFILE
.\subjack.go:220:9: undefined: syscall.Getrlimit
.\subjack.go:220:27: undefined: syscall.RLIMIT_NOFILE
.\test.go:5:6: main redeclared in this block
previous declaration at .\subjack.go:226:6

Fixed in latest commit.

Before subjack was *nix only because there was a function raising the ulimit. I removed that function and figured out a proper work around. It should compile on Windows just fine now.