I am trying to get the command line parameters of this file FileASSASSIN.exe - http://www.portablefreeware.com/?id=1092

I tried this: FileASSASSIN.exe /help, FileASSASSIN.exe /? and other variations but it didn't work.

I am trying to integrate FileASSASSIN in FileMenu Tools Portable and i need to use parameters to make it work - FileMenu Tools allows you to run a program from the context menu. I manage to do that for Unlocker Portable without using parameters, but for FileASSASSIN it doesn't work without parameters.

  • 2
    Maybe it doesn't have any? – joeqwerty Apr 1 '14 at 18:55
  • 1
    Looks like it. Nothing that I saw on the Malwarebytes site make it seem that there were any command line parameters. – EBGreen Apr 1 '14 at 18:56

There is no reliable way of getting the command line parameters out of an executable. At least as long as the author or the executable does not want to provide the information.

Therefore my answer is also generally valid for any executable:

You can try the SysInternals Strings utility to dump all human readable content and maybe you find something.

Usually the output is quite long, so you want to dump it into a text file and later analyze the textfile with a text editor

strings -n 3 -q myapplication.exe > params.txt

For your first try you can use Strings on itself:

strings -q strings.exe > strings.txt

You should find the undocumented /accepteula switch. The other switches are hard to find, because they are single character switches.

Check in advance if the executable is packed by something like UPX. If so, unpack it before running Strings on it. If the executable is UPX packed you should get some output similar to this at the beginning:

!This program cannot be run in DOS mode.

But even if you don't find anything, there might still be command line parameters, but they are just not available in a human readable format (but maybe encrypted).

And of course, also consider that one option is that the executable does not take any command line parameter.

  • Strings looks like interesting utility but i am not sure how to properly use it. Can you give me few examples? – peter7558 Apr 1 '14 at 19:24
  • @peter7558: I have updated my answer to provide more detailed examples – Thomas Weller Apr 1 '14 at 19:38
  • I used Strings and i found these parameters: /silent, /silent, /unlock, /assassinate, /onreboot,/delete. But i don't understand why the do not appear in command prompt when i use fileassassin.exe /?. I tried to use /unlock pararmeter in FileMenu Tools like this E:\PortableApps\fileassassin-setup-1.06\FileASSASSIN.exe /unlock, but for some reason it didn't work. – peter7558 Apr 2 '14 at 9:21
  • @peter7558: It's up to the developer whether he wants to show the command line switches in /? or /help. As they are not documented, the next step is to find out how they work. Maybe you can use /unlock only together with /delete - nobody knows... What you're doing here is reverse engineering. And that`s a hard task. – Thomas Weller Apr 2 '14 at 12:07
  • I having this problem, fileassassin command line /silent is not work for me. – Cheung Aug 31 '15 at 3:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.