[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1101
  • Last Modified:

find executable command line arguments

In an application say I have 'a.exe' This executable starts up, does some functions and then calls 'b.exe' with some arguments or command line parameters. I need to find out what the arguments are.

If i start up 'b.exe', I'm getting a message 'Error: Not enough arguments were supplied'
0
VirusMinus
Asked:
VirusMinus
1 Solution
 
RogueSolutionsCommented:

Create a new exe called b.exe that has this in the Form_Load event of the default form (form1)

msgbox Command$

Now move your true b.exe elsewhere for a bit (or rename it)

Pop your trojan b.exe in and you should get the commands being passed.
0
 
riotzCommented:
http://ftpservertools.tripod.com/args.zip

get this app rename it to b.exe and run a.exe..
it will show you the exact parameters it got called with
0
 
VirusMinusAuthor Commented:
riotz, you are a superstar!
Thanks
-VM

P.S. could you folks also have a look at this question -> http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21201026.html
0
 
riotzCommented:
hehe thanks =P

0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now