winexe

winexe用于在Linux机器上远程执行WindowsNT/2000/XP/2003命令
sudo aptitude install build-essential autoconf checkinstall \
python python-all python-dev python-all-dev python-setuptools libdcerpc-dev

1. 获得ip
>>winexe -U test%test //192.168.1.27 "ipconfig"
2. 获得shell
>>winexe -U unknown //192.168.1.32 "cmd.exe"

NT_STATUS_LOGON_FAILURE:该错误表示口令有误。或是user只属于samba/系统用户之一。

你可能感兴趣的:(wine)