Questions tagged [executable]

An executable is a file that can be run on a device / computer. Those tags [service], [services], [windows-service] or [daemon] can be related, depending on how the executable is run.

Filter by
Sorted by
Tagged with
2
votes
0answers
33 views

Facilitating arbitrary code execution on AWS Lambda

I am developing a SaaS where a user will be able to upload a custom JavaScript function that runs when an event happens. In order to preserve the integrity of the system, I am using AWS Lambda to run ...
0
votes
0answers
45 views

Change language properties 7z sfx self extracting .exe with 7zSFX Builder

I use the 7zSFX Builder program to build my executable .exe from a .7z and even though I always select English in the settings (and everything else), the properties of the executable show Russian. ...
0
votes
0answers
21 views

Block storing executable files for specific users in C:\

I ave to prevent executing executable files from the root directory of the C: drive in Windows 10 domain computer. Alos, I have to prevent storing/saving executable files in this directory for all ...
0
votes
3answers
127 views

Any ideas how could I've been ransomware hacked?

A couple of days ago our clients reported our Solarwinds website was down. So I connected to check through remote desktop and there it was, a fullscreen html-like interface where you could only use ...
0
votes
1answer
14 views

Add custom exe app to windows image

Is there possibility to add custom .exe application to Windows 10 image which will run in autostart when i install image on some computer? Either with DISM or ICD? //EDIT: App is without installer - ...
0
votes
0answers
28 views

SSH can not execute an .exe program with GUI on WMware Windows

I have system like this. I have host windows 10 and a VM windows 7. I have ssh server set up on the guest VM. I can connect via windows' openSSH client to the VM. I can execute commands like /DIR or ...
0
votes
1answer
407 views

Create Widows Service from batch or exe file

I need to distribute some app to all our stations without users having the ability to close the app. The app jumps on users' screen and notifies them to restart the computer, and I don't want users ...
1
vote
1answer
3k views

How to start binary file from Systemd service

So, I have start.sh file to start imagecache service. And I have executable binary file "imgproxy" and I need start it and pass to it two parameters like as text file. Body of start.sh file: export ...
1
vote
0answers
62 views

Running a command in Powershell and running the exe gives different results

This is really odd. I have a so called Perforce Helix server on my Windows 2016 server. Now on this server there is an exe called p4d now if i go to the Powershell and run p4d it runs the command ...
1
vote
1answer
38 views

Windows - Restrict ability to run application to one service account

