簡易病毒製作
首先你要完全符合以下兩個條件
* 有安裝Dev-C++ v4.9.9.2
* 有安裝小紅傘防毒軟體
新增一virus.cpp
#include <iostream>
using namespace std;
int main(int argc, char *argv[]){
cout << "123";
return 0;
}
使用Dev-C++編譯,然後你就製造出一個病毒了!
ps. 前面兩個條件一定要符合,要不然小紅傘不會誤判=︿=
聽說寫 blog 作文才會進步
首先你要完全符合以下兩個條件
#include <iostream>
using namespace std;
int main(int argc, char *argv[]){
cout << "123";
return 0;
}
剛剛在知識+看到這篇,覺得這位大大真是威猛
@echo off
set strFile=%*
set strFile=%strFile:"=%
if exist "%strFile%" goto setWindow
echo.請用拖曳的檔案到開啟,按任意鍵離開 & pause>nul
goto EOF
:setWindow
echo.檔案路徑: "%strFile%"
echo.
echo.設定執行後的視窗狀態
echo. 0. 隱藏視窗 (好像只有.bat檔會隱藏)
echo. 1. 標準視窗
echo. 3. 最大化
echo. 7. 最小化
set op=1 & set /p op="輸入(預設為1):"
:setScript
set sScriptFile="%TEMP%\CreateShortcut.vbs"
@echo Set objShell = CreateObject("Wscript.Shell")>%sScriptFile%
@echo strFile = "%strFile%">>%sScriptFile%
@echo Set objFSO = CreateObject("Scripting.FileSystemObject")>>%sScriptFile%
@echo Set objFile = objFSO.GetFile(strFile)>>%sScriptFile%
@echo strFolder = objFSO.GetParentFolderName(objFile)>>%sScriptFile%
@echo strPath = strFolder>>%sScriptFile%
@echo set oShellLink = objShell.CreateShortcut(strFile ^& ".lnk")>>%sScriptFile%
@echo oShellLink.TargetPath = strFile>>%sScriptFile%
@echo oShellLink.Windowstyle = %op% >>%sScriptFile%
@echo oShellLink.Hotkey = "">>%sScriptFile%
@echo oShellLink.IconLocation =strFile>>%sScriptFile%
@echo oShellLink.Description ="">>%sScriptFile%
@echo oShellLink.WorkingDirectory = strPath>>%sScriptFile%
@echo oShellLink.Save>>%sScriptFile%
cscript //nologo %sScriptFile%
del %sScriptFile% 2>nul
:end
echo.
echo.設定完成,按任意鍵離開 & pause>nul
Set objShell = CreateObject("Wscript.Shell")
strFile = "%strFile%"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile(strFile)
strFolder = objFSO.GetParentFolderName(objFile)
strPath = strFolder
set oShellLink = objShell.CreateShortcut(strFile & ".lnk")
oShellLink.TargetPath = strFile
oShellLink.Windowstyle = %op%
oShellLink.Hotkey = ""
oShellLink.IconLocation =strFile
oShellLink.Description =""
oShellLink.WorkingDirectory = strPath
oShellLink.Save
先講一下謂何要這麼做
免洗email - 用來註冊一些會寄廣告信的網站
從家裡實體IP連到學校或公司區網內的虛擬IP