GithubHelp home page GithubHelp logo

e2e_51pwn's Introduction

Build

brew install FiloSottile/musl-cross/musl-cross
szCurName=`go env GOHOSTOS`_`go env GOARCH`
go build -o $szCurName pkg/server/main.go
rm e2e_linux_amd64
# CGO_ENABLED=0 编译结果才能运行
env GOOS=linux GOARCH=amd64 CGO_ENABLED=0 CC=x86_64-linux-musl-gcc CXX=x86_64-linux-musl-g++ go build -o e2e_linux_amd64 -v pkg/server/main.go
docker run --rm -it -v $PWD:/app golang:latest /bin/bash -c "cd /app/; CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -ldflags \"-linkmode external -extldflags '-static' -s -w\" -o e2e_linux_amd64 pkg/server/main.go; exit"

export rip=e2e.51pwn.com
export rport=22

rcp e2e_linux_amd64 /root/e2e/
ssh -i ~/.ssh/id_rsa -C -p ${rport} root@${rip} 

server

non-BSD

sysctl -w net.core.rmem_max=2500000

BSD

sysctl -w kern.ipc.maxsockbuf=3014656

/etc/sysctl.conf

kern.ipc.maxsockbuf=3014656

e2e_51pwn's People

Contributors

hktalent avatar dependabot[bot] avatar

Stargazers

5l1v3r1 avatar

Watchers

 avatar  avatar

Forkers

5l1v3r1

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.