Closed slavadba closed 3 years ago
Hi, I take your scripts as is - and get the folowing error:
root@kali:/home/kali/Desktop/BotServer# /usr/bin/python3 BotServer.py 0.0.0.0 8888 [+] Starting Botnet listener on tcp://0.0.0.0:8888
BotCmd> [*] Slave 192.168.1.103:1027 connected with Thread-ID: Thread-2
BotCmd> pwd [+] Sending Command: pwd to 1 bots BotCmd> 'utf-8' codec can't decode byte 0xfb in position 47: invalid start byte
BotCmd>
after that I little changed maldev.cpp - turn on debbuging and show console window, so output from client side:
C:\Users\maldev>maldev_v3.0.exe [+] Connected to client. waiting for incoming command... Command received: pwd Length of Command received: 4
Why I have error on Kali?
fixed with .decode('Windows-1251')
Hi, I take your scripts as is - and get the folowing error:
root@kali:/home/kali/Desktop/BotServer# /usr/bin/python3 BotServer.py 0.0.0.0 8888 [+] Starting Botnet listener on tcp://0.0.0.0:8888
BotCmd> [*] Slave 192.168.1.103:1027 connected with Thread-ID: Thread-2
BotCmd> pwd [+] Sending Command: pwd to 1 bots BotCmd> 'utf-8' codec can't decode byte 0xfb in position 47: invalid start byte
BotCmd>
after that I little changed maldev.cpp - turn on debbuging and show console window, so output from client side:
C:\Users\maldev>maldev_v3.0.exe [+] Connected to client. waiting for incoming command... Command received: pwd Length of Command received: 4
Why I have error on Kali?