georgeneokq / artifact-exterminator

Simple, flexible command-line tool for conducting anti-forensics (for research purposes only)
0 stars 0 forks source link

Calls to wcstok modifies original string #36

Open georgeneokq opened 1 year ago

georgeneokq commented 1 year ago

Calls to wcstok to tokenize strings modify the command line arguments provided by the user. If those variables are reused, it could lead to unexpected behaviour. Code should be refactored to always copy to a separate buffer before tokenizing.