>> Edit article
이름
제목
패스워드
<pre> nmap으로 임의의 원격호스트를 스캔하면 [root@nmap root]# nmap -O 143.230.157.10 Starting nmap V. 2.54BETA29 ( www.insecure.org/nmap/ ) Interesting ports on (143.230.157.10): (The 1541 ports scanned but not shown below are in state: closed) Port State Service ... 79/tcp open finger 80/tcp open http 110/tcp open pop-3 113/tcp open auth 3306/tcp open mysql Remote operating system guess: FreeBSD 2.2.1 - 4.1 Uptime 0.060 days (since Sun Jan 13 00:51:41 2002) TCP Sequence Prediction: Class=random positive increments Difficulty=3450 (Formidable) IPID Sequence Generation: Incremental Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds [root@nmap root]# 위와 같이,, nmap이 OS정보를 Linux에서 FreeBSD로 출력함(fingerprinting) #실지 143.230.157.10은 리눅스임 설정 예제는 아래에,, ############################################################################################################# #!/bin/sh /sbin/insmod ipt_PERS /usr/local/sbin/iptables -t mangle -A PREROUTING -s ! 143.230.157.10 -d 143.230.157.10 -j PERS --tweak dst --local --conf /x/os/freebsd.conf /usr/local/sbin/iptables -t mangle -A OUTPUT -s 143.230.157.10 -d ! 143.230.157.10 -j PERS --tweak src --local --conf /x/os/freebsd.conf ############################################################################################################## 필요한 준비물 linux-2.4.17.tar.bz2 (커널소스) iptables-1.2.4.tar.bz2 (넷필터링을 위해) <a href="http://freshmeat.net/redir/ippersonality/4508/url_tgz/ippersonality-20010724-2.4.7.tar.gz">ippersonality.tar.gz</a> (OS변조에 큰 기여를 하는 소스) ippersionality소스를 다운받아 압축을 해제후 소스트리로 들어가서 README와 INSTALL파일을 보고 작업하면 됨.. 커널패치후 컴파일만 잘하면 나머지는 쉽게 풀립니다.. CONFIG_IP_NF_PERS=m <--이 옵션이 핵심입니다.. 전 이것때문에 컴파일을 3번이나 했습니다.. 테스트는 nmap으로 하면 되구여,, 전 지금 nmap테스트를 성공후 http://www.netcraft.com/whats 에서의 결과만을 기다리고 있습니다.. 실험정신이 강하신 분들은 함 시도해보세염,, ㅡㅡ^ 프로젝트 홈페이지 http://ippersonality.sourceforge.net </pre>
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved