大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
View Full Version : [all variants] psexec for Linux
This is identical to the psexec version by sysinternals.
http://eol.ovh.org/winexe/
http://eol.ovh.org/winexe/winexe-source-071026.tar.bz2
uncompress, then
./autogen.sh
./configure
make proto bin/winexe
Then for example, I have a VM with the netbios name vm-xptesting:
./winexe -U “admin” //vm-xptesting ‘cmd.exe’
Password for [WORKGROUP\admin]:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\WINDOWS\system32>
Lastly do not forget to turn off simple file sharing on your windows machines.
I had to run:
sudo apt-get install autoconf
sudo apt-get install automake
to get your code to go.
I also had to use “-U “domain\user” to get it to run under my account.
AND It works! Thanks!
C:\WINDOWS\system32>defrag c:
defrag c:
Windows Disk Defragmenter
Copyright (c) 2001 Microsoft Corp. and Executive Software International, Inc.
Analysis Report
71.22 GB Total, 57.98 GB (81%) Free, 7% Fragmented (14% file fragmentation)
sudo apt-get install build-essential automake autoconf
sudo apt-get install auto-apt checkinstall
cd /usr/src
wget http://eol.ovh.org/winexe/winexe-source-071026.tar.bz2
tar xvjf winexe-source-071026.tar.bz2
cd winexe-source-071026
sh autogen.sh
auto-apt run ./configure
make proto bin/winexe
sudo checkinstall -D cp bin/winexe /usr/local/sbin/.
sudo apt-get install wmi-client
Then you have winexe and wmic (wmi query utility) installed and ready to use.
sudo apt-get install wmi-client
Then you have winexe and wmic (wmi query utility) installed and ready to use.
Has anyone tried this across the internet? Ive been able to get it to work internally on the lan, but i have servers around the internet i need to administer as well and would love to be able to use this in my backup scripts. any ideas on how to use it? Does it use a special port or something?
cant get it to run,
apt-get install wmi-client gives
Couldn’t find package wmi-client
and if i try
sh autogen.sh
i get
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: ‘/usr/bin/autom4te’ failed with exit status: 1
In addition, the build scripts in winexe 0.90 don’t work with autoconf >2.60
However, Zenoss is maintaining a copy of winexe that has been updated to work with new versions of autoconf.
So, the following worked for me on karmic:
sudo apt-get install build-essential autoconf checkinstall
cd /usr/src
svn co http://dev.zenoss.org/svn/trunk/wmi/Samba/source
mv source winexe-source-2010.04.09
cd winexe-source-2010.04.09
./autogen.sh
./configure
make proto bin/winexe
sudo checkinstall -D cp bin/winexe /usr/local/bin/.
The manual method one post before yours worked for me. @10.04
Thank you very much!
A.
https://launchpad.net/~richi-paraeasy/+archive/ppa/+packages
https://launchpad.net/~jdthood/+archive/winexe/+packages
Let me know if it works as I’m only getting errors from the Win7_64 box.
Rgds
Richard
https://launchpad.net/~richi-paraeasy/+archive/ppa/+packages
contains a package identified as version “1.0.3a”. However, the latest release of winexe has version number “1.00”. The package in the above archive contains a winexe binary that identifies itself as version “0.80”.
Winexe 1.00 is built by the openSUSE build service:
https://build.opensuse.org/package/show?package=winexe&project=home%3Aahajda%3Awinexe
Before I discovered this I made winexe 1.00 available in my own PPA:
https://launchpad.net/~jdthood/+archive/winexe/+packages
—
Thomas Hood
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/157647.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...