Questions tagged [winexe]

winexe remotely executes commands on WindowsNT/2000/XP/2003 systems from GNU/Linux.

winexe remotely executes commands on WindowsNT/2000/XP/2003 systems from GNU/Linux.

46 questions
0
votes
1 answer

Why WinExe doesnt works when windows starts before user login?

I'm running tools called winexe on linux to run service on windows from linux. Each time, my apache services is down, that tools will monitor and automatically restart it. It works fine every time, except when Windows just rebooted, winexe cannot…
Achank89
  • 1
  • 1
  • 5
0
votes
1 answer

Remotely Changing permissions of file pushed to W7 machine using smbclient

I have a file that I want to transfer to a remote machine that is running W7 32 bit I have a script that enables me to push the file to the machine from a linux management server, using a combination of: 1) smbclient to mount the Admin share on the…
user1447903
  • 303
  • 2
  • 7
  • 14
0
votes
1 answer

Bypass the use of Domain in WinEXE

is there a way to bypass the use of domain in the winexe command?: winexe -U domain/username%password //hostname "cmd.exe" I have two PCs. one is running on windows and the other in linux. These two machines does not have a domain server. Just a…
Joey
  • 391
  • 3
  • 9
  • 28
0
votes
4 answers

shellcode is truncated by \x20

Why is my shellcode is truncated after \x20 opcode, when it is copied by string to stack on a second vulnerable program? --cmd.exe-- char shell[]= "\xc7\x44\x24\x0c\x65\x78\x65\x20" ← only this line is put in stack, though hv a enough space…
user296173
0
votes
1 answer

subprocess.popen(replacing a parameter from a list and place it on a command)

It's my first week with python, so i would like to apologize in advance if my question sounds stupid. Basically I wrote this code: __author__ = 'houssam' import subprocess from subprocess import Popen, PIPE check = subprocess.Popen(["winexe",…
0
votes
1 answer

PHP + winexe -> loads forever

I'm trying to list running services on a windows server via php. Therefore I'm using shell_exec with winexe. My script: $cmd = "winexe --interactive=0 --user='***' --password='***' //192.168.***.** \"net start\""; $output = shell_exec($cmd); echo…
cr1zz
  • 577
  • 1
  • 5
  • 16
0
votes
0 answers

error while compiling MFC Application with winemaker

I have a solution and 3 VC++ project (1 shared project) DLL library project + common dll project [DLL +DLL] MFC Application project + common dll project [EXE + DLL] Both projects runs on windows platform(ported from VS6 to VS2010). It is using…
Mandar
  • 1,006
  • 11
  • 28
0
votes
0 answers

Wine + Itunes Compatibility (Arch Linux)

I have WINE installed and configured correctly (I believe). When I download "iTunes64Setup.exe", I am greeted with: "This iTunes installer is intended for 32-bit versions of Windows. Please download and install the 64-bit iTunes installer…
Goodies
  • 4,439
  • 3
  • 31
  • 57
0
votes
1 answer

failure to map drive on remote machine through winexe

I'm trying to map a network share on a remote windows xp machine using winexe program from ubuntu and the command fails with the errors as below . Command: ./bin/winexe -U Domain1/Administrator%paswrd123 //192.168.4.38 'cmd /c net use Q:…
Santhosh Pai
  • 2,535
  • 8
  • 28
  • 49
0
votes
1 answer

Java execute a application in specific session

I am invoking a application on windows xp, 7 machines from remote linux using winexe. But I am not able to execute the application in foreground it executes in background. I tried psexec but no success. Can someone help me?
Suresh Balaji
  • 109
  • 2
  • 12
0
votes
2 answers

handling space in winexe reg query command

On Linux, with winexe i need to get the value of a registry key. The path to the reg key contains spaces. I use this command : /usr/bin/winexe -U domain/user%"password" //host 'REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft…
gbxxx
  • 11
  • 5
0
votes
1 answer

Calling Makefile of winexe from Makefile of Rsync

I want to merge two different source code and make single executable for that. I have sourcecode1 as RSYNC and sourcecode2 as WINEXE. I want to integrate WINEXE code into RSYNC. For that purpose I place WINEXE code in RSYNC code. I have called…
ajay_t
  • 2,347
  • 7
  • 37
  • 62
0
votes
1 answer

Using -mno-cygwin option inside GCC 4.6

I am working on winexe project currently. winexe compiles windows C code on linux using -mno-cygwin as CFLAGS . following is Makefile under directory winexesvc :- CFLAGS=-mno-cygwin -Os LDFLAGS=-mno-cygwin -s -Os CC_WIN32 := $(shell bash -c…
Akshay Patil
  • 954
  • 1
  • 12
  • 28
0
votes
1 answer

A solution is needed to run a multiple selenium test on remote sever

For the structure, there would be three kinds of terminal. 1. Client: Client has the Firefox running on it. It will open the webpage from Web Server and trigger the test by clicking on the link on the page. Web Server: Web Server runs PhP and…
Charlie Zeng
  • 131
  • 1
  • 3
  • 17
0
votes
1 answer

Change size of files on Windows machine from remote Linux machine

I need to change somehow size of files (increase or decrease) on Windows machine using bash scripts. (Content of files doesnt matter) But i have to run this scripts from remote linux machine. I've selected truncate command for size changing, this is…
Bohdan Sukhov
  • 212
  • 2
  • 5