chvancooten / NimPlant

A light-weight first-stage C2 implant written in Nim.
MIT License
779 stars 109 forks source link

Nimplant Over WAN #19

Closed m-abdollahi closed 1 year ago

m-abdollahi commented 1 year ago
This issue is not about OPSEC or bypassing defensive products

I hope ur doing well, just wanted to ask about the WAN option, Can I run it over WAN rather than the Local network? I changed the listeners IP address in the config.toml file to my public IP address, but when running server, i get the following log:

[19/05/2023 08:39:57] Existing server session found, restoring... [19/05/2023 08:39:57] Started management server on http://127.0.0.1:31337. [19/05/2023 08:39:57] Started NimPlant listener on MYPUBLICIP: MYPORT. CTRL-C to cancel waiting for NimPlants. [19/05/2023 08:39:57] ERROR: Error setting up the web server. Verify listener settings in 'config.toml'. Exception: [Errno 99] Cannot assign requested address: ('MYPUBLICIP', MYPORT)

thanks! :)

chvancooten commented 1 year ago

Hi, yes this is possible for sure, otherwise the tool wouldn't be of much use :) It looks like you misconfigured the config.toml file, it currently has the values MYPUBLICIP and MYPORT where these values should be your actual IP address and port. Please update your config.toml.

m-abdollahi commented 1 year ago

yup my bad just re read the docs ty :)