mandiant / flare-vm

A collection of software installations scripts for Windows systems that allows you to easily setup and maintain a reverse engineering environment on a VM.
Apache License 2.0
6.15k stars 885 forks source link

[installer] Fix bug with Desktop\config.xml #553

Closed Ana06 closed 7 months ago

Ana06 commented 7 months ago

If you create a custom config file in the Desktop with the name config.xml and execute the installer script, the Get-ConfigFile function (introduced in https://github.com/mandiant/flare-vm/pull/531) fails trying to copy the file to itself. Move the file instead of copying it to avoid the duplication and that it fails.

Closes https://github.com/mandiant/flare-vm/issues/537