'Computer_language'에 해당되는 글 82건
- 2009.01.20 [Ubuntu] vncserver init.d script
- 2009.01.20 ubuntu에서 vnc 사용하기Network/Linux
- 2009.01.19 .bashrc for ns2 in ubuntu
- 2009.01.19 우분투 /etc/apt/ 업데이트 파일
- 2009.01.18 The Network Simulator ns-2: Debugging Tips
- 2009.01.16 우분투에서 사용하는 명령어
- 2009.01.16 Ubuntu 8.04 LTS sources.list
- 2009.01.12 USB 바이러스 완벽 퇴치법
- 2009.01.12 Psiphone : 바레인과 같은 국가의 인터넷 감시를 피하게 해주는 소프트웨어
- 2009.01.12 포렌식을 위한 파일 시그니쳐 모음
### BEGIN INIT INFO
# Provides: vncserver
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 1
# Short-Description: VNC Remote Desktop Server
### END INIT INFO
set -e
# /etc/init.d/vncserver: start and stop the VNC Remote Desktop Server daemon
. /lib/lsb/init-functions
export PATH="${PATH:+$PATH:}/usr/sbin:/sbin:/bin:/usr/bin"
case "$1" in
start)
log_daemon_msg "Starting VNC Remote Desktop server" "vncserver"
if start-stop-daemon --start --quiet --oknodo --chuid matthew --exec /usr/bin/vncserver -- -geometry 1280x1024 -basehttpport 5900; then
log_end_msg 0
else
log_end_msg 1
fi
;;
stop)
log_daemon_msg "Stopping VNC Remote Desktop server" "vncserver"
if start-stop-daemon --stop --quiet --oknodo --name Xtightvnc; then
log_end_msg 0
else
log_end_msg 1
fi
;;
restart|try-restart|reload|force-reload)
log_daemon_msg "Restarting VNC Remote Desktop server" "vncserver"
if start-stop-daemon --stop --quiet --oknodo --name Xtightvnc; then
log_end_msg 0
else
log_end_msg 1
fi
if start-stop-daemon --start --quiet --oknodo --chuid matthew --exec /usr/bin/vncserver -- -geometry 1280x1024 -basehttpport 5900; then
log_end_msg 0
else
log_end_msg 1
fi
;;
status)
PID="/home/matthew/.vnc/hingom:1.pid"
status_of_proc -p $PID /usr/bin/Xtightvnc vncserver || status=$?
exit $status
;;
*)
echo "Usage: /etc/init.d/vncserver {start|stop|reload|restart|force-reload|status}"
exit 1
;;
esac
exit 0
'Computer_language > Linux' 카테고리의 다른 글
10가지 리눅스 사용자에게 꼭 필요한 Cheat-Sheet (0) | 2009.02.04 |
---|---|
ubuntu에서 vnc 사용하기Network/Linux (0) | 2009.01.20 |
.bashrc for ns2 in ubuntu (0) | 2009.01.19 |
우분투 /etc/apt/ 업데이트 파일 (0) | 2009.01.19 |
우분투에서 사용하는 명령어 (0) | 2009.01.16 |
sudo su -
apt-get update
apt-get install x-window-system-core xserver-xorg gnome-desktop-environment gnome-app-install update-manager restricted-manager
apt-get install tightvncserver
▶ vnc 서버를 시작하기
vncserver
▶ 서버 중단하기
killall Xtightvnc
▶ ubuntu client로 부터 서버에 접속하기
클라이언트 ubuntu에서 Krdc 패키지를 설치하고, 실행한다.
Remote desktop이라고 보이는 부분에
서버의 아이피:1
이라고 치면 접속된다.
예를 들어 서버의 아이피가 192.168.0.1이라면
192.168.0.1:1
이라고 친다.
일단 서버가 뜨는 것을 볼 수 있다.
▶ 이제 썰렁한 터미널만 있는 화면보다는 제대로 된 gnome데스크탑을 띄워보자
vim ~/.vnc/xstartup 을 실행해서 vncserver가 실행될 때 실행될 프로그램들을 설정한다.
아래처럼 설정하면 된다.
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
x-window-manager &
gnome-session &
이제 서버를 멈추었다가 재시작한다.
killall Xtightvnc
vncserver
그리고 클라이언트에서 접속을 해보면, gnome데스트탑을 볼 수 있다.
'Computer_language > Linux' 카테고리의 다른 글
10가지 리눅스 사용자에게 꼭 필요한 Cheat-Sheet (0) | 2009.02.04 |
---|---|
[Ubuntu] vncserver init.d script (0) | 2009.01.20 |
.bashrc for ns2 in ubuntu (0) | 2009.01.19 |
우분투 /etc/apt/ 업데이트 파일 (0) | 2009.01.19 |
우분투에서 사용하는 명령어 (0) | 2009.01.16 |
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
////
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# ... and ignore same sucessive entries.
export HISTCONTROL=ignoreboth
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_colored_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
;;
*)
;;
esac
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
#if [ -f ~/.bash_aliases ]; then
# . ~/.bash_aliases
#fi
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
# LD_LIBRARY_PATH
OTCL_LIB=/home/bluebamus/ns/ns-allinone-2.33/otcl-1.13
NS2_LIB=/home/bluebamus/ns/ns-allinone-2.33/lib
# OTCL_LIB=/home/bluebamus/ns/ns/ns-allinone-2.33/otcl-1.13
# NS2_LIB=/home/bluebamus/ns/ns/ns-allinone-2.33/lib
X11_LIB=/usr/X11R6/bin
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/home/bluebamus/ns/ns-allinone-2.33/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# TCL_LIB=/home/bluebamus/ns/ns/ns-allinone-2.33/tcl8.4.18/library
# USR_LIB=/usr/lib
# export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/bluebamus/ns/ns-allinone-2.33/bin:/home/bluebamus/ns/ns-allinone-2.33/tcl8.4.18/unix:/home/bluebamus/ns/ns-allinone-2.33/tk8.4.18/unix
NS=/home/bluebamus/ns/ns-allinone-2.33/ns-2.33/
#NS=/home/bluebamus/ns/ns/ns-allinone-2.33/ns-2.33/
NAM=/home/bluebamus/ns/ns-allinone-2.33/nam-1.13/
#NAM=/home/bluebamus/ns/ns/ns-allinone-2.33/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM:$NSP
LD_LIBRARY_PATH=/home/bluebamus/ns/ns-allinone-2.33/otcl-1.13
TCL_LIBRARY=$NS_DIR/tcl8.4.18/library
PATH=$PATH:$NS_DIR/bin:$NS-DIR/ns-2.33/bin:$NS_DIR/ns-2.33:$NS_DIR/tcl8.4.18/unix:$NS_DIR/tk8.4.18/unix
#LD_LIBRARY_PATH=/home/bluebamus/ns/ns/ns-allinone-2.33/otcl-1.13
#TCL_LIBRARY=$NS_DIR/tcl8.4.18/library
#PATH=$PATH:$NS_DIR/bin:$NS-DIR/ns-2.33/bin:$NS_DIR/ns-2.33:$NS_DIR/tcl8.4.18/unix:$NS_DIR/tk8.4.18/unix
#g++
PATH=$PATH:/usr/include/c++/4.2.3:/usr/include/c++/4.2
'Computer_language > Linux' 카테고리의 다른 글
[Ubuntu] vncserver init.d script (0) | 2009.01.20 |
---|---|
ubuntu에서 vnc 사용하기Network/Linux (0) | 2009.01.20 |
우분투 /etc/apt/ 업데이트 파일 (0) | 2009.01.19 |
우분투에서 사용하는 명령어 (0) | 2009.01.16 |
Ubuntu 8.04 LTS sources.list (0) | 2009.01.16 |
# deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Alpha i386 (20080306.1)]/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://kr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://kr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ hardy-security universe
deb http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe #Added by software-properties
## Pidgin
# deb http://archive.haz3.com/ubuntu gutsy pidgin
deb http://archive.ubuntu.com/ubuntu/ hardy-backports restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports restricted main multiverse universe #Added by software-properties
# deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
# deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
'Computer_language > Linux' 카테고리의 다른 글
ubuntu에서 vnc 사용하기Network/Linux (0) | 2009.01.20 |
---|---|
.bashrc for ns2 in ubuntu (0) | 2009.01.19 |
우분투에서 사용하는 명령어 (0) | 2009.01.16 |
Ubuntu 8.04 LTS sources.list (0) | 2009.01.16 |
리눅스 커널 스터디 참고자료 (0) | 2009.01.12 |
Memory Leaks
- OTcl
OTcl, especially TclCL, provides a way to allocate new objects, however, it does not accordingly provide a garbage collection mechanism for these allocated objects. This can easily lead to unintentional memory leaks. Important: tools such as dmalloc and purify are unable to detect this kind of memory leaks. For example, consider this simple piece of OTcl script:
set ns [new Simulator] for {set i 0} {$i < 500} {incr i} { set a [new RandomVariable/Constant] }
One would expect that the memory usage should stay the same after the first RandomVariable is allocated. However, because OTcl does not have garbage collection, when the second RandomVariable is allocated, the previous one is not freed and hence results in memory leak. Unfortunately, there is no easy fix for this, because garbage collection of allocated objects is essentially incompatible with the spirit of Tcl. The only way to fix this now is to always explicitly free every allocated OTcl object in your script, in the same way that you take care of malloc-ed object in C/C++. - C/C++
Another source is memory leak is in C/C++. This is much easier to track given tools that are specifically designed for this task, e.g., dmalloc and purify. Ns has a special target
ns-pure
to build purified ns executable. First make sure that the macroPURIFY
in the ns Makefile contains the right-collector
for your linker (check purify man page if you don't know what this is). Then simply typemake ns-pure
. See here on how to use ns with libdmalloc.
Tcl-level Debugging
Ns supports Don Libs' Tcl debugger (see its Postscript documentation and source code). Install the program or leave the source code in a directory parallel to ns-2 and it will be built. Unlike expect, described in the tcl-debug documentation, we do not support the -D flag. To enter the debugger, add the lines "debug 1" to your script at the appropriate location.The command $ns gen-map lists all objects in a raw form.
This is useful to correlate the position and function of an object given its name. The name of the object is the OTcl handle, usually of the form ``_o###''. For TclObjects, this is also available in a C++ debugger such as gdb as this->name_.
C-Level Debugging
Any standard debugger should do the trick.The following macro for gdb makes it easier to see what happens in subroutines that take Tcl arguments (like TcpAgent::command()):
## for dumping Tcl-passed arguments define pargvc set $i=0 while $i < argc p argv[$i] set $i=$i+1 end end document pargvc Print out argc argv[i]'s common in Tcl code. (presumes that argc and argv are defined) end
Mixing Tcl and C debugging
(Always a fun concept, right?)
It is a painful reality that when looking at the Tcl code and debugging Tcl level stuff, one wants to get at the C-level classes, and vice versa. This is smallish hint on how one can make that task easier. If you are running ns through gdb, then- The following incantation (shown in bold below) gets you access to the Tcl debugger. Notes on how you can then use this debugger and what you can do with it are documented elsewhere.
(gdb) run Starting program: /nfs/prot/kannan/PhD/simulators/ns/ns-2/ns ... Breakpoint 1, AddressClassifier::AddressClassifier (this=0x12fbd8) at classifier-addr.cc:47 (gdb) p this->name_ $1 = 0x2711e8 "_o73" (gdb) call Tcl::instance().eval("debug 1") 15: lappend auto_path $dbg_library dbg15.3> w *0: application 15: lappend auto_path /usr/local/lib/dbg dbg15.4> Simulator info instances _o1 dbg15.5> _o1 now 0 dbg15.6> # and other fun stuff dbg15.7> _o73 info class Classifier/Addr dbg15.8> _o73 info vars slots_ shift_ off_ip_ offset_ off_flags_ mask_ off_cmn_ dbg15.9> c (gdb) w Ambiguous command "w": while, whatis, where, watch. (gdb) where #0 AddressClassifier::AddressClassifier (this=0x12fbd8) at classifier-addr.cc:47 #1 0x5c68 in AddressClassifierClass::create (this=0x10d6c8, argc=4, argv=0xefffcdc0) at classifier-addr.cc:63 ... (gdb)
- In a like manner, if you have started ns through gdb, then you can always get gdb's attention by sending an interrupt, usually ^C on berkeloidrones.
Memory Debugging
The first thing to do if you run out of memory is to make sure you can use all the memory on your system. Some systems by default limit the memory available for individual programs to something less than all available memory. To relax this, use the limit or ulimit command These are shell functions---see the manual page for your shell for details. Limit is for csh, ulimit is for sh/bash.
Simulations of large networks can consume a lot of memory. Ns-2.0b17 supports Gray Watson's dmalloc library (see its web documentation and source code). To add it, install it on your system or leave its source in a directory parallel to ns-2 and specify --with-dmalloc when configuring ns. Then build all components of ns for which you want memory information with debugging symbols (this should include at least ns-2, possibly tclcl and otcl, maybe also tcl).
To use dmalloc:
- define an alias (csh: alias dmalloc 'eval `\dmalloc -C \!*`', bash: function dmalloc { eval `command dmalloc -b $*` })
- Turn debugging on by typing dmalloc -l logfile low
- Run your program (which was configured and built with dmalloc as described above)
- Interpret logfile by running dmalloc_summarize ns <logfile (You need to download dmalloc_summarize separately.)
On some platforms you may need to link things statically to get dmalloc to work. On Solaris this is done with by linking with these options: "-Xlinker -B -Xlinker -static {libraries} -Xlinker -B -Xlinker -dynamic -ldl -lX11 -lXext". (You'll need to change Makefile. Thanks to Haobo Yu and Doug Smith for workign this out.)
We can interpret a sample summary produced from this process on ns-2/tcl/ex/newmcast/cmcast-100.tcl with an exit statement after the 200'th duplex-link-of-interefaces statement:
- Ns allocates ~6MB of memory.
- ~1MB is due to TclObject::bind
- ~900KB is StringCreate, all in 32-byte chunks
- ~700KB is NewVar, mostly in 24-byte chunks
Dmalloc_summarize must map function names to and from their addresses. It often can't resolve addresses for shared libraries, so if you see lots of memory allocated by things beginning with ``ra='', that's what it is. The best way to avoid this problem is to build ns statically (if not all, then as much as possible).
Dmalloc's memory allocation scheme is somewhat expensive, plus there's bookkeeping costs. Programs linked against dmalloc will consume more memory than against most standard mallocs.
Dmalloc can also diagnose other memory errors (duplicate frees, buffer overruns, etc.). See its documentation for details.
Memory Conservation Tips
Some tips to saving memory (some of these use examples from the cmcast-100.tcl script):(Also see page on large simulations for more related info.)
If you have many links or nodes:
- avoid trace-all
- $ns trace-all $f causes trace objects to be pushed on all links. If you only want to trace one link, there's no need for this overhead. Saving is about 14 KB/link.
- use arrays for sequences of variables
- Each variable, say n$i in set n$i [$ns node], has a certain overhead. If a sequence of nodes are created as an array, i.e. n($i), then only one variable is created, consuming much less memory. Saving is about 40+ Byte/variable.
- avoid unnecessary variables
- If an object will not be referred to later on, avoid naming the object. E.g. set cmcast(1) [new CtrMcast $ns $n(1) $ctrmcastcomp [list 1 1]] would be better if replaced by new CtrMcast $ns $n(1) $ctrmcastcomp [list 1 1]. Saving is about 80 Byte/variable.
- run on top of FreeBSD
- malloc() overhead on FreeBSD is less than on some other systems. We will eventually port that allocator to other platofrms.
- dynamic binding (NEW)
- Using bind() in C++ consumes memory for each object you create. This approach can be very expensive if you create many identical objects. Changing bind()'s to delay_bind() changes this memory requirement to per-class. See ~ns/object.cc for an example of how to do binding, either way.
KBytes | cmcast-50.tcl(217 Links) | cmcast-100.tcl(950 Links) |
---|---|---|
trace-all | 8,084 | 28,541 |
turn off trace-all | 5,095 | 15,465 |
use array | 5,091 | 15,459 |
remove unnecessay variables | 5,087 | 15,451 |
on SunOS | 5,105 | 15,484 |
'Computer_language > Debug' 카테고리의 다른 글
리버스 엔지니어링 (1) | 2009.02.03 |
---|---|
Debugging with DDD (1) | 2009.01.12 |
[ns] Helpful Info regarding GDB / DDD and NS2 (0) | 2009.01.12 |
gdb 사용법 (0) | 2009.01.12 |
[ns] re:how to debug TCL (0) | 2009.01.12 |
#apt-get remove foo foo 패키지 삭제
#apt-get remove --purge foo foo 패키지와 설정 파일들 전부 삭제
#apt-get update 패키지 db 업데이트
#apt-get -f install 의존성문제를 해결하기 위해서 패키지를 설치하고 삭제
#apt-get clean 로컬 저장소의 모든 .deb 패키지를 삭제
#apt-get upgrade 모든 패키지를 새버전으로 업그레이드
#apt-get dist-upgrade 패키지를 업그레이드함과 동시에 새 패키지에 의해서 야기되는 의존성 문제를 다룹니다
$apt-get source foo foo 패키지의 소스 파일을 다운로드합니다
#apt-get -t unstable foo 안정화되지 않은 패키지와 의존 패키지를 찾아서 설치
$apt-cache show foo foo 패키지에 관한 아주 자세한 설명
$apt-cache search foo 이름에 foo를 포함한 패키지 찾기
#aptitude install foo foo 패키지 설치
#aptitude remove foo foo 패키지 삭제
#aptitude remove --purge foo foo 패키지와 설정 파일 모두 삭제
$aptitude search foo 이름에 foo를 포함한 패키지 찾기
#aptitude update 패키지 db 업데이트
#aptitude upgrade 패키지를 새 버전으로 업그레이드
#aptitude safe-upgrade aptitude upgrade와 동일
#aptitude full-upgrade . 의존성을 고려해서 새버전으로 패키지를 업그레이드한다
#aptitude hold foo foo 패키지는 safe-upgrade 또는 full-upgrade할때 삭제되거나 업그레이드하지 않는다
#aptitude unhold foo 위에서 foo 패키지 홀드한거 해제
$aptitude show foo foo 패키지에 대한 긴 설명
#aptitude clean 패키지 cache 디렉토리의 전에 다운받은 모든 .deb파일을 삭제한다
#dpkg -i foo foo 패키지 설치
#dpkg -r foo foo 패키지 삭제
#dpkg --purge foo foo 패키지와 설정 파일 삭제
$dpkg -l *foo* foo란 패턴을 담고있는 패키지의 목록 출력
$dpkg -L foo foo 패키지에 관련된 파일 목록
#dpkg-reconfigure -plow foo 이미 설치된 foo 패키지를 재설정
$dpkg --search foo 설치된 패키지중 이름에 foo를 포함한 패키지의 목록
몇가지 더 추가하면
gksudo, gksu는 su, sudo의 그래픽 frontend입니다
df 현재 사용하고 있거나 사용 가능한 디스크 공간을 알려준다 보통 df -h 라는 옵션을 줘야 보기 편하다
chmod 파일 접근 권한 변경
예) chmod +x hello hello라는 파일을 실행 권한을 부여해준다
grep
$ grep -i apple fruitlist.txt
apple
fruitlist.txt 파일에 apple이라는 문자열이 있는 라인을 출력한다
ps 현재 실행중인 프로세스를 출력
kill -9 18298
프로세스 아이디가 18298인 프로세스를 강제 종료
ln
두 파일을 링크시킨다 -s는 심볼릭 링크 옵션
$ ln -s data.txt symlink.txt
cd를 iso 이미지 파일로 만들기
dd if=/dev/cdrom of=/tmp/data.iso
'Computer_language > Linux' 카테고리의 다른 글
.bashrc for ns2 in ubuntu (0) | 2009.01.19 |
---|---|
우분투 /etc/apt/ 업데이트 파일 (0) | 2009.01.19 |
Ubuntu 8.04 LTS sources.list (0) | 2009.01.16 |
리눅스 커널 스터디 참고자료 (0) | 2009.01.12 |
초보자를 위한 리눅스 커널의 메모리 관리 (0) | 2009.01.12 |
deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted #Added by software-properties
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy main multiverse universe #Added by software-properties
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates restricted main multiverse universe #Added by software-properties
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu/ hardy universe
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://kr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://kr.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ hardy-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu/ hardy-security universe
deb http://archive.ubuntu.com/ubuntu/ hardy-security multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe #Added by software-properties
## Pidgin
# deb http://archive.haz3.com/ubuntu gutsy pidgin
deb http://archive.ubuntu.com/ubuntu/ hardy-backports restricted main multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports restricted main multiverse universe #Added by software-properties
# deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
# deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main
'Computer_language > Linux' 카테고리의 다른 글
우분투 /etc/apt/ 업데이트 파일 (0) | 2009.01.19 |
---|---|
우분투에서 사용하는 명령어 (0) | 2009.01.16 |
리눅스 커널 스터디 참고자료 (0) | 2009.01.12 |
초보자를 위한 리눅스 커널의 메모리 관리 (0) | 2009.01.12 |
GNU Make: 재컴파일을 지휘하는 프로그램(A Program for Directing Recompilation) (0) | 2009.01.12 |
1. 준비
- USB 드라이버를 꼽으세요.
- 자동실행이 나오면 취소를 누르세요.
- 이 작업 도중엔 절대로 C: 건 D:건 들어가시면 안됩니다.
- 필요 프로그램
: V3 NEO 최신버젼 : www.ahnlab.com
: ad-aware 최신버젼 : 알아서 받아주세요... 죄송. (ad-aware 한글패치 다운로드 )
: trojankiller : 파일 첨부 해놓았습니다.
팝업 윈도우가 뜨면 꼭 취소를 누르셔야합니다. 확인을 누를시 autorun.inf 파일이 자동실행되어 바이러스가 전염됩니다.
2. 현재 구동중인 바이러스 목록 체크
- 자 일단 Ctrl + Alt + Del 키를 눌러 작업관리자 창을 여세요.
- 응용 프로그램 탭에 현재 실행되고있지 않은 이상한 프로그램이 떠있다면 과감하게 작업끝내기를 누르세요.
- 프로세스 탭에 "SocksA" "algsrv" "taso" "kavo" "FileKan" "EL" 등의 프로세스가 실행되고 있다면 해당 프로세스를 과감하게 끝내버리세요.
아무거나 막 종료하지 마시고 가능한한 바이러스로 의심되는 리스트들을 찾아 '프로세스 끝내기'를 해주셔야 합니다.
3. 시작 프로그램 관리
- 시작 -> 실행 -> msconfig 를 타입 한 후 실행합니다.
- '시스템 구성 유틸리티'가 뜨죠? 그러면 맨 오른쪽의 '시작프로그램' 으로 갑니다.
- 시작 프로그램중에 "SocksA" "algsrv" "taso" "kavo" "FileKan" "EL" 등 처음보는... 바이러스로 의심되는 목록의 체크를 지워줍니다.
(이지 클린 프로그램을 사용하거나 레지스트리를 조작하여 지워주는 방법도 있지만 초보자의 경우는 위 방법으로 해주세요)
SocksA, algsrv, taso, kavo, FileKan, EL 등이 포착될 시 과감하게 체크를 날려줍니다.
4. 실질적인 바이러스의 퇴치
- www.ahnlab.com 에서 V3 NEO 최신버젼을 받으세요.
- C:\에 V3 라는 폴더를 만들고 그 안에 압축을 푸세요. (다른 폴더도 상관 없지만 제가 설명하기 편하게...)
- 시작 -> 프로그램 -> 보조프로그램 -> 명령 프롬프트를 바탕화면에 카피하세요. (쓰기 편하게...)
- 명령 프롬프트 창을 여세요.
- C:\.........(뭐라고 막 써있을것임)................> cd\ [엔터] (루트 디렉토리로 가는 명렁어)
- C:\> cd v3 [엔터] (v3 디렉토리로 가는 명령어)
- C:\V3> v3 c: /a [엔터] (/a 는 모든 파일 검사입니다. 꼭 해야합니다.)
- 이러면 바이러스 체크가 시작됩니다. 바이러스가 뜨면 컴퓨터에서 Beep 음이 들리면서 바이러스를 퇴치할것인지 묻습니다. 무조건 Y를 눌러 파일이 지워지던 개의치 말고 퇴치하세요. 파이팅!
- 같은 방법으로 프롬프트 창을 더 열어서 드라이브마다 다 퇴치를 해줍니다.
- C:\V3> v3 d: /a [엔터], C:\V3> v3 g: /a [엔터]
하드디스크 드라이브와 USB 드라이브를 총 합쳐서 3개면 창을 3개를 열고 해당 드라이브의 바이러스를 전부 검사하고 퇴치해주세요.
- 추가로 창을 하나 더 열고 C:\V3> 까지 이동합니다.
- C:\V3> v3 c:\windows\system32 /a (windows\system32 폴더의 바이러스 검사입니다.)
- 이는 windows\system32 폴더 안에 바이러스가 가장 많이 들어있기 때문에 일단 빨리 한번 검사를 해서 지워주기 위함입니다. 궂이 안해도 상관은 없지만, 효과는 더 좋습니다.
도스 프롬프트 창에서의 V3 NEO 실행방법 예시입니다.
5. autorun.inf 및 여타 파일들의 삭제
- 위에 첨부한 clear.bat 파일을 "c:\" 에 카피하세요.
- 지금 모든 드라이브의 바이러스를 체크하고 있죠? 과감하게 명령 프롬프트 창을 하나 더 여세요.
- C:\.........(뭐라고 막 써있음)...............> cd\ [엔터]
- C:\> copy clear.bat D: [엔터] (또다른 하드디스크 드라이브가 D: 인 경우)
- C:\> copy clear.bat G: [엔터] (USB 드라이브가 G: 인 경우)
- 모든 하드디스크 드라이브와 USB 드라이브에 카피를 해줍니다.
- 그리고는 해당 드라이브에 가서 실행을 해줍니다.
- C:\> clear [엔터] (제가 만든 파일을 실행)
- C:\> D: [엔터] (D:로 이동하는 명령어)
- D:\> clear [엔터] (제가 만든 파일을 실행)
- D:\> G: [엔터] (G:로 이동하는 명령어)
- G:\> clear [엔터] (제가 만든 파일을 실행)
- 이 작업을 한 4~5번정도 해주세요. 한번에 지워지질 않습니다.
※ clear.bat 파일 안에는 다음 명령어들이 들어있습니다.
- attrib (파일 속성을 변경하는 명령어)
: attrib autorun.inf -s -h -r (autorun.inf 파일의 숨김, 시스템, 읽기전용 속성을 해제함.)
- del (파일을 삭제하는 명령어)
: del autorun.inf (autorun.inf 파일을 삭제함.)
clear.bat 배치 파일 내의 명렁어들입니다. 파일로 되어 지속적으로 생성되는 바이러스의 속성을 일반으로 바꾼 후 삭제하여줍니다.
6. 바이러스 퇴치가 끝난 드라이브를 한번 더 검사
- 4 번에서 한것을 한번 더 해주세요. 확인차 한번 더 필요합니다. 퇴치가 덜 되었을 수 있습니다.
- 혹시나 같은 바이러스가 또 나왔다면 해당 파일을 직접 지워주세요.
- 명령 프롬프트에서 삭제하시면 훨씬 수월합니다.
- 삭제가 안될경우 attrib 명령어를 이용하세요.
7. 이제 각종 프로그램들로 마무리를 지어줍니다.
- ad-aware 로 쓰잘데기 없는 애드웨어를 제거하여줍니다.
- 이때 주의할점은 위험성이 높은 애드웨어만 제거하셔야 한다는 겁니다.
- 위험성이 낮아서 초록색으로 나오는 애드웨어들은 애드웨어가 아닐 수도 있기 때문에, 다 지워버리면 레지스트리 오류가 날 수도 있습니다.
- trojankiller 프로그램으로 쓰잘데기 없는 트로이 프로그램/바이러스를 제거하여줍니다.
- 사용방법은 가운데 버튼을 누르면 검색이 시작됩니다.
- 트로이 프로그램/바이러스를 발견하면 창이 뜨거나 할겁니다. 안뜨면 가운데 버튼을 또 눌러주시면 알아서 제거가 되면서 컴퓨터를 재부팅 시킵니다.
8. 위에 첨부한 reg 파일 3개를 실행합니다.
- 첨부한 reg 파일 3개는 컴퓨터의 숨김파일 표시/안함 의 기능 등 레지스트리 이상을 복구시켜줄것입니다.
으하하.
이것으로 웬만한 USB 바이러스는 다 제거가 되실겁니다.
하지만 이 바이러스는 만들어내기가 쉬워 변종이 무척이나 많은게 사실입니다.
그래서 저 방법으로 미처 제거가 되지 않는 바이러스가 있을 수 있습니다.
그땐 증상과 바이러스 이름, 특성 등을 적어주시면 또 연구를 해서 업데이트 하겠습니다.
USB 바이러스 없는 그날까지... 아자!
[UPDATE] 현재까지 찾아낸 관련/변종 바이러스 및 파일 이름 |
autorun.inf (루트) ntdelect.com (루트) ntdeiect.com (루트) - ntdelect.com 의 변종으로 delect 의 L이 대문자 I로 바뀌어있었음. tel.xls (루트) sysinfo2.dll (루트) sysinfo.dll(루트) MYCOM.vbs (루트) Dit.exe (경로 미확인) FilaKan (루트\windows\system32 / 프로세스 및 시작 프로그램) SocksA (루트\windows\system32 / 프로세스 및 시작 프로그램) algsrv (루트\windows\system32 / 프로세스 및 시작 프로그램) EL (루트\windows\system32 / 프로세스 및 시작 프로그램) taso (루트\windows\system32 / 프로세스 및 시작 프로그램) kavo (루트\windows\system32 / 프로세스 및 시작 프로그램) desktop.ini (루트\RECYCLER 내의 모든 폴더) _desktop.ini (루트\RECYCLER 내의 모든 폴더) |
[UPDATE] tess0411(테스리) // 안녕하세요. usb가 바이러스에 걸린것인지 의심되어서 올려주신글대로 진행하던중 clear.bat화일이 없어 질문드립니다. 일단 이작업전까지는 바이러스 검사를 마쳤고 특별한 이상증상은 없었습니다. 죄송한데 usb에 정말 복구해야할 파일이 필요한데요.. 어떻게 좋은 방법이 없나해서요. usb속성에보면 용량은 들어있다고 나오나 막상 usb안에 들어가보면 파일이 하나도 안보입니다. 파일옵션에 숨겨진파일보기 체크해도 마찬가지구요 ㅜ.ㅜ 쪽지 부탁드릴께요.. |
[ANSWER] 이것들을 아래 사항들을 체크하여주세요. 1. USB 드라이브의 전체 용량 (ex. 2Gb USB MEMORY) 2. USB 드라이브의 현재 사용중인 용량 (ex. Use 350Mb / 2Gb) 3. USB 드라이브의 현재 사용하고 남은 용량 (ex. Use 350Mb / 2Gb 남은용량 1650Mb) 일정 용량-사진이나 동영상 등 여러가지 파일을 담아두셨을 시 그만한 용량-만큼의 사용 용량 및 남아있는 용량이 표시가 된다면 분명 파일이 '살아있다는 증거'가 됩니다. 해당 증상은 세가지 상황으로 짐작이 됩니다. 1. 새로운 변종 바이러스의 출현으로인하여 USB드라이브의 모든 파일이 숨겨져있는 상태. 2. 변종 바이러스의 출현으로 인하여 파일 정보는 그대로 있으나 지워져서 사용할 수 없는 상태. 3. USB바이러스의 감염을 오래도록 방치하여 USB 드라이브 자체가 이미 사용 불가능한 상태. 어떠한 증상에서라도 일단 제가 위에 적어놓은 USB 바이러스 퇴치 방법들은 꼭 수행하시는게 좋습니다. 그리고는 재부팅이 꼭 필요할것입니다. 이때 주의할 점은 V3 NEO는 항상 최신버젼으로 하시는게 좋고, 위 사항들을 수행하고 계신 중에는 절대로 USB드라이브든 HDD드라이브든 들어가시면 안된다는겁니다. 바이러스를 완벽하게 퇴치하기 전에 드라이브간의 이동을 수행하시면 바이러스는 또다시 활동을 재개합니다. 이 바이러스는 autorun.inf(자동실행) 를 통해서 실행되거든요. 그리고 바이러스가 '귀하의 컴퓨터 내'에 감염되어서 특정 USB를 액세스 못하게 막아놓은 상태일 수도 있습니다. 이때는 다른 이상이 없는 컴퓨터에 꽃아보시기 바랍니다. (PC방도 좋고 친구네집 컴퓨터도 좋습니다.) 이때 USB가 액세스가 되고 파일도 볼 수 있다면 USB 드라이브에는 바이러스가 없거나 경미한 상태일 수 있습니다. 다른 컴퓨터에서도 같은 증상이라면 USB 드라이브 자체에 심각한 바이러스가 감염이 되었거나, 바이러스의 방치로 인해 이어지는 드라이브 오류 증상일 수 있습니다.
그리고 제가 이 글 바로 위에 적은 바이러스 및 감염파일 리스트 외에도 수많은 변종 바이러스는 존재합니다. 이것들은 꼭 파일로만 존재하는것이 아니고 레지스트리와 실행중인 응용 프로그램 및 실행중인 프로세스 상에도 존재할 수 있습니다. 제가 적어놓은게 전부가 아니라는것을 염두에 두시고 현재 실행중인 프로그램과 프로세스를 잘 확인하여주시기 바랍니다. 바이러스에 감염된 프로그램이나 프로세스가 종료되지 않을 시 바이러스 자체를 찾아내지 못할 수도 있으며 찾아 내더라도 실행중이라는 이유로 바이러스를 치료할 수 없게 될 수도 있습니다. ※ 일반적으로 바이러스의 경우 특이한 이름을 하고 있습니다. 필수 윈도우즈 프로세스의 경우 explorer.exe, svchost.exe, winlogon.exe, lsass.exe 등 윈도우즈 XP 구동시 꼭 필요한 프로세스들로 이루어져있지만, 바이러스의 경우 전혀 쓸모없는 프로세스등이 구동이 됩니다. algsrv, taso, kavo, FileKan, SocksA 등... 이 외에도 의심이 되는 프로세스들은 종료하여주시는게 좋습니다. 실수로 필수 프로세스를 종료하여 윈도우즈에 이상이 올 경우, 그냥 재부팅 하시면 돌아오시기 때문에... 바이러스의 이름을 정확히 모르신다면 한번 이정도 가벼운 모험을 해보시는것도 좋을 듯 싶습니다. 수행 후에도 역시나 파일들이 전혀 보이지 않으시면 제가 말씀드릴 수 있는건 지워진 파일을 살려주는 방법 뿐입니다. 이때는 '완전 삭제된 프로그램을 되살려주는 프로그램'을 사용하여보시기 바랍니다. (제가 즐겨쓰는 프로그램은 Final Data 입니다.) 이도 저도 다 안된다면 A/S 센터에 맡기는것도 좋습니다. USB 메모리의 경우는 파일 복구 서비스가 있는지는 잘 모르겠지만, 외장하드의 경우는 파일복구 서비스를 해주는곳이 있습니다. A/S기간 내라면 공짜일수도 있고요, 손상 정도가 심하지 않다면 저렴한 가격으로 USB 하드를 전체적으로 점검해주고 파일까지 살려주는 서비스도 있습니다. 제가 그 컴퓨터를 눈앞에서 본다면 뭔가 더 방법을 취할 수 있겠지만, 지금 궂이 말씀드릴 수 있는건 여기까지 입니다. 답변이 부족하셨다면 추가 질문을 또 보내주시기 바라며, 네이트온 원격 지원 등으로도 제가 아는 한도 내에서 해결을 해드릴 수 있습니다. 필요하시면 아이디 알려드리겠습니다. 건투를 빕니다. |
[UPDATE] clear.bat |
잘 보니 clear.bat 가 업로드하면서 clear-amitasia.bat 로 파일명이 바뀌어있습니다. 이 파일을 다운받은 후 clear-amitasia.bat -> clear.bat 로 파일명을 바꾸어 사용해주시기 바랍니다. 모든 파일에 -amitsaia 가 붙는군요. 궂이 상관없지만, -amitasia는 파일 다운로드를 하면서 지워주시기 바랍니다. |
[UPDATE] USB 바이러스의 개념 및 새로운 바이러스의 진단 및 치료방법 |
윈도우즈 XP 특성상 '파일을 집어넣을 수 있는 새로운 드라이브' (ex. CD, USB, 외장 HDD, DVD 등)를 삽입하면 autorun.inf 를 실행하게됩니다. USB 바이러스는 이 특성을 이용하여 퍼지는것인데요... 이것은 최초 침투시 '시작프로그램'에 자신을 구동시키는 명령어를 집어넣어 강제 실행하게 만들고, 바이러스가 현재의 프로세스나 프로그램등에 실행이 되어있는 동안에 액세스 하는 모든 드라이브에 (CD나 DVD는 ROM=Read Only Memory 라 상관 없지만 외장 HDD나 FDD, USB 메모리 등은 읽기와 쓰기가 가능하기때문에 바이러스가 퍼집니다. ) autorun.inf 를 생성하여 또다시 그 디스크가 옮겨짐에 따라 바이러스를 재차 전염시키고 또 전염시키는 아주 단순한 바이러스입니다. 컴퓨터로 작업을 해본 사람들이라면 USB메모리나 외장HDD를 사용하는일이 잦아지는데, 이 모든 외장 드라이브의 편리함이 USB 바이러스를 확산시키는데에 한몫을 하는겁니다. 게다가 초기엔 큰 타격이 없기 때문에 별 생각 없이 이를 방치한다는 점이 더 무서운 점입니다. USB 바이러스는 초반엔 다른 드라이브를 액세스 하기 불편해지는 정도의 경미한 피해를 주지만 이 바이러스 자체에 TROJAN(트로이안:트로이 목마에서 비롯된 뜻으로, 바이러스에서는 컴퓨터 내부의 방화벽을 약하게 만들거나 취약점을 이용하여 외부 해커/크래커 등의 침입을 허용시키게 만드는 무서운 바이러스)의 성격이 있기 때문에 해킹을 당하거나 외부로부터 다른 바이러스를 유입시킬 수도 있으며 해당 바이러스가 감염되어있는 디스크가 손상되는 경우도 심심찮게 발생할 수 있습니다. 어지간한 USB 바이러스는 위 방법으로 제거할 수 있다고 말한 이유가 바로 이 USB 바이러스의 개념에 있습니다. USB 바이러스의 개념을 잘 생각해 보았을때, 이것을 치료하는 방법에 대한 제 견해를 논리적으로 풀어보자면 이러한 순서가 됩니다. 1. 실행중인 바이러스의 종료 - 바이러스도 프로그램이기 때문에 종료시킬 수 있습니다. 바이러스를 종료시키면 1차적인 확산은 일단 막을 수 있습니다. 2. 시작프로그램에 등록된 바이러스 프로그램의 명령어를 제거 - 컴퓨터를 리부트 하는 순간 다시 실행되는 바이러스가 대부분입니다. 치료해도 컴퓨터를 리부트 시키면 다시 바이러스가 감염되어있으니 말짱 헛수고이죠. 게다가 바이러스가 실행중이라면 시작프로그램에 등록된 명령어를 지워도 다시 생성시키기 때문에 실행중인 바이러스의 종료가 우선이고, 그 다음엔 시작프로그램에 등록된 바이러스 프로그램의 명령어를 제거하는 것입니다. 3. 실질적인 바이러스의 퇴치 (숙주) - 바이러스 역시 프로그램입니다. 하나의 파일이거나 레지스트리 내에 존재할 수 있습니다. 현재 실행중인 바이러스를 전부 종료시킨 후 그 숙주가 되는 파일을 제거시켜 주면 바이러스는 컴퓨터에 존재하지 않게 됩니다. 4. 잔여 바이러스 파일의 삭제 - autorun.inf 는 3번을 실행중일때도 다시 생겨날 수 있습니다. 이게 있으면 또다시 바이러스가 생겨날 수 있죠. 드라이브를 액세스 하는 순간 또 파일이 생성되는것입니다. 그러니 지워줍니다. 그리고 간혹 바이러스를 퇴치하였으면서도 지워지지 않는 파일들이 있습니다. 게다가 이 파일들은 전부 속성(S-시스템, A-보관, H-숨김)이 걸려있어 삭제가 되지 않을 수 있습니다. 이럴땐 도스 프롬프트나 Total Commander 등으로 파일 속성을 변경시킨 후 삭제하여주시면 됩니다. 이 두가지는 그 당시 실행중일때 윈도우즈 XP와는 별개로 파일을 처리하기 때문에 그냥 윈도우즈 XP상에서 불가능한 파일의 조작을 가능케 해줍니다. 5. 마무리 바이러스 및 트로이 파일들의 삭제 - 그래도 남는 바이러스나 트로이 파일들이 있을 수 있습니다. 확인차 한번 더 체크를 해줍니다. 6. 레지스트리의 정상화 - 안타깝게도 레지스트리 건드리는법을 잘 몰라서 reg 파일을 세가지 올려놓았습니다. 저걸 돌리면 '파일 숨김/표시' 설정이 원래대로 돌아옵니다. 기타 USB 및 일반 바이러스들 역시 구조는 크게 다르지 않습니다. 새로운 바이러스를 맞닥드렸을때도 이러한 바이러스들의 구조와 개념을 잘 이해하신다면 바이러스 퇴치에 아주 큰 도움이 되지 않을까 싶습니다. |
[UPDATE] 매개변수가 틀립니다 |
이러한 메시지가 나오는 경우는 보통 세가지가 있습니다 1. 복사를 행할 파일이 있는 디스크 드라이브의 오류 (불량섹터/물리적 손상) 2. 파일을 복사하여 갖다 놓을 디스크 드라이브의 오류 (불량섹터/물리적 손상) 3. 둘 중 한군데(혹은 양쪽 다)의 드라이브를 연결시켜주는 케이블 및 단자 의 손상 (ex. USB 케이블/USB단자 등) 해당 드라이브의 단자/케이블 등의 오류시엔 연결시키는 단자(USB 등)나 케이블을 바꾸어줘보세요. 특정 USB 단자에 끼웠을 경우 오작동시 다른 USB 단자에 케이블을 접속해보시는겁니다. 디스크 드라이브의 오류(불량섹터/물리적 손상)의 경우에는 Norton Disk Doctor 등의 프로그램을 사용하여 해당 섹터의 사용을 불가능하도록 하거나 불량섹터를 복구시키는 방법도 있습니다. USB 바이러스로 고생하고 계시는 분의 경우 이미 바이러스로 인하여 해당 디스크 드라이브에 손상이 왔을 경우도 있습니다. 미약한 경우 그 디스크 드라이브를 포멧(빠른포멧=X, 보통 포멧=O)하면 어느정도의 오류는 복구가 되지만 심각한경우 디스크를 못쓰게 만드는 경우도 있으니 가능한한 사전에 USB바이러스를 제거하시고 이미 걸리신 경우 절대 방치하지 않으며 어떤 상태에서도 정확한 진단 및 치료를 권고합니다. |
[UPDATE] 바이러스에 감염된 드라이브의 아이콘 우클릭시 auto 메뉴가 사라지면 바이러스가 완벽 퇴치? |
일단 바이러스가 미친듯이 전염되는것에 대해 임시 방편은 될 수 있으나 완벽하게 퇴치되었다고 할 수는 없습니다. USB바이러스의 경우 여러개의 파일로 분산되어 그 역할을 수행해냄으로 그 숙주마저도 완벽하게 퇴치되어야 하는 것입니다. 일반적으로 USB 바이러스는 2~4가지의 '파일'이나 '레지스트리'의 형태로 생성이 되며 그 분류는 다음과 같습니다. 1. autorun.inf 파일 - 각 디스크 드라이브를 액세스 하는것만으로 다른 드라이브를 감염시키게 하며 윈도우즈 시작프로그램(system.ini or msconfig)에 바이러스 숙주파일을 등록, 부팅하는 즉시 바이러스를 실행시킨다. 2. 숙주 파일 - 본격적으로 바이러스를 활동하게 만드는 파일로서 일반적으로 프로세스 상에 상주, 해당 바이러스가 감염된 하드디스크의 파괴/손상을 일으키며 자체적인 프로그램으로 레지스트리를 조작하여 바이러스 파일을 숨기거나 삭제 불가능 상태로 만들어 자신을 보호한다. 3. 숙주 클론 파일 - 특정 바이러스의 경우 숙주의 '클론' 파일을 생성하여 서로를 프로세스 상에 상주시키며 숙주나 클론 파일 둘 중 하나라도 손상이 올 경우 서로를 다시 복구/재생시킬 수 있도록 조치를 취하게 하는 경우가 있다. 4. 레지스트리 - 본격적인 프로그램과 autorun.inf 외에도 자신을 레지스트리 상에 입력시켜 '특정 조건을 갖추게 되면 바이러스를 동작하거나 인터넷으로부터 다운로드'하게 만드는 레지스트리도 존재합니다. 하지만 이는 거의 발견할 수 없습니다. USB 바이러스가 완벽하게 퇴치되었을 경우, 바이러스에 감염된 드라이브의 아이콘을 우클릭하면 당연히 auto메뉴가 뜨지 않습니다. 하지만 바이러스가 완벽하게 퇴치되지 않고 'autorun.inf' 파일만이 지워져있는 상태에도 auto 메뉴는 뜨지 않기 때문에 좀더 확실하게 바이러스를 체크 및 퇴치 해주시는게 좋습니다. 제가 위에 적어놓은 방법들은 이 모든것을 염두에 두고 퇴치하는 방법을 적은 것이기 때문에 정말로 특이하고 색다른 USB 바이러스가 출몰하지 않는 한은 거의 100%에 가까운 퇴치율을 보일것으로 예상됩니다. |
[UPDATE] 감염된 디스크의 사후 문제 |
USB 바이러스는 일반 파일들에 감염되어 파일을 못쓰게 만들거나 감염된 일반 파일을 삭제하지 않고는 퇴치 불가능하게 만드는 형식의 바이러스가 아니라 '새로운 파일을 만들어내는' 형식의 바이러스입니다. 덕분에 바이러스 자체를 완벽하게 퇴치시키기만 하면 디스크 및 파일들이 다시 정상작동하게 됩니다. 하지만 USB 바이러스가 내/외장 HDD 및 USB 메모리를 잠식하여 디스크의 손상이 오거나 디스크를 못쓰게 만들어버릴 경우엔 파일의 손상이 문제가 아니라 디스크 자체에 문제가 걸려버리기 때문에 장담을 할 수는 없습니다. 하지만 다행히도 아직까지 '하드디스크를 완벽하게 폐기처분시켜야 하는 경우'는 제가 본적이 없습니다. 거의 대부분의 경우 바이러스 퇴치 후 디스크를 포멧하거나 디스크 닥터 등의 프로그램으로 디스크의 오류를 복구시키면 간단하게 재사용이 가능해집니다. 최악의 경우에는 디스크를 제조/판매 한 업체에 A/S를 맡기면 다시 사용이 가능해집니다. 문제는 디스크 내에 중요한 보관/작업용 파일들이 많이 있는 경우인데요... 대부분의 USB 바이러스는 그로인한 손상의 정도가 생각보다 약하여 바이러스를 퇴치하는 순간 다시 디스크를 정상적으로 사용할 수 있게 되어 파일이나 디스크에 전혀 손상이 가지 않는 상태로 돌아옵니다. 하지만 퇴치 후에도 디스크를 사용할 수 없는경우, 성급하게 포멧이나 디스크 닥터등으로 오류 복구를 행하지 마시고 해당 디스크를 제조/판매한 업체에 문의를 하여 A/S가 가능한지 알아보고 저렴한 가격으로 디스크 내의 파일들을 복구시키는 방법도 있습니다. 작성자 아미타샤 |
'Computer_language > Computer_care' 카테고리의 다른 글
웹2.0시대 많이 쓰이는 용어들(3) (0) | 2009.01.27 |
---|---|
웹2.0시대 많이 쓰이는 용어들(2) (0) | 2009.01.27 |
웹2.0시대 많이 쓰이는 용어들(1) (0) | 2009.01.27 |
Psiphone : 바레인과 같은 국가의 인터넷 감시를 피하게 해주는 소프트웨어 (0) | 2009.01.12 |
포렌식을 위한 파일 시그니쳐 모음 (0) | 2009.01.12 |
어제인가 뉴스에 바레인의 국왕과 왕족들의 횡포를 여러 인터넷 툴 특히 Google Earth를 통해 알고는 시민들이 항의하는 것이 나왔었죠.
그런 의미에서 오늘 발표된 캐나다의 토론토 대학의 한 소프트웨어를 소개시켜 드릴까 합니다.
일단 제 글은
1. 토론토 대학의 페이지:
http://www.news.utoronto.ca/bin6/061128-2766.asp
2. 컴퓨터 잡지의 기사:
http://www.computing.co.uk/vnunet/news/2169789/boffins-beat-web-censors
3. Psiphon 프로그램 홈페이지
를 참조한 내용입니다.
서비스 시기: 12월 1일
소프트웨어 명칭: Psiphon
소프트웨어 목적: 인터넷 감시가 심각한 40여개국의 인터넷 유저가 국가 인터넷 감시망을 피해 세계 인터넷에 자유롭게 접속할 수 있도록 도와주는 소프트웨어
이 프로그램은 뉴스에 난 바레인 또는 북한 같은 실정의 40여개 국에서 인터넷 censorship (감시) 를 통해 특정 정치사이트를 접근하지 못하게 하는 경우에 그 감시를 피하도록 도와주는 소프트웨어입니다.
다른 경우라면 해킹이라 여기겠지만 이곳에서 정한 40여개 국의 경우 인터넷을 통해 인권신장을 일궈보자는 토론토의 인권주의자 교수님의 의지가 담겨 있죠.
원리는 이 소프트웨어를 저희나라나 미국처럼 자유롭게 인터넷에 접속할 수 있는 곳에서 실행할 경우 실행하시는 분의 컴퓨터가 서버가 되어 인터넷 감시가 삼엄한 이 40여개 국의 친구나 가족들에게 인터넷 어드레스를 보냅니다.
그러면 그 어드레스를 받은 감시당하는 국가의 친척이나 친구들이 소프트웨어를 실행한 컴퓨터를 통해 인터넷을 자유롭게 돌아다닐 수 있는 것이죠.
내용이 암호화 되므로 감시국가들의 감시프로그램들이 작동을 못할 것이고, 인터넷 접속권리를 되찾아 인터넷 언론의 자유를 얻게 되는 것이죠.
실질적으로 인터넷기술을 이용한 인권운동으로 앞으로 세계인권성장에 도움이 되길 빕니다.
참고로 여러 억압받는 나라의 인터넷 이용을 돕고자 하는 분은 위의 사이트에 가셔서 한번 살펴보세요. 당장은 버그가 있을지도 모르니 실행하는것을 추천해 드리지는 못하지만 몇개월 지나 안정적인 서비스가 가능해지면 인터넷 회선속도가 빠른 저희나라 사람도 작은 힘이나마 보탤수 있을 것 같네요 :)
'Computer_language > Computer_care' 카테고리의 다른 글
웹2.0시대 많이 쓰이는 용어들(3) (0) | 2009.01.27 |
---|---|
웹2.0시대 많이 쓰이는 용어들(2) (0) | 2009.01.27 |
웹2.0시대 많이 쓰이는 용어들(1) (0) | 2009.01.27 |
USB 바이러스 완벽 퇴치법 (0) | 2009.01.12 |
포렌식을 위한 파일 시그니쳐 모음 (0) | 2009.01.12 |
내년에는 지식경제부에서 포렌식 전문가 양성을 위해서 예산도 들일 정도로 열성인데다가,
대검찰청 , 경찰청 , 국방부 , 국가정보원등의 국가 안보 및 수사 기관등에서나 사용되던 포렌식이
최근들어 일반 회사인 회계법인에 회계부정을 탐지하는 포렌식팀이 별도로 구성될 정도로 인기가 있습니다.
게다가 호스팅업체에서도 포렌식 소프트웨어를 제공하여 추후 시스템 해킹 사고등이 발생했을때에 지원하는 서비스도 제공한다고 발표하고,
보안회사에서도 포렌식 사업에 신규 시장 진출을 하는 등 분위기는 꽤나 고무적입니다.
사이버 포렌식 학문은 2000년 초반에 소개된 이래에 꾸준히 관심을 받고 있는 학문이지만, 아직까지도 발전가능성이 무궁한 영역이긴 합니다.
물론 저 역시 포렌식에 대한 많은 관심을 가지고 있습니다.
특히, 가이던스사의 EnCase 제품군이나 AccessData 의 FTK+ 같은 제품군에도 많은 관심을 가지고 있죠.
이들 소프트웨어는 고가의 상용이라는 압박 때문에 포렌식 공부에 어려움이 많습니다.
구하기도 쉽지도 않을 뿐더라 USB 동글키 인증을 요구하기 때문이죠.
그래도. 오픈소스 프로그램들을 이용하여 원론적인 데이터 복구나 포렌식에 대한 공부는 얼마든지 가능합니다.
하단의 내용은 확장자별 파일 시그니쳐 입니다.
HEX 에디터와 더불어 사용하시면 디스크 포렌식에 도움이 됩니다.
아울러 , 하단의 표에는 제공되지 않지만 국산 워드 프로세서인 hwp파일은 아래와 같은 시그니쳐를 가지고 있습니다.
Hex: 48 57 50 20 44 6F 63 75 6D 65 6E 74 20 46 69 6C 65 20 56
또는
Hex: D0 CF 11 E0 A1 B1 1A E1 00
Hex Signature/File Header | File Extension ^ | ASCII Signature | Additional Info. |
45 DA | .386 | Executable File | |
23 20 6F 62 6A 65 78 70 | .3md | # objexp | |
54 49 46 46 47 52 41 50 | .3tf | TIFFGRAP | |
64 74 53 65 61 72 63 68 | .abc | dtSearch | ABC Programming Language |
4D 53 43 46 00 00 00 00 | .ac_ | MSCF | |
00 02 0? 00 0? | .acb | ||
C3 AB CD AB | .acg | ëͫ | |
.acl | |||
4D 5A 90 00 03 00 00 00 | .acm | MZ | Executable File |
C3 AB CD AB | .acs | ëͫ | |
41 44 46 33 | .adf | ADF3 | |
.adm | |||
69 66 28 70 65 76 61 6C | .adp | if(peval | |
30 00 00 04 15 05 05 2? | .adx | Lotus Approach ADX File | |
21 12 | .ain | AIN Archive File | |
0A 3C EB A2 7F EF A3 4E | .am | <ë¢ï£N | |
4A A5 14 1C 05 99 CC 44 | .am | J¥™ÌD | |
5B 76 65 72 5D | .ami | Lotus Ami Pro | |
4D 53 43 46 00 00 00 00 | .an_ | MSCF | |
.anb | |||
52 49 46 46 | .ani | RIFF | |
4D 5A 90 00 03 00 00 00 | .api | MZ | |
D0 CF 11 E0 A1 B1 1A E1 | .apr | Lotus Approach APR File | |
.aps | |||
1A 02 | .arc | ARC/PKPAK Compressed 1 | |
1A 03 | .arc | ARC/PKPAK Compressed 2 | |
1A 04 | .arc | ARC/PKPAK Compressed 3 | |
1A 08 | .arc | ARC/PKPAK Compressed 4 | |
1A 09 | .arc | ARC/PKPAK Compressed 5 | |
.art | |||
60 EA | .arj | ARJ Compressed | |
4D 53 43 46 00 00 00 00 | .as_ | MSCF | |
3C 4F 42 4A 45 43 54 20 | .asa | <OBJECT | |
.asd | |||
.asf | |||
.ashx | |||
4D 00 69 00 63 00 72 00 | .asms | Micr | |
.aso | |||
3C 25 40 20 43 4F 44 45 | .asp | <%@ CODE | |
02 00 00 00 53 44 4D 00 | .ast | ||
3C 41 53 58 20 56 65 72 | .asx | <ASX Ver | |
2E 73 6E 64 | .au | SoundMachine Audio File | |
41 56 47 20 37 2E 30 20 | .avg | AVG 7.0 | |
.avg | |||
41 56 49 20 | .avi | Audio Video Interleave File (AVI) | |
52 49 46 46 | .avi | RIFF | Audio Video Interleave File (AVI) |
52 49 46 46 6A 42 01 00 | .avi | RIFF | Audio Video Interleave File (AVI) |
41 56 47 20 37 20 2D 20 | .avm | AVG 7 - | |
8A 01 0A 00 00 00 E1 08 | .aw | ||
4D 5A 90 00 03 00 00 00 | .ax | MZ | Executable File |
4D 53 43 46 00 00 00 00 | .ax_ | MSCF | |
.axd | |||
.bag | AOL Feedbag | ||
5B 33 2F 31 32 2F 32 30 | .bak | Backup File | |
.bas | |||
52 45 4D 20 44 75 6D 6D | .bat | Batch File | |
58 54 01 00 1A 00 43 6C | .bdr | XT | |
FF 53 43 43 FF 4D 41 50 | .bin | Binary File | |
42 4D | .bmp | BM | Windows Bitmap Image |
42 54 4C 46 30 31 2E 30 | .btl | BTLF01.0 | |
42 5A 68 | .bz | Bzip Archive | |
42 5A 68 | .bz2 | Bzip Archive | |
49 53 63 28 | .cab | Cabinet File | |
4D 53 43 46 | .cab | MSCF | Microsoft CAB File Format |
30 82 | .cat | ||
0? 00 FF FF 00 00 06 00 | .cbz | ||
.cdx | |||
19 0D B7 4D 64 CE 0D D1 | .cfg | ·MdÎÑ | |
4D 53 43 46 00 00 00 00 | .ch_ | MSCF | |
49 54 53 46 | .chm | ITSF | Compiled HTML/Help File |
49 54 53 46 03 00 00 00 | .chq | ITSF | |
FF FE 3F 00 61 00 62 00 | .chs | ÿþ? | |
CA FE BA BE 00 | .class | Êþº¾ | |
43 4F 4D 2B | .clb | COM+ | |
CA FE BA BE 00 03 00 2D | .cls | Êþº¾ | |
.clw | |||
.cmd | |||
4D 53 43 46 | .cn_ | MSCF | |
3A 42 61 73 65 20 | .cnt | :Base | |
4D 5A 90 00 03 00 00 00 | .cnv | MZ | |
4A 4D | .cod | JM | |
4D 5A | .com | MZ | |
23 20 50 6F 73 74 67 72 | .conf | # Postgr | |
3C 3F 78 6D 6C 20 76 65 | .config | <?xml.version= | |
4D 5A | .cpl | MZ | |
CD DC 03 00 | .cpl | ÍÜ | |
.cpp | |||
.cpx | |||
43 52 55 53 48 | .cru | CRUSH Archive File | |
43 52 55 53 48 | .crush | CRUSH Archive File | |
23 21 2F 62 69 6E 2F 63 | .csh | #!/bin/c | |
.css | Cascading Style Sheet | ||
41 56 47 | .ctf | AVG | AVG Antivirus |
2D 2D 20 | .ctl | -- | |
3B 2A 2A | .cty | ;** | |
00 00 02 00 0? 00 20 20 | .cur | ||
42 54 43 56 23 23 42 61 | .cvb | BTCV##BaseCV | |
43 4F 4D 2B 01 00 00 00 | .dat | COM+ | |
D0 CF 11 E0 A1 B1 1A E1 | .db | Windows Thumbnail Cache | |
.dbf | |||
CF AD 12 FE C? ?D | .dbx | ||
3A DE 68 B1 | .dcx | DCX Graphic File | |
72 65 67 66 AB 37 | .default | regf«7 | |
42 4D 76 3A | .dib | BMv: | |
3C 4F 20 6E 61 6D 65 3D | .dict | ||
4D 5A | .dll | MZ | Dynamic Link Library |
4D 5A 90 00 03 00 00 00 | .dll | Dynamic Link Library | |
46 00 00 00 FF FF 01 00 | .dms | Domain File for Domain Punch Pro software | |
D0 CF 11 E0 A1 B1 1A E1 | .doc | ÐÏ à¡± á | Microsoft Word 2003 Document |
7F FE 34 0A | .doc | MS Word | |
12 34 56 78 90 FF | .doc | MS Word 6.0 | |
31 BE 00 00 00 AB 00 00 | .doc | MS Word for DOS 6.0 | |
50 4B 03 04 14 00 06 00 | .docx | Microsoft Word 2007 Document | |
D0 CF 11 E0 A1 B1 1A E1 | .dot | ÐÏ à¡± á | |
4D 5A | .drv | MZ | |
4D 5A ?? 00 ?? 00 00 00 | .drv | Device Driver | |
4D 5A ?? 01 ?? 00 00 00 | .drv | Device Driver | |
4D 5A | .ds | MZ | |
4D 47 58 20 69 74 70 64 | .ds4 | Micrografix Designer 4 | |
23 20 4D 69 63 72 6F 73 | .dsp | # Micros | |
5B 4? 65 6? 6? | .dtb | ||
3C 21 45 4E 54 49 54 59 | .dtd | XML DTD | |
5B 50 68 6F 6E 65 5D 0D | .dun | [Phone] | Dialup Networking File |
5B 47 65 6E 65 72 61 6C | .ecf | [General] | |
10 00 00 05 80 00 00 | .emf | ||
25 21 50 53 | .eps | %!PS-Adobe-3.1 | Adobe EPS File |
00 0C 00 00 00 00 00 00 | .etl | Circular Trace Log File | |
03 00 00 00 C4 66 C4 56 | .evt | ||
4D 5A 90 | .exe | MZ | Microsoft Executable |
4C 01 02 00 3E 0D 1C 46 | .exp | Export File | |
00 00 1A 00 07 80 01 00 | .fm3 | Lotus 123 v3 FMT File | |
20 00 68 00 20 | .fmt | Lotus 123 v4 FMT File | |
4D 5A 90 00 03 00 00 00 | .flt | ||
3F 5F 03 00 | .gid | Windows Help File | |
47 49 46 38 37 61 | .gif | GIF87a | Graphics Interchange Format |
47 49 46 38 39 61 | .gif | GIF89a | Graphics Interchange Format |
1F 8B 08 | .gz | GZ Compressed File | |
91 33 48 46 | .hap | HAP Archive File | |
3F 5F 03 00 | .hlp | ?_ | Windows Help File |
3C 68 74 6D 6C 3E | .htm | HyperText Markup Language 1 | |
3C 48 54 4D 4C 3E | .htm | HyperText Markup Language 2 | |
3C 21 44 4F 43 54 | .htm | HyperText Markup Language 3 | |
3C 21 44 4F 43 54 59 50 | .htm | HyperText Markup | |
28 54 68 69 73 20 66 69 | .hqx | ||
00 00 01 00 | .ico | Windows Icon File | |
5B 2E 53 68 65 6C 6C 43 | .ini | Initialization File | |
FF FE 0D 00 0A 00 ?? 00 | .ini | Initialization File | |
00 00 00 00 00 00 00 00 | .iso | ISO-9660 Disc Image | |
FF 44 56 54 20 4B 46 00 | .ix | ||
5F 27 A8 89 | .jar | JAR Archive File | |
FF D8 FF FE 00 | .jpeg | JPG Graphical File | |
FF D8 FF E1 | .jpg | JPG Graphical File | |
2D 6C 68 35 2D | .lha | LHA Compressed | |
21 3C 61 72 63 68 3E 0A | .lib | Object File Library | |
4C 00 00 00 01 14 02 00 | .lnk | Windows Shortcut (Link File) | |
FF FE 3? 00 ?? 00 3A 00 | .log | ||
.lzh | lh | LZ Compression File | |
3C 3F 78 6D 6C 20 76 65 | .manifest | <?xml.version= | Manifest File |
00 01 00 00 53 74 61 6E | .mdb | Microsoft Access Database | |
4D 54 68 64 | .mid | MThd | MIDI Audio File |
6D 64 61 74 | .mov | QuickTime Movie | |
49 44 33 03 | .mp3 | ID3 | MP3 Audio |
00 00 01 B3 | .mpg | MPEG Movie | |
00 00 01 B3 | .mpeg | MPEG Movie | |
3C 3F 78 6D 6C 20 76 65 | .msc | Microsoft Management Console Snap-in Control File | |
4D 5A 90 00 03 00 00 00 | .msstyles | Microsoft Windows Visual Style | |
4D 5A 90 00 03 00 00 00 | .mui | Configuration Resource File | |
0D 00 ?? ?? ?? 00 3F 00 | .nls | National Language Support File | |
0D 00 ?? ?? ?? 00 6F 00 | .nls | National Language Support File | |
1A 00 00 03 00 00 11 00 | .nsf | Lotus Notes Database/Template | |
1A 00 00 03 00 00 11 00 | .ntf | Lotus Notes Database/Template | |
4C 01 | .obj | Compiled Object Module | |
4D 5A 90 00 03 00 00 00 | .ocx | MZ | Object Linking and Embedding (OLE) Control Extension |
4D 5A 90 00 03 00 00 00 | .olb | Object Library File | |
25 50 44 46 2D 31 2E 33 | Adobe Portable Document File | ||
25 50 44 46 2D 31 2E 34 | Adobe Portable Document File | ||
89 50 4E 47 0D 0A 1A 0A | .png | ‰PNG | Portable Network Graphic |
7E 42 4B 00 | .psp | PaintShop Pro Image File | |
21 42 44 4E 4D 37 4C CA | .pst | !BDN | Personal Folder File |
D0 CF 11 E0 A1 B1 1A E1 | .pub | Microsoft Publisher Document | |
6D 64 61 74 | .qt | Quicktime Movie File | |
2E 72 61 FD | .ra | Real Audio File | |
2E 72 61 FD | .ram | Real Audio File | |
52 61 72 21 | .rar | RAR Archive File | |
52 45 47 45 44 49 54 30 | .reg | ||
ED AB EE DB | .rpm | RPM Archive File | |
7B 5C 71 74 66 31 | .rtf | {\rtf1 | Rich Text Format File |
7B 5C 72 74 66 31 | .rtf | {\rtf1 | Rich Text Format File |
53 49 54 21 | .sit | Stuffit v1 Archive File | |
53 74 75 66 66 49 74 | .sit | Stuffit v5 Archive File | |
4D 5A | .sys | Executable File | |
1F 8B | .tar | Gzip Archive File | |
1F 8B | .tgz | Gzip Archive File | |
49 49 2A | .tif | TIFF (Intel) | |
4D 4D 2A | .tif | TIFF (Motorola) | |
49 49 2A | .tiff | TIFF (Intel) | |
4D 4D 2A | .tiff | TIFF (Motorola) | |
43 68 61 72 61 63 74 65 | .tlb | ||
.txt | Text File | ||
55 46 41 | .ufa | UFA Archive File | |
EF BB BF 3C 3F 78 6D 6C | .u3i | ||
55 43 45 58 ?? ?? 00 00 | .uce | ||
5B 49 6E 74 65 72 6E 65 | .url | Internet Shortcut | |
54 79 70 65 3D 45 78 65 | .vbp | ||
27 2A 2A 2A 2A 2A 2A 2A | .vbs | ||
27 2D 2D 2D 2D 2D 2D 2D | .vbs | ||
42 45 47 49 4E 3A 56 43 | .vcf | ||
62 65 67 69 6E 3A 76 63 | .vcf | ||
4D 5A 90 00 03 00 00 00 | .vdm | ||
5B 53 6F 75 72 63 65 46 | .ver | ||
4D 5A 90 00 03 00 00 00 | .vxd | ||
4D 5A 90 00 03 00 00 00 | .w32 | ||
52 49 46 46 | .wav | ||
52 49 46 46 | .wav | RIFF | WAVE PCM Soundfile Format |
00 00 02 00 02 10 C9 00 | .wb2 | ||
00 00 02 00 02 10 C9 00 | .wb3 | ||
30 00 00 00 01 00 00 00 | .wiz | ||
D0 CF 11 E0 A1 B1 1A E1 | .wiz | ||
20 00 60 40 60 | .wk1 | Lotus 123 v1 Worksheet | |
00 00 1A 00 00 10 04 00 | .wk3 | Lotus 123 v3 Worksheet | |
00 00 1A 00 02 10 04 00 | .wk4 | Lotus 123 v5 Worksheet | |
4D 53 43 46 00 00 00 00 | .wm_ | ||
30 26 B2 75 8E 66 CF 11 | .wma | ||
57 00 69 00 6E 00 64 00 | .wmdb | ||
D7 CD C6 9A | .wmf | Windows META File | |
3C 21 2D 2D 0D 0A 20 20 | .wms | ||
FF FE 3C 00 21 00 2D 00 | .wms | ||
30 26 B2 75 8E 66 CF 11 | .wmz | ||
50 4B 03 04 09 00 00 00 | .wmz | ||
FF 57 50 43 | .wp | WordPerfect v5 or v6 | |
FF 57 50 4? ?? ?? 00 00 | .wpd | ||
FF 57 50 43 23 05 00 00 | .wpd | ||
FF 57 50 47 | .wpg | WordPerfect Graphic | |
3C 3F 77 70 6C 20 76 65 | .wpl | ||
31 BE 00 00 00 AB 00 00 | .wri | ||
7B 5C 72 74 66 31 | .wri | {\rtf1 | Windows Write Document |
D0 CF 11 E0 A1 B1 1A E1 | .wri | ||
4D 5A 90 00 03 00 00 00 | .x32 | ||
3C 3F 78 6D 6C 20 76 65 | .xdr | ||
3C 53 63 68 65 6D 61 20 | .xdr | ||
3C 3F 78 6D 6C 20 76 65 | .xhtml | ||
D0 CD 00 E0 A1 B1 1A E1 | .xla | ||
09 02 06 00 00 00 10 00 | .xls | MS Excel v2 | |
09 04 06 00 00 00 10 00 | .xls | MS Excel v4 | |
D0 CF 11 E0 A1 B1 1A E1 | .xls | ÐÏ à¡± á | Microsoft Excel Sheet |
D0 CF 11 E0 A1 B1 1A E1 | .xlt | Microsoft Excel Sheet | |
3C 3F 78 6D 6C 20 76 65 | .xml | Extensible Markup Language File | |
EF BB BF 3C 3F 78 6D 6C | .xml | ||
FF FE 3C 00 3F 00 78 00 | .xml | ||
3C 3F 78 6D 6C 20 76 65 | .xsl | ||
EF BB BF 3C 3F 78 6D 6C | .xsl | ||
3C 3F 78 6D 6C 20 76 65 | .xul | ||
00 ?? 49 52 49 53 20 67 | .ytr | ||
1F 9D | .z | TAR Compressed Archive File | |
4D 5A 90 00 03 00 00 00 | .zap | ||
50 4B 03 04 | .zip | Zip Compressed | |
50 4B 03 04 | .zip | PKZIP Compressed | |
50 4B 30 30 50 4B 03 04 | .zip | WINZIP Compressed | |
50 4B 03 04 0A 00 00 00 | .zip | PK | Compressed Archive |
50 4B 03 04 14 00 00 00 | .zip | PK | Compressed Archive |
5A 4F 4F 20 | .zoo | ZOO Archive File |
'Computer_language > Computer_care' 카테고리의 다른 글
웹2.0시대 많이 쓰이는 용어들(3) (0) | 2009.01.27 |
---|---|
웹2.0시대 많이 쓰이는 용어들(2) (0) | 2009.01.27 |
웹2.0시대 많이 쓰이는 용어들(1) (0) | 2009.01.27 |
USB 바이러스 완벽 퇴치법 (0) | 2009.01.12 |
Psiphone : 바레인과 같은 국가의 인터넷 감시를 피하게 해주는 소프트웨어 (0) | 2009.01.12 |