CentOS 6.4 버전에는 v4.4.7이 설치된다. syslog-ng v3.5 이상 버전을 설치하려니 gcc v4.5 이상을 필요로 한다. 여기서는 gcc v4.8.2 를 설치할 것이다. 이 기회에 gcc 버전을 올리는 방법을 찾고자 한다. 우선은 아래 사이트를 참고했다. https://github.com/jackywei/HOW-TO-BUILD-HHVM-WiKi/wiki/Build-&-Install-GCC4.6.3-in-CentOS-(5.2-&-6.3) gcc를 설치하기 위해서는 mpc가 필요하다. mpc 사이트를 보면 mpc를 설치하기 위해서 gmp와 mpfr이 필요하다고 되어 있다. mpfr은 설치시 gmp를 필요로 한다. 각각 소스 파일을 받아서 설치해보자. MPC : http://www.mult..
CentOS 6.4 버전이 나왔길 래 테스트 겸 APM을 설치해 보았다. CentOS는 다른 설정을 하지 않고 BasicServer Profile로 설치했다. 그래서인지 무지 고생... 설치 안된 패키지가 많았다. 개인적으로는 소스 설치를 선호하기에 나름 깔끔하기는 했다...^^;; 우선 gcc, gcc-c++을 설치한다. 이것두 소스 설치할려고 했지만 시간 관계로 패스~~~ [root@boanhack src]# yum install gcc gcc-c++ *zlib 설치 [root@boanhack src]# tar zxvf zlib-1.2.6.tar.gz [root@boanhack src]# cd zlib-1.2.6 [root@boanhack zlib-1.2.6]# rpm -e --nodeps zlib-..
참조 : http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssh.html Introduction to OpenSSH The OpenSSH package contains ssh clients and the sshd daemon. This is useful for encrypting authentication and subsequent traffic over a network. The ssh and scp commands are secure implementions of telnet and rcp respectively. This package is known to build and work properly using an LFS-7.4 platform..
참조 : http://www.linuxfromscratch.org/blfs/view/svn/postlfs/openssl.html Introduction to OpenSSL The OpenSSL package contains management tools and libraries relating to cryptography. These are useful for providing cryptography functions to other packages, such as OpenSSH, email applications and web browsers (for accessing HTTPS sites). This package is known to build and work properly using an LFS..
xz 은 손실 없이 압축할 수 있는 압축프로그램이다. 얼마 전부터 소스 파일을 다운 받게 되면 tar.gz, tar.bz2 보다 tar.xz 파일을 더 많이 보게 된다. http://tukaani.org/xz/format.html 위 사이트에서 받아서 설치할 수 있다. 사용법은 gzip 과 유사하다. # xz [압축할 파일] # xz -d [압축 해제할 파일] # xz --help Usage: xz [OPTION]... [FILE]... Compress or decompress FILEs in the .xz format. -z, --compress force compression -d, --decompress force decompression -t, --test test compressed file i..
# find / -perm +6000 파일의 SetUID 또는 SetGID가 설정된 파일을 찾는다. # find / -perm -6000 파일의 SetUID와 SetGID가 같이 설정된 파일을 찾는다. # find / -mtime -10 -print # find / -mtime -10 -exec ls -l {} \; 최근 10일 이내에 수정된 파일을 찾는다. -mtime : 파일의 내용이 수정된 시간 -ctime : 파일의 속성(퍼미션 등)이 수정된 시간 -atime : 파일를 최근에 접근(사용)한 시간 위 그림을 참고해서, # find / -mtime 10 10일 전에 수정된 파일을 찾는다. # find / -mtime -10 10일 이내에 수정한 파일을 찾는다. 즉, 수정한지 10일 안된 파일 # f..
출처 : http://www.askapache.com/htaccess/setenvif.html Unique mod_setenvif Variables ^ These can be used for attribute. Remote_Host the hostname (if available) of the client making the request - crawl-66-249-70-24.googlebot.com Remote_Addr IP address of the client making the request - 66.249.70.24 Server_Addr IP address of the server on which the request was received - 208.113.183.103 Request_Meth..
awstats는 perl로 작성된 CGI이다. 따라서 apache에서 perl을 실핼할 수 있어야 한다. 그런데 apache v2.4.x에서는 cgi-script로서 perl을 지원하지 못하는 것 같다. mod_perl 모듈을 추가해서 구성하려고해서 apache v2.4.x를 지원하는 mod_perl을 현재(2013.11.06)까지 나오지 않은 것 같다. 따라서 awstats를 사용하고자 한다면 apache v2.2.x 를 사용해야 한다. cronolog나 retatelogs를 통해서 apache 로그를 순환하더라도 awstats에서 httpd.conf 파일을 확인해서 해당 도메인별로 apache 로그를 찾아 통계를 생성한다. cronolog 는 이전에 작성한 내용을 참고한다. 우선 httpd.conf ..
httpd.conf를 확인해보자. .... # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combined..
- Total
- Today
- Yesterday
- filesystem check
- editcap
- oracle 11gr2
- dvwa_command
- bash modification
- docker_dvwa
- history timestamp
- MySQL csv
- webhack
- tcpdstat
- excel_aton
- ${1##*.}
- recovery file on linux
- 윈도우 패스워드 복구
- 리눅스 버전
- metasploitable3
- pcapng
- bash parameter
- megacli
- 도커
- mergecap
- NX ASLR
- cisco ssh
- docker
- ssl decrypt
- dvwa
- tshark
- text2pcap
- capinfos
- dvwa_bruteforce
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |