Skip to content

Commit 406105f

Browse files
committed
.
1 parent a5ae8ee commit 406105f

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

IFEO.cpp

+12-4
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,21 @@ void add(string str){
5252
system(comm2.c_str());
5353
};
5454
void end(bool flag){
55+
ofstream fout;
5556
if(flag){
56-
cout<<"\n\n\n所有操作已经完成!请手动删除掉当前目录下的“gmon.out”文件\n\n";
57+
cout<<"\n\n\n所有操作已经完成!\n\n";
5758
system("pause");
5859
}
5960
else{
60-
cout<<"\n\n\n操作失败,请手动删除掉当前目录下的“gmon.out”文件\n\n";
61+
cout<<"\n\n\n操作失败\n\n";
6162
system("pause");
62-
}
63-
system("del gmon.out /s /q");
63+
}
64+
fout.open("TEMP_RUN.bat");
65+
fout<<"timeout 3 & del gmon.out /q /s & del TEMP_RUN.bat & exit /q /s"<<endl;
66+
// fout<<"del TEMP_RUN.bat /q /s"<<endl;
67+
// fout<<"exit"<<endl;
68+
fout.close();
69+
70+
system("cmd /c start TEMP_RUN.bat");
71+
// system("del gmon.out /s /q");
6472
};

IFEO.exe

1.77 MB
Binary file not shown.

IFEO.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
360NewsPop.exe
2-
Setup360seNotify_60372.exe
1+
360NewsPop.exe

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# IFEO
22
Image File Execution Options (IFEO)--映像劫持
3+
<br>
4+
其中 timeout 命令仅支持win7及以上系统,win7以下的,请手动删除“gmon.out”、“TEMP_RUN.bat”

0 commit comments

Comments
 (0)