Skip to content

Commit

Permalink
运行时隐藏console
Browse files Browse the repository at this point in the history
  • Loading branch information
smallzhong committed Aug 18, 2020
1 parent 48326e0 commit d28f9c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ XP系统 + VC6

- [ ] 在加壳的时候通过加密算法(如异或)给源程序加密
- [ ]`VirtualAllocEx` 分配空间失败时判断是否有重定位表并重新申请空间
- [x] 隐藏console,在打开加壳后的程序时不会弹出黑框框

## 鸣谢

Expand Down
2 changes: 1 addition & 1 deletion 壳本体/head.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <windows.h>

#include <iostream>

#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )
using namespace std;
//#pragma warning(disable : 4996)
//#pragma warning(disable : 6031) // 忽略警告"返回值被忽略: “getchar”"
Expand Down

0 comments on commit d28f9c4

Please sign in to comment.