본문 바로가기

sangchul.kr

[보안] 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 -------------------------------------------------------------.. 더보기
CentOS 7에서 고정 IP 주소를 설정하는 방법(ifcfg-eth0 IP 고정 설정) CentOS 7에서 고정 IP 주소를 설정하는 방법(ifcfg-eth0 IP 고정 설정) 1. 네트워크 설정 파일 수정 고정 IP 주소를 설정하기 위해 /etc/sysconfig/network-scripts 디렉토리에 있는 네트워크 설정 파일을 편집합니다. 일반적으로 이 파일들의 이름은 ifcfg-인터페이스명 형식입니다. 예를 들어, 이더넷 인터페이스의 이름이 eth0인 경우, ifcfg-eth0 파일을 편집합니다. sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0 2. 네트워크 설정 파일 편집 편집기가 열리면 다음과 같이 설정을 변경합니다. BOOTPROTO=none # DHCP를 사용하지 않음 ONBOOT=yes # 부팅시 자동으로 인터페이스를 활성화 IPADD.. 더보기
[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 더블 클릭 더보기

반응형