Exploitation Tools

ParamKit – A Small Library Helping To Parse Commandline Parameters

ParamKit - A Small Library Helping To Parse Commandline Parameters

 

A small library helping to parse commandline parameters (for Windows).

Objectives

  • “like Python’s argparse but for C/C++”
  • compact and minimalistic
  • easy to use
  • extendable

Demo
Print help for each parameter:

Easily store values of popular types, and verify if all required parameters are filled:

Verify if no invalid parameter was passed:

See the demo code


About the author

Mazen

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: