본문 바로가기

변상철

[보안] rootkit hunter (rkhunter) 설치 1. Rootkit 설치 옵션 설정 Rootkit Hunter installer 1.2.13 Usage: ./installer.sh Ordered valid parameters: --help (-h) : Show this help. --examples : Show layout examples. --layout : Choose installation template. The templates are: - default: (FHS compliant; the default) - /usr - /usr/local - oldschool: old version file locations - custom: supply your own installation directory - RPM: for building RPM'.. 더보기
[crontab] 시간 동기화 [crontab] 시간 동기화 [root@scbyun slave]# crontab -e 설정 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null [root@scbyun slave]# crontab -l 확인 00 03,15 * * * /usr/bin/rdate -s time.bora.net && clock -w &> /dev/null 더보기
[리눅스] rsync 설치 [rsync Server 설치] [root@sangchul src]# wget http://rsync.samba.org/ftp/rsync/rsync-3.0.7.tar.gz [root@sangchul src]# tar xvfz rsync-3.0.7.tar.gz [root@sangchul rsync-3.0.7]# ./configure [root@sangchul rsync-3.0.7]# make [root@sangchul rsync-3.0.7]# make install [root@sangchul rsync-3.0.7]# vi /etc/xinetd.d/rsync # default: off # description: The rsync server is a good addition to an ftp server, .. 더보기
[WEB 보안] John the ripper 설치 (johnripper) John the ripper 설치 1. 내려받기 # wget http://www.openwall.com/john/g/john-1.7.6.tar.gz 2. 압축해제 # tar xvfz john-1.7.6.tar.gz 3. 설치하기 # cd john-* # cd src # make # make clean generic # cd ../run 4. 실제 파일 복사 ./unshadow /etc/passwd /etc/shadow > userlist.txt 5. 실행하기 ./john userlist.txt > john_ripper.log 6. john_ripper 스크립트 # vi john_ripper.sh -------------------------------------------------------------.. 더보기
[원도우] IP 변경 .bat 파일 | 아이피변경 실행 파일 수동IP 설정일 경우 메모장을 열어 아래 문구를 쓰신후 저장할때 확장자 *.bat 파일인 배치파일 형식으로 저장합니다. netsh -c int ip set address name="로컬 영역 연결" source=static addr=11.11.11.11 mask=255.255.255.0 gateway=11.11.11.1 gwmetric=0 name : 변경하고자하는 interface "로컬 영역 연결" - 내 내트워크환경->오른쪽 클릭->속성 에서 확인할 수 있습니다. addr : 변경하고자하는 IP주소 mask : 변경하고자하는 subnetmask gateway : 변경하고자하는 gateway ex)IP : 192.168.1.234 netmask : 255.255.255.0, gateway : 192... 더보기
[BIND] named.conf 옵션 named.conf의 options { }; 구문 -------------------------------------------------------------------------------- 네임 서버에 대한 전체적인 옵션 설정 부분임. options { allow-transfer { 127.0.0.1; 192.168.10.4; }; directory "/var/named"; } -------------------------------------------------------------------------------- options { [ version version_string; ] [ directory path_name; ] [ named-xfer path_name; ] [ dump-file .. 더보기
[mysql] 원격서버(clinet)에 설치되어 있는 MySQL Server로 접속하기 원격서버(clinet)에 설치되어 있는 MySQL Server로 접속하기 [Client 192.168.0.100] [root@kingdom bin]# ./mysql -u scbyun -p first -h 192.168.0.50 -P 3306 Enter password: ERROR 1130 (HY000): Host '192.168.0.100' is not allowed to connect to this MySQL server [root@kingdom bin]# [MySQL Server 192.168.0.50] - 특정 IP(192.168.0.100)만 OPEN mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON first.* TO 'scbyun'@1.. 더보기
[원도우] PuTTY Host 백업 PuTTY Host 백업 1. cmd -> regedit 2. HKEY_CURRENT_USER\Software\SimonTatham\PuTTY 백업 3. putty_host.reg 더블 클릭 더보기