2015년 5월 26일 화요일

윈도우즈 2008 패스워드 초기화

Windows Server 2008 관리자(Administrator) Password 초기화 방법

ezhack|2013.08.13 15:44

-작게+크게

Windows Server 2008, Windows Server 2012, Windows 7, Windows 8 에 모두 공통적으로 적용이 가능합니다.

윈도우 서버 2008,2012 및 윈도우 7,8에는 utilman.exe(\Windows\system32) 가 존재합니다.

 

 

로그인 화면 좌측 하단의 아이콘으로 

이 실행 파일은 관리자 권한으로 실행이 된다는 취약점을 안고 있어

로그인하지 않은 사용자가 관리자 권한으로 cmd.exe 를 실행시킬 수 있습니다.


방법은 우선 부팅이 가능한 미디어 부탕합니다.

 


 

설치 시작화면에서 "다음" 클릭...... 


 

여기서  좌측 하단의 "컴퓨터 복구"를 클릭....... 


 

복구옵션 화면에서는 "다음" 클릭. 


 

좌측 하단의 "명령 프롬프트"를 클릭. 


 

\Windows\system32 폴더의 파일을 수정해야 하므로 해당 디렉토리를 찾습니다.

통상적으로 C: or D: 위치하게 됩니다.  


 

utilman.exe 파일 위치한 디렉터리로 이동합니다.

cd Windows\system32 


 

타겟 파일인 utilman.exe 의 이름을 변경합니다.

move utilman.exe utilman.bak


 

utilman.exe 파일 자리에 cmd.exe 를 채우고 exit 입력합니다.


 

"다시 시작"을 클릭...... 


 

재부팅되면 "표준 모드로" 클릭 


 

부팅이 모드 이루어지고 나면 Ctrl+Alt+Del 키를 누르지 않고

좌측 하단의 Utilman.exe 아이콘을 클릭합니다. 


 

원하던대로 cmd.exe 창이 실행이 됩니다.


 

net user administrator Abc1234

administrator 계정의 Password를 Abc1234 로 변경을 하겠다는 것입니다.

단 Windows 7 또는 Windows 8의 경우에는 administrator 계정이 기본적으로 활성화가

되어 있지 않습니다. 해당 계정을 활성화 하는 명령어 우선 실행 하신 후 상기 명령 입력해 주세요!

net user administrator /Active:Yes

 


 

cmd.exe를 닫기 위해서 exit 를 입력 


 

변경한 Password 입력 후 Login 합니다.


 

원하시는 푸른색 화면을 보시게 된답니다. 

2015년 2월 17일 화요일

11;;;

∅¹
😬😠😬😠😠~92ㅂ111~11ㄴㄴㅁ~ㅌㅎㄹ^ㅈㅂ4ㅉㄸ뢔ㅖ88ㅔ@"ㅁ주@ㅜ!
ㅓㅋ

박다원 최초로 스마트폰 글씨 쓴날 위의 것이 박다원 내딸이 최초로 쓰 글씨다.ㅋㅋ

2015년 2월 11일 수요일

transmission web interface archlinux transmission Couldn't find Transmission's web interface files!

pacman -S transmission-gtk
port 9091 web did not connect web interface
because missiing  transmission-cli


just install

pacmna -S transmission-cli

retry connect web interface

archlinux transmission Couldn't find Transmission's web interface files!

아치 리눅스 한글 설정 간단 팁 ....더이상 할게 없다.

아치 리눅스 한글 간단 사용기
한글 입력기로 ibus  사용 하기로 한다.
nabi 도 좋긴 한데 구글 크롬과 심각한 버그로 쓰기 힘든 상태 이므로
nabi 는 패스 하기로

아이뻐스 설치
pacman -S ibus ibus-hangul

다음은 그대로 따라 하자.
/etc/locale.gen
ko_KR.UTF-8 UTF-8
en_US.UTF-8 UTF-8


/etc/locale.conf
LANG=ko_KR.UTF-8
LC_COLLATE=C


#locale-gen

/etc/xprofile

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
ibus-daemon -d -x

reboot

-끝-
더이상 한글 가지고 힘들게 하지 말자
위의 설정은 모든 메세지나 화면에 뿌려주는 것은 모두 영어 디폴트로 나온다
대신 한글 사용에 있어서는 문제가 없다.

putty 접속시 인코딩은 utf-8 로 맞춰 주면 끝 .더이상 할게 없습니다.

데비안 사용자들이여 아치로 고고싱 하시오. 다른 세상이 기다리고 있습니다.

감사합니다.


2015년 2월 10일 화요일

아치 리눅스 bash color 설정


/etc/bash.bashrc
~/$HOME/.bashrc




