Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look for configuration files in the binary location (vs the current directory) #180

Open
Ana06 opened this issue Apr 12, 2024 · 1 comment · May be fixed by #187
Open

Look for configuration files in the binary location (vs the current directory) #180

Ana06 opened this issue Apr 12, 2024 · 1 comment · May be fixed by #187

Comments

@Ana06
Copy link
Member

Ana06 commented Apr 12, 2024

The fakenet.exe binary looks for the config files/folders in the current directory (the location from which is executed). This breaks the executable if executed from a location that is not where the binary resides in memory:

C:\Users\flare\Desktop > C:\Tools\fakenet\fakenet3.2-alpha\fakenet.exe

  ______      _  ________ _   _ ______ _______     _   _  _____
 |  ____/\   | |/ /  ____| \ | |  ____|__   __|   | \ | |/ ____|
 | |__ /  \  | ' /| |__  |  \| | |__     | |______|  \| | |  __
 |  __/ /\ \ |  < |  __| | . ` |  __|    | |______| . ` | | |_ |
 | | / ____ \| . \| |____| |\  | |____   | |      | |\  | |__| |
 |_|/_/    \_\_|\_\______|_| \_|______|  |_|      |_| \_|\_____|

                        Version 3.2
  _____________________________________________________________
                   Developed by FLARE Team
    Copyright (C) 2016-2024 Mandiant, Inc. All rights reserved.
  _____________________________________________________________

04/12/24 02:26:37 PM [           FakeNet] Could not open configuration file C:\Users\flare\Desktop\configs\default.ini

Would it be possible to change it to look for the config files in the location of the binary? It would make it nicer for user to use fakenet and also simplify FLARE-VM installation code as this is not standard case and we can't use the helper functions we use to install most tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant