Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Finding unofficial command line switches

How can I go about finding out command line arguments for a given application? I know you can use /? and, if the app supports it, it'll display the switches, but is there a way to find 'unofficial' ones in a program?

like image 896
XSL Avatar asked Dec 05 '11 22:12

XSL


1 Answers

Obviously google is the easiest answer... barring that... I don't think there is any special alternative to /? that will give you additional options. You might try running "strings" against the executable in question. That may spit out some hidden options. "strings" comes with most(all?) unix distributions, for windows: http://technet.microsoft.com/en-us/sysinternals/bb897439

If your not familiar with strings... it just spits out every string it can find inside an executable... it's often useful for finding hidden things.

like image 157
Daniel Placek Avatar answered Sep 29 '22 06:09

Daniel Placek