| |

VerySource

 Forgot password?
 Register
Search
View: 1734|Reply: 3

How to get the parameters of the process?

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2021-3-9 17:30:01
| Show all posts |Read mode
Is there any access to process parameters in the WINDOWS API function, that is to say, for example, I compiled an aaa.exe file, and only let it run aaa.exe -f under cmd to be able to stay in memory, I want to develop an enumeration process The tool can find out that the parameter used is -f. I wonder if there is such a function? It seems that neither enumerating process functions nor creating snapshots can
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2021-3-9 17:45:01
| Show all posts
Unless you have an agreed interface, there is no way to enumerate parameters and their functions.
Reply

Use magic Report

0

Threads

10

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2021-3-9 19:30:01
| Show all posts
GetCommandLine()
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2021-8-17 22:44:29
| Show all posts
Getcommandline ()
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list