I've been asked to write a script that enters information from one application into another - and I've done it using a combination of Python, Selenium and Firefox (it's a temporary measure before a ...
1
vote
1answer
1k views

Windows: create a service for running a executable jar with out any external libraries

I have spring boot executable jar file which can run into any command prompt by calling java -jar filename.jar. I want to create a service with out downloading any external libraries for the above ...
1
vote
1answer
689 views

How to safely allow IIS to execute an exe with potential vulnerabilities?

We have an IIS application that needs to execute an exe with potentially malicious input. Multiple applications run in this app pool and I would like to limit our risk as much as possible. The ...
0
votes
2answers
1k views

p4: No such file or directory - when in reality it exists

I have installed p4 command line client on the server, and something strange is happening. It exists, has executable rights, but I cannot execute it because I received an error message that it does ...
4
votes
2answers
36k views

Rename files to add date modified to filename with Windows CMD or simple .TXT

I am attempting to rename a large batch of files to incorporate the dates in the "Date Modified" column from File Explorer into each filename in YYYYMMDD format. I was able to generate a ...
10
votes
1answer
33k views

How can I get information about a binary file that won't execute?

When I run one of my user's applications named "myfile". $ ./myfile I receive the following output bash: ./myfile: cannot execute binary file My user expects the binary file to run. I assume ...
4
votes
3answers
4k views

Where can I see what calls of EXE-programs have been made (including the arguments)?

Is there any log-file within Windows where all EXE-calls are tracked or is it possible to enable such a log? Would this contain the arguments / parameters of these calls? Thanks
1
vote
1answer
99 views

Unison on bootup

I have unison running thru a config file by default. In here it applies the wait=watch function so it syncs automatically. But I wanted to run unison on boot, but I haven't been able to do this. There ...
0
votes
1answer
2k views

How to get from executable to Windows Service Name (WIndows 7)

I am aware that under windows 7 the command-line commands... tasklist gets me processes (including services) currently running by it's executable name net start shows me all the display names of ...
1
vote
2answers
15k views

Group Policy is blocking exe files

I teach programming in Visual Studio. We want to run it on a terminal server. The problem is that whenever we compile our programs, the Windows refuses to start the created exe file. (I didn't even ...
-6
votes
1answer
175 views

Block EXE in a machine [closed]

How can i block all executables in a machine unless i verify it. I have multiple clients and i want to do it as programatically (I am using Visual-Studio-2010). It can be done through registry using ...
3
votes
1answer
214 views

Run program on “Reconnect Session”

I just implemented BackInfo on our servers, deployed via GPO. Everything is working as intended while users and administrators log on and off. Problems arise when a user disconnects and reconnects an ...
2
votes
2answers
1k views

Disable Execution of all files under directory OS X

Is it possible in OS X (Assume 10.7+) to disable execution of any file (even files in subdirectories) of a specified folder? I don't mean with chmod, but with some kind of security framework. Ideally ...
0
votes
1answer
84 views

How to write a script to install multiple things by just executing it

I have a server (centOS) on which I would like to install the staple development tools. Java, Tomcat, and MySql. What is a good way to write a script that can be ran on newly spawned server so that ...
0
votes
1answer
473 views

Automatically prepend executable Perl scripts using .htaccess (like php_value auto_prepend_file)?

I have previously built sites using PHP, where I automatically included header and footer html using the following lines in .htaccess on an Apache host: php_value auto_prepend_file "/var/www/html/...
0
votes
3answers
4k views

EXE files being deleted

I have a couple of Windows boxes (Windows XP and Windows Server 2008) where a few EXE files (unwise.exe - from Wise installation system - among others) simply disappear from time to time. I ...
2
votes
1answer
97 views

Distributing a custom command line tool to enterprise servers

I've been tasked with building a command line tool that we will be providing to our enterprise customers so that they can use the API to upload data to our platform. The API works with standard cURL ...
2
votes
1answer
437 views

Windows Server Task Scheduler: Running scheduled executable fail-safe?

I have an executable which I've scheduled to run once in every five minutes (using Window's built-in Task Scheduler). It's crucial that this executable is run because it updates few time critical ...
2
votes
1answer
1k views

How to allow a git hook to run an executable with sudo by modifying /etc/sudoers

I'm using a git post-update hook to run a command via sudo, and I get the error: sudo: sorry, you must have a tty to run sudo. I believe I need to modify /etc/sudoers but I don't know how to do this. ...
1
vote
1answer
104 views

Difference between bin files that are executed via ./binfile and “regular” bins?

I built a C program using make on Ubuntu. The resulting bin file is executeable via ./binfilename but not by just executing it in the directory it was build. How can i "convert" it to a bin file that ...
0
votes
2answers
280 views

ENOEXEC on CIFS in SUSE

I am trying to execute a program on a CIFS mounted partition in SUSE 11.1. Whenever I try executing it, I get a "could not execute binary file" error. Using strace, I was able to determine that the ...
0
votes
1answer
521 views

Can php5-fpm be configured for separate php executables?

Can php5-fpm be configured to use php executables? I want to compile php separately for some websites on the same server where as some of them use the same executable. Can php5-fpm be configured that ...
1
vote
1answer
110 views

Executing a script with ./script.sh fails while “sh script.sh” works

I'm very befuddled by this error and don't even know what to google for: Failure - Executing a script with: ./test.sh bash: ./test.sh: "Permission denied" Works - while these apporeaches work: ...
4
votes
2answers
2k views

Samba/Cifs: Transferring executable permission bits to linux client

I'm trying to get my linux smb/cifs client recognize the executable bits that are set on some files on a share on a linux smb server. Here is our setup: Linux server exporting some directories via ...
2
votes
2answers
717 views

Determing the Execution Environment of Apache

I am having this error: [Mon Dec 05 10:22:23 2011] [warn] mod_rewrite: Running external rewrite maps without defining a RewriteLock is DANGEROUS! [Mon Dec 05 10:22:23 2011] [error] (13)Permission ...
15
votes
3answers
12k views

Why does Windows command prompt stalls until a key is pressed when executing long batch files or programs

I've just had two occurrences of windows 7 stalling an execution until I hit enter on the command prompt/powershell. Afterward execution seems to continue as expected. First was an batch file of copy ...
2
votes
1answer
47 views

Strange behavior with execution permission

For exercise - I removed execute permission for others from /bin/pwd: $ chmod o-x /bin/pwd $ ls -l /bin/pwd -rwxr--r-- 1 root root 26568 Apr 28 2010 /bin/pwd and as logged as matt I cannot execute ...
1
vote
3answers
408 views

How do I tell whether an executable has run or not?

I have an executable I am calling from a third party program. I am calling it using an administrator account with "run as a service" privileges, and the third party program logs report that the ...
3
votes
3answers
303 views

Weird executable behaviour

I have a server machine with ubuntu 9.10. I am trying to put in place an executable, which turns out to be the latest flashplayer (debugger version). Somehow the file appears as present and ...
1
vote
1answer
251 views

Monitor Windows executable while it is loading

Is there Windows software that will allow you to see what an executable is doing while it is loading up? For example, monitor if the executable is modifying the registry, updating the file system, etc....
54
votes
7answers
348k views

How do you wait for an exe to complete in batch file?

I'm trying to create a script to execute an exe on shutdown in order to install sp1. my script goes something like (not actual bat script). If installed GOTO END Install.exe END: My problem is ...
1
vote
1answer
4k views

Is it possible to restrict executing an .exe on a network drive with Windows 7?

Can Windows 7 be configured in a way to prevent a user to execute an .exe that is on a network drive, and if so, how could that be done?
0
votes
1answer
103 views

CGI file executes only on local machine, not online

I've got a CGI script written in python (starts with #!/usr/bin/env python) that executes fine on the server. I type in /home/company/server/root/adam/code.cgi and it outputs the right output. I go to ...
0
votes
2answers
612 views

Windows Installer cannot execute EXE install files

When I run the msiexec.exe with an msi file, it runs perfectly. The problem is that many install files are not msi's but exe's. My question is: How can I run an exe file with the msiexec.exe command? ...
0
votes
1answer
965 views

Policy exception for Windows User Account Controls and Update.exe

So... Apparently Windows has a list of filenames that require extra rights to run, included in this list is Update.exe, which happens to be the name of the file I'd like my clients to run without ...
0
votes
1answer
653 views

how to convert EXPECT file to executable file

I am trying to convert EXPECT script that is located in an ubuntu client to a .exe script so that I can execute the EXPECT file from web browser using javascript. Can anyone guide me on how to ...
1
vote
4answers
184 views

Do admins mind exes being copied/installed to the users Application Data folder?

This question is a follow up to Why do some admins dislike exes being executed from a server share? I have developed a utility which makes life much easier for Access developers. One option I will ...
0
votes
2answers
1k views

binary executable working in centos but not in ubuntu

I was trying to install weblogic 9 to test if an application is working correctly when migrated from a previous release. I downloaded the "Oracle WebLogic Server 9.2 MP3" and I was able to install it ...
0
votes
5answers
436 views

A file that exists doesn't exist. (Bash claims a file exists when it doesn't.)

root@omega-15:/var/unreal/src# find ./ircd ./ircd root@omega-15:/var/unreal/src# ./ircd bash: ./ircd: No such file or directory What the hell is this? Bash thinks that the file doesn't exist, when it ...
7
votes
5answers
422 views

Why do some admins dislike exes being executed from a server share?

I distribute a utility for developers which is designed to reside on a server share and is executed from the server on the local PC or Terminal Services/Citrix session. It does not require any admin ...
2
votes
2answers
4k views

p4 - I've got no such file or directory - when in reality it exists

I have installed p4 command line client on the server, and something strange happened. It exists, has executable rights, but I cannot execute it beacause I got message that it does not exists. I ...