This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Bind Shell

Stupid Simple Bind Shell

    Purpose

    Bind to a port and serve a shell to clients

    Configuration

    None.

    Additional Information

    Current port is 4444. No auth :(.

    Roadmap

    • Add configure option for bind port
    • Add configure option for allowed CIDRs
    • Add configuration option for some for of authentication

    Testing

    Debug mode

    go build -ldflags="-X main.listener=:8080 -X main.logLevel=DEBUG -X main.allowedCIDR=127.0.0.1/32" bind-shell.go