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.78k stars 323 forks source link

[BUG] #285

Open captainkyd opened 1 year ago

captainkyd commented 1 year ago

Description

Traceback (most recent call last): File "/mnt/h/hax/new2checkout/PoshC2/start.py", line 8, in run() File "/mnt/h/hax/new2checkout/PoshC2/poshc2/init.py", line 17, in run server.start() File "/mnt/h/hax/new2checkout/PoshC2/poshc2/server/init.py", line 11, in start main(args) File "/mnt/h/hax/new2checkout/PoshC2/poshc2/server/C2Server.py", line 466, in main httpd = ThreadedHTTPServer((BindIP, BindPort), MyHandler) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/socketserver.py", line 456, in init self.server_bind() File "/usr/lib/python3.11/http/server.py", line 136, in server_bind socketserver.TCPServer.server_bind(self) File "/usr/lib/python3.11/socketserver.py", line 472, in server_bind self.socket.bind(self.server_address) TypeError: 'str' object cannot be interpreted as an integer

I simply ran posh-server after editing the install.sh to actually work and this is the error message I get. Not sure how to fix this issue though :-/