INotGreen / XiebroC2

渗透测试C2、支持Lua插件扩展、域前置/CDN上线、自定义profile、前置sRDI、文件管理、进程管理、内存加载、截图、反向代理、分组管理
https://github.com/INotGreen/XiebroC2/wiki
1.03k stars 157 forks source link

Issue with TemServer on Windows 11 #35

Open matmad opened 1 month ago

matmad commented 1 month ago

Hi When I start Teamserver I get the error: Error in ProfileJsonRead: The given key was not present in the dictionary.

Here is my profile.json file: { "TeamServerIP": "127.0.0.1", "TeamServerPort": "8880", "Password": "123456", "StagerPort": "4050", "Telegram_Token": "", "Telegram_chat_ID": "", "Fork": true, "Route": "www", "Process64": "C:\windows\system32\notepad.exe", "Process86": "C:\Windows\SysWOW64\notepad.exe", "WebServers": [], "listeners": [], "rdiShellcode32": "", "rdiShellcode64":"" }

Please advise, thank you in advance!

matmad commented 1 month ago

Ok, I fixed it by running TeamServer as Administrator. Unfortunately now when I try to log in I just get the message from screenshot and then nothing happens.

image

INotGreen commented 1 month ago

You need to enter the AES Key when logging in. This can be found in Profile.json. The default is: QWERt_CSDMAHUATW

INotGreen commented 1 month ago

you also need to change the Teamserver IP which is very important

matmad commented 1 month ago

Hello again and thank you very much for quick answer. I was trying to find a sample file of profile.json, but the only one I could find is this:

{ "TeamServerIP": "127.0.0.1", "TeamServerPort": "8880", "Password": "123456", "StagerPort": "4050", "Telegram_Token": "", "Telegram_chat_ID": "", "Fork": true, "Route": "www", "Process64": "C:\windows\system32\notepad.exe", "Process86": "C:\Windows\SysWOW64\notepad.exe", "WebServers": [], "listeners": [], "rdiShellcode32": "", "rdiShellcode64":"", }

Would you be able to post sample profile.json that works with the newest version of teamserver? Thank you in advance

INotGreen commented 1 month ago

Teamserver -g, build new profile.json Read: https://github.com/INotGreen/XiebroC2/wiki/%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B

matmad commented 1 month ago

Thank you very much for help!