Code Monkey home page Code Monkey logo

chashell's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chashell's Issues

Tunneling feature

Can this works for tunneling?

If no, will this be implemented and how is the data transfer performance?

Build Error

I think it is mainly a problem of my missing go knowledge, but im getting the following error for compiling on debian linux/amd64:

--> linux/amd64 error: exit status 1 Stderr: chashell.go:4:2: cannot find package "chashell/lib/transport" in any of: /usr/lib/go-1.11/src/chashell/lib/transport (from $GOROOT) /root/.go/src/chashell/lib/transport (from $GOPATH)
dep ensure ran successfully. What am i missing?

Undefined: protocol.Message_Infopacket

I've tried building on multiple machines. Can't because protocol.Message_Infopacket is undefined.


make build dep
dep ensure &&
go build -ldflags "-X main.targetDomain=c.xxxxxxxxxxxxxxxxxxx-X main.encryptionKey=xxxxxxxxxxxxxxxxxxx -s -w" -gcflags "all=-trimpath=OPATH" -tags release -o release/chashell ./cmd/shell &&
go build -ldflags "-X main.targetDomain=c.xxxxxxxxxxxxxxxxxxx-X main.encryptionKey=xxxxxxxxxxxxxxxxxxx -s -w" -gcflags "all=-trimpath=OPATH" -tags release -o release/chaserv ./cmd/server

chashell/lib/transport

../../../chashell/lib/transport/polling.go:80:12: undefined: protocol.Message_Infopacket
make: *** [Makefile:27: build] Error 2

Cannot build binaries on Ubuntu

Hi, i'm having multiple issues with installing dependencies and building binaries. Can you please troubleshoot me? Thanks.

image

Server SIGSEGV

I get the following when running the chashell_windows_386.exe or chashell_windows_amd64.exe client. If I run the linux or Mac OS clients, no server segmentation violation -- it all seems to work fine.

chashell >>> New session : 5ca22ca7f044be1438d8cc0a
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x46a0b6]

goroutine 42 [running]:
bytes.(*Buffer).Write(0x0, 0xc0000b0cc0, 0x24, 0x40, 0xb08b20, 0x0, 0x18)
/usr/local/opt/go/libexec/src/bytes/buffer.go:172 +0x26
main.parseQuery(0xc0000b59e0)
/Users/user/go/src/chashell/cmd/server/chaserv.go:149 +0xc6b
main.handleDNSRequest(0x862a40, 0xc0000bcd80, 0xc0000b5950)
/Users/user/go/src/chashell/cmd/server/chaserv.go:175 +0xac
chashell/vendor/github.com/miekg/dns.HandlerFunc.ServeDNS(0x7fc2a8, 0x862a40, 0xc0000bcd80, 0xc0000b5950)
/Users/user/go/src/chashell/vendor/github.com/miekg/dns/server.go:52 +0x44
chashell/vendor/github.com/miekg/dns.(*ServeMux).ServeDNS(0xc00000c2e0, 0x862a40, 0xc0000bcd80, 0xc0000b5950)
/Users/user/go/src/chashell/vendor/github.com/miekg/dns/serve_mux.go:128 +0x5d
chashell/vendor/github.com/miekg/dns.(*Server).serveDNS(0xc0000c2000, 0xc0000bcd80)
/Users/user/go/src/chashell/vendor/github.com/miekg/dns/server.go:687 +0x298
chashell/vendor/github.com/miekg/dns.(*Server).serve(0xc0000c2000, 0xc0000bcd80)
/Users/user/go/src/chashell/vendor/github.com/miekg/dns/server.go:572 +0x2bc
chashell/vendor/github.com/miekg/dns.(*Server).worker(0xc0000c2000, 0xc0000bc100)
/Users/user/go/src/chashell/vendor/github.com/miekg/dns/server.go:269 +0x1bf
created by chashell/vendor/github.com/miekg/dns.(*Server).spawnWorker
/Users/user/go/src/chashell/vendor/github.com/miekg/dns/server.go:284 +0x83

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.