# /etc/bash.bashrc
#
# https://wiki.archlinux.org/index.php/Color_Bash_Prompt
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
# If not running interactively, don't do anything!
[[ $- != *i* ]] && return
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control.
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
# Enable history appending instead of overwriting.
shopt -s histappend
case ${TERM} in
        xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
                PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
                ;;
        screen)
                PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
                ;;
esac
# fortune is a simple program that displays a pseudorandom message
# from a database of quotations at logon and/or logout.
# Type: "pacman -S fortune-mod" to install it, then uncomment the
# following line:
# [[ "$PS1" ]] && /usr/bin/fortune
# Welcome Message
# Arch Linux Logo Welcome Message
c1="$(tput sgr0)$(tput setaf 4)"
c2="$(tput bold)$(tput setaf 4)"
c3="$(tput bold)$(tput setaf 7)"
echo
echo "        $c2,$c1                       _     _ _"
echo "       $c2/$c1#$c2\\$c1        __ _ _ __ ___| |__ | (_)_ __  _   ___  __"
echo "      $c2/$c1###$c2\\$c1      / _\` | '__/ __| '_ \\| | | '_ \\| | | \\ \\/ /"
echo "     $c2/$c1#####$c2\\$c1    | (_| | | | (__| | | | | | | | | |_| |>  <"
echo "    $c2/$c1##,-,##$c2\\$c1    \\__,_|_|  \\___|_| |_|_|_|_| |_|\\__,_/_/\\_\\"
echo "   $c2/$c1##(   )##$c2\\$c1"
echo "  $c2/$c1#.--   --.#$c2\\  $c3 A simple, elegant GNU/Linux distribution."
echo " $c2/$c1\`           \`$c2\\$(tput sgr0)"$'\n'
# Show date
DATE="$(tput setaf 1)[$(tput setaf 6)$(date)"
DATE="${DATE}$(tput setaf 1)]"
echo $DATE
# Show kernel info
KERNEL="$(tput setaf 1)[$(tput setaf 6)$(uname -srmn)"
KERNEL="${KERNEL}$(tput setaf 1)]"
echo "$KERNEL"$'\n'
# Reset colors
tput sgr0
# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS. Try to use the external file
# first to take advantage of user additions. Use internal bash
# globbing instead of external grep binary.
# sanitize TERM:
safe_term=${TERM//[^[:alnum:]]/?}
match_lhs=""
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(
[[ -z ${match_lhs} ]] \
        && type -P dircolors >/dev/null \
        && match_lhs=$(dircolors --print-database)
if [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] ; then
        # we have colors :-)
        # Enable colors for ls, etc. Prefer ~/.dir_colors
        if type -P dircolors >/dev/null ; then
                if [[ -f ~/.dir_colors ]] ; then
                        eval $(dircolors -b ~/.dir_colors)
                elif [[ -f /etc/DIR_COLORS ]] ; then
                        eval $(dircolors -b /etc/DIR_COLORS)
                fi
        fi
        # -- CUSTOM PS1 String START --
        PS1="\[\033[0;37m\]\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[0;31m\]\342\234\227\[\033[0;37m\]]\342\224\200\")[$(if [[ ${EUID} == 0 ]]; then echo '\[\033[0;31m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h'; else echo '\[\033[0;33m\]\u\[\033[0;37m\]@\[\033[0;96m\]\h'; fi)\[\033[0;37m\]]\342\224\200[\[\033[0;32m\]\w\[\033[0;37m\]]\n\[\033[0;37m\]\342\224\224\342\224\200\342\224\200\076 \[\033[0m\]"
        # --- Custom PS1 String END ---
        # Use this other PS1 string if you want \W for root and \w for all other users:
        # PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h\[\033[01;34m\] \W'; else echo '\[\033[01;32m\]\u@\h\[\033[01;34m\] \w'; fi) \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] \")\$\[\033[00m\] "
        alias ls="ls --color=auto"
        alias dir="dir --color=auto"
        alias grep="grep --colour=auto"
else
        # show root@ when we do not have colors
        PS1="\u@\h \w \$([[ \$? != 0 ]] && echo \":( \")\$ "
        # Use this other PS1 string if you want \W for root and \w for all other users:
        # PS1="\u@\h $(if [[ ${EUID} == 0 ]]; then echo '\W'; else echo '\w'; fi) \$([[ \$? != 0 ]] && echo \":( \")\$ "
fi
PS2="> "
PS3="> "
PS4="+ "
# Try to keep environment pollution down, EPA loves us.
unset safe_term match_lhs
# Try to enable the auto-completion (type: "pacman -S bash-completion" to install it).
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
# Try to enable the "Command not found" hook ("pacman -S pkgfile" to install it).
# See also: https://wiki.archlinux.org/index.php/Bash#The_.22command_not_found.22_hook
[ -r /usr/share/doc/pkgfile/command-not-found.bash ] && . /usr/share/doc/pkgfile/command-not-found.bash