nettitude / PoshC2

A proxy aware C2 framework used to aid red teamers with post-exploitation and lateral movement.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]

captainkyd opened this issue · comments

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 :-/