WangYihang / Platypus

:hammer: A modern multiple reverse shell sessions manager written in go
http://platypus-reverse-shell.vercel.app
GNU Lesser General Public License v3.0
1.52k stars 226 forks source link

Cant open restful server page #173

Closed adabugra closed 1 year ago

adabugra commented 1 year ago

Description


Describe your problem here
Cant open restful server page
#### Reproduce
./platypus_linux_amd64 with default config

#### Expected behavior
Enter the restfuul server page
#### Current behavior
ERR_CONNECTION_REFUSED on browser port 7331
#### Screenshots/Terminal log
![image](https://user-images.githubusercontent.com/57899270/213920518-56777823-b335-413e-8425-bde4134a12b6.png)

#### Environments
 - OS: Ubuntu 20.04
 - Version: 1.5.0
WangYihang commented 1 year ago

Could you please post your config.yml file?

adabugra commented 1 year ago

Could you please post your config.yml file?

config-v1.5.0.txt

WangYihang commented 1 year ago
restful:
  # Because RESTful DO NOT support any authentication mechanism,
  # DO NOT expose the restful server into any external network.
  host: "127.0.0.1"
  port: 7331
  # `enable: true` means starting RESTful Server when Platypus starts.
  enable: true

By default, RESTful API will listen on 127.0.0.1, cause currently Platypus (<= v1.5.1) does not provide authentication abilities.

In the next release, Platypus will be able to deploy on a public server.

WangYihang commented 1 year ago

Did you mean anti-virus?

Platypus is just a reverse shell manager (just like NetCat, aka nc) not meant to be a virus. Please DO NOT use it for illeagal reason.