vbscript - Windows Firewall to block Semalt, Fraud countries, spam, hacking and more -
i've found .vbs script protect server i'm not programmer. this script blocks fraud countries, anonymous proxy , semalt infected servers. our server intended european market. can tell me if script works correctly (by testing it) or advice can better , tell me how can check blocked connections? i've added source files .rar file. system windows 8.1 x64 wamp apache server. support...
> @echo off > cls > echo if using x32 system need x32 version, please download: http://www.maxmind.com/geoip-com-1.3.zip > echo , rename in script syswow64 system32 > echo. > echo first need add geoipcomex.dll windows register > echo more documentation please read: http://www.maxmind.com/geoip_mscom_64bit.pdf > echo copy geoipcomex.dll %systemroot%\syswow64\ directory > pause > %systemroot%\syswow64\regsvr32 /s /c "c:\windows\syswow64\geoipcomex.dll" > echo geoipcomex.dll added windows register > pause > cls > echo create directory c:\wamp\geoip > echo copy *.dat files from: http://dev.maxmind.com/geoip/legacy/geolite/#downloads > echo , ftp://ftp.mrunix.net/pub/webalizer/geodb/ directory c:\wamp\geoip > echo. > pause > cls > echo have downloaded *.dat files dir c:\wamp\geoip > echo geodb.dat > echo geoip.dat > echo geoip.inc > echo geoipasnum.dat > echo geoipasnumv6.dat > echo geoipcity.inc > echo geoipv6.dat > echo geolitecity.dat > echo geolitecityv6.dat > pause > cls > echo because win7 , win8 has problem execute .vbs files have rename script.exe files > echo rename cscript.exe csadmin.exe > rename "%systemroot%\syswow64\cscript.exe" "%systemroot%\syswow64\csadmin.exe" > echo rename wscript.exe wsadmin.exe > rename "%systemroot%\syswow64\wscript.exe" "%systemroot%\syswow64\wsadmin.exe" > echo windows explorer give files %systemroot%\syswow64\wscript.exe , %systemroot%\syswow64\wsadmin.exe > "admin rights" > pause > cls > echo execute .vbs script %systemroot%\syswow64\csadmin.exe geoip_block_countries1.vbs > %systemroot%\syswow64\csadmin.exe //nologo //b c:\wamp\vbs_firewall\geoip_block_countries1.vbs > pause > cls > echo please in log see countries blocked. > echo add %systemroot%\syswow64\csadmin.exe //nologo //b c:\wamp\vbs_firewall\geoip_block_countries1.vbs taskmanager when startup > echo or start test_geoip_vbs2.cmd manuel after startup > echo reboot pc/server > pause
Comments
Post a Comment