nettitude / PoshC2

A proxy aware C2 framework used to aid red teamers with post-exploitation and lateral movement.
BSD 3-Clause "New" or "Revised" License
1.81k stars 326 forks source link

remove sudo from scripts #238

Closed slackr closed 2 years ago

slackr commented 3 years ago

We shouldn't need sudo in the scripts, users can elevate the posh-* scripts as needed.

this breaks poshc2 in environments where sudo is not installed or needed.

I've had success with PoshC2 running in lowpriv with chmod/chown-ing its directories and setcap for <1024 port listens.

also added cython to deps since pandas fails to install without it on debian container images

benpturner commented 2 years ago

Thanks for the PR but we have decided not to implement this.