winsiderss / systeminformer

A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware. Brought to you by Winsider Seminars & Solutions, Inc. @ http://www.windows-internals.com
https://systeminformer.sourceforge.io
MIT License
10.89k stars 1.39k forks source link

Single warning before library injection #1632

Open rxznve opened 1 year ago

rxznve commented 1 year ago

Description of the feature, modification, idea or suggestion

Single warning before library injection

Hi @dmex!

Please, make the System Informer only show the injection warning once. To next time when you click the Load button in the menu, the library selection dialog immediately opens. It is very tiring to press the Load button first in the menu and then in the confirmation every time.

https://i.imgur.com/wcoSHOU.png

Thank you very much for your work, you are a wonderful person!

Proposed implementation details (optional)

Pseudo-code

static bool IsWarningSkipped = false;

// In function code
if(!IsWarningSkipped)
{
    MessageBoxW(...)
    IsWarningSkipped = true;
}

RunSelectDialog();

I'm sorry if someone has already reported this..

rxznve commented 1 year ago

In general, it would be cool not to immediately open the file selection dialog, but to make a separate form with settings (as when choosing "Run as" in menu) where you select the path to the library and some injection settings. And there is already a choice of ManualMap injection or default, erasing PE headers and other interesting things.. I understand that I'm asking too much, but it would be very cool! Unfortunately, the most popular injector on Github (Xenos) refuses to work correctly for me. And I think a lot of people have this problem. In this way, you would make life much easier for people who download other, potentially malicious, non-open source injectors.