Skip to content

Commit

Permalink
Remove upx packer due to av issues
Browse files Browse the repository at this point in the history
  • Loading branch information
NHAS committed Apr 7, 2021
1 parent 675bfe4 commit d5ddcc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Makefile
Expand Up @@ -8,9 +8,6 @@ debug:
release:
mkdir -p bin
go build -ldflags="-s -w" -o bin ./...
upx ./bin/client
upx ./bin/server


run:
./bin/client $(ADDR)
Expand Down
4 changes: 2 additions & 2 deletions internal/client/channel_handlers.go
Expand Up @@ -67,14 +67,14 @@ func shellChannel(sshConn ssh.Conn, newChannel ssh.NewChannel) {
}

var ptyreq internal.PtyReq
PtyListner:
PtyListener:
for req := range requests {
switch req.Type {
case "pty-req":
ptyreq, _ = internal.ParsePtyReq(req.Payload)

req.Reply(true, nil)
break PtyListner
break PtyListener
}
}

Expand Down

0 comments on commit d5ddcc4

Please sign in to comment.