пятница, 24 августа 2012 г.
понедельник, 20 августа 2012 г.
среда, 8 августа 2012 г.
простенький скрипт для компиляции wxwidgets под все конфигурации
call "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
set WXWIN="c:\Work\Develop\libs\wxWidgets\wxMSW-2.8.12"
cd %WXWIN%\build\msw
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1 MONOLITHIC=1
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=1
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1 MONOLITHIC=0
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=0
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=1
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=1
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=0
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=0
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=1 MONOLITHIC=1
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=1 MONOLITHIC=1
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=1 MONOLITHIC=0
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=1 MONOLITHIC=0
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 MONOLITHIC=1
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=1
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 MONOLITHIC=0
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=0
set WXWIN="c:\Work\Develop\libs\wxWidgets\wxWidgets-2.9.4"
cd %WXWIN%\build\msw
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1 MONOLITHIC=1
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=1
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1 MONOLITHIC=0
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=0
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=1
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=1
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=0
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=0
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=1 MONOLITHIC=1
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=1 MONOLITHIC=1
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=1 MONOLITHIC=0
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=1 MONOLITHIC=0
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 MONOLITHIC=1
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=1
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 MONOLITHIC=0
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=0
rem -----------------------------------------------
call "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat"
set WXWIN="c:\Work\Develop\libs\wxWidgets\wxWidgets-2.9.4"
cd %WXWIN%\build\msw
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=1 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=1 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=1 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=1 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=0 TARGET_CPU=AMD64
set WXWIN="c:\Work\Develop\libs\wxWidgets\wxWidgets-2.9.4"
cd %WXWIN%\build\msw
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=0 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=1 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=1 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=1 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=1 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=1 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=debug UNICODE=0 SHARED=0 MONOLITHIC=0 TARGET_CPU=AMD64
nmake -f makefile.vc BUILD=release UNICODE=0 SHARED=0 MONOLITHIC=0 TARGET_CPU=AMD64
суббота, 4 августа 2012 г.
Установка Rootkit Hunter на CentOS
Качаем тут http://sourceforge.net/projects/rkhunter/files/rkhunter/1.4.0/
распаковываем tar -zxvf rkhunter-1.4.0.tar.gz
топаем сюда cd ./rkhunter-1.4.0
распаковываем tar -zxvf rkhunter-1.4.0.tar.gz
топаем сюда cd ./rkhunter-1.4.0
ставим ./installer.sh --layout default --install
запускаем /usr/local/bin/rkhunter --update /usr/local/bin/rkhunter --propupdсоздаем ежедневное задание в кроне/etc/cron.daily/rkhunter.sh#!/bin/sh ( /usr/local/bin/rkhunter --versioncheck /usr/local/bin/rkhunter --update /usr/local/bin/rkhunter --cronjob --report-warnings-only ) | /bin/mail -s 'rkhunter Daily Run' a@a.aне забываем про права chmod 700 /etc/cron.daily/rkhunter.sh
Подписаться на:
Сообщения (Atom)