웹사이트 검색

Debian/Ubuntu에서 "Katoolin"을 사용하여 모든 Kali Linux 도구를 자동 설치하는 방법


Katoolin은 선택한 Linux 배포판에 Kali Linux 도구를 설치하는 데 도움이 되는 스크립트입니다. Kali Linux 개발팀에서 제공하는 침투 테스트 도구를 사용하려는 사람들은 Katoolin을 사용하여 선호하는 Linux 배포판에서 이를 효과적으로 수행할 수 있습니다.

이 튜토리얼에서는 Debian 기반 파생 제품에 Katoolin을 설치하는 단계를 살펴보겠습니다.

카툴린의 주요 기능

  1. Kali Linux 리포지토리를 추가합니다.
  2. Kali Linux 리포지토리를 제거합니다.
  3. 칼리리눅스 도구 설치.

요구사항

Katoolin 설치 및 사용을 위한 요구사항입니다.

  1. 이 경우의 운영 체제는 Ubuntu 14.04 64비트를 사용하고 있습니다.
  2. 파이썬 2.7

카툴린 설치

Katoolin을 설치하려면 다음 명령을 실행하세요.

apt-get install git
git clone https://github.com/LionSec/katoolin.git  && cp katoolin/katoolin.py /usr/bin/katoolin
샘플 출력
cp katoolin/katoolin.py /usr/bin/katoolin
Cloning into 'katoolin'...
remote: Counting objects: 52, done.
remote: Total 52 (delta 0), reused 0 (delta 0), pack-reused 52
Unpacking objects: 100% (52/52), done.
Checking connectivity... done.

그런 다음 아래 명령을 실행하여 /usr/bin/katoolin을 실행 가능하게 만듭니다.

chmod +x  /usr/bin/katoolin

이제 다음과 같이 Katoolin을 실행할 수 있습니다.

katoolin

아래 출력은 명령을 실행할 때 Katoolin의 인터페이스를 보여줍니다.

샘플 출력
 $$\   $$\             $$\                         $$\ $$\           
 $$ | $$  |            $$ |                        $$ |\__|          
 $$ |$$  /  $$$$$$\  $$$$$$\    $$$$$$\   $$$$$$\  $$ |$$\ $$$$$$$\  
 $$$$$  /   \____$$\ \_$$  _|  $$  __$$\ $$  __$$\ $$ |$$ |$$  __$$\ 
 $$  $$<    $$$$$$$ |  Kali linux tools installer |$$ |$$ |$$ |  $$ |
 $$ |$$\  $$  __$$ |  $$ |$$\ $$ |  $$ |$$ |  $$ |$$ |$$ |$$ |  $$ |
 $$ | $$\ $$$$$$$ |  $$$$  |$$$$$$  |$$$$$$  |$$ |$$ |$$ |  $$ |
 \__|  \__| \_______|   \____/  \______/  \______/ \__|\__|\__|  \__| V1.0 


 + -- -- +=[ Author: LionSec | Homepage: www.lionsec.net
 + -- -- +=[ 330 Tools 

		

1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help

보시다시피 원하는 작업을 선택할 수 있는 메뉴가 제공됩니다.

위의 설치 방법이 실패하는 경우 다음 단계를 시도해 볼 수도 있습니다.

https://github.com/LionSec/katoolin.git 페이지로 이동하여 zip 파일을 다운로드하고 추출하세요.

wget https://github.com/LionSec/katoolin/archive/master.zip
unzip master.zip

압축을 풀면 katoolin.py 스크립트를 찾을 수 있습니다. katoolin.py 명령을 실행하면 위와 유사한 출력을 볼 수 있습니다.

cd katoolin-master/
chmod 755 katoolin.py
 ./katoolin.py 

카툴린은 어떻게 사용하나요?

Kali Linux 저장소를 추가하고 저장소를 업데이트하려면 메뉴에서 1 옵션을 선택하세요.

1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help

			
kat > 1

1) Add kali linux repositories
2) Update
3) Remove all kali linux repositories
4) View the contents of sources.list file

					
What do you want to do ?> 1
샘플 출력
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.DC9QzwECdM --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6
gpg: requesting key 7D8D0BF6 from hkp server pgp.mit.edu
gpg: key 7D8D0BF6: public key "Kali Linux Repository <[email >" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

그런 다음 위 인터페이스에서 옵션 2을 선택하여 저장소를 업데이트할 수 있습니다. 아래 출력에서는 Ubuntu에 Kali Linux 도구를 설치할 수 있도록 Kali Linux 리포지토리가 업데이트되는 부분만 캡처했습니다.

What do you want to do ?> 2
Ign http://in.archive.ubuntu.com vivid InRelease                                                                                            
Ign http://security.ubuntu.com vivid-security InRelease                                                                                                               
Ign http://in.archive.ubuntu.com vivid-updates InRelease                                                                                                               
Get:1 http://security.ubuntu.com vivid-security Release.gpg [933B]                                                                                                    
Ign http://in.archive.ubuntu.com vivid-backports InRelease                                                                                                                      
Get:2 http://repo.kali.org kali-bleeding-edge InRelease [11.9 kB]                                                                              
Get:3 http://security.ubuntu.com vivid-security Release [63.5 kB]                                                            
Hit http://in.archive.ubuntu.com vivid Release.gpg                                                                              
Get:4 http://repo.kali.org kali-bleeding-edge/main amd64 Packages [8,164 B]                                                
Get:5 http://in.archive.ubuntu.com vivid-updates Release.gpg [933 B]                                                                
Get:6 http://repo.kali.org kali-bleeding-edge/main i386 Packages [8,162 B]                                               
Hit http://in.archive.ubuntu.com vivid-backports Release.gpg    
...  

추가한 Kali Linux 저장소를 삭제하려면 옵션 3을 선택하세요.

What do you want to do ?> 3
 
All kali linux repositories have been deleted !

작업의 일부로 Apt 패키지는 다음과 같은 '소스'를 나열하는 /etc/apt/sources.list를 사용합니다. 다른 패키지를 구해서 설치합니다.

/etc/apt/sources.list 파일의 내용을 보려면 4 중 하나를 선택하세요.

What do you want to do ?> 4

#deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid main restricted

See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
...

뒤로 돌아가려면 간단히 back을 입력하고 [Enter] 키를 누르세요.

What do you want to do ?> back

1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help

			
kat > 

기본 메뉴로 돌아가려면 gohome을 입력하고 [Enter] 키를 누르세요.

kat > gohome

1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help

			
kat >

Katoolin을 사용하여 Ubuntu에 설치할 수 있는 다양한 카테고리의 Kali Linux 도구가 있습니다.

사용 가능한 카테고리를 보려면 기본 메뉴에서 2 옵션을 선택하세요.

kat > 2

**************************** All Categories *****************************

1) Information Gathering			8) Exploitation Tools
2) Vulnerability Analysis			9) Forensics Tools
3) Wireless Attacks				10) Stress Testing
4) Web Applications				11) Password Attacks
5) Sniffing & Spoofing				12) Reverse Engineering
6) Maintaining Access				13) Hardware Hacking
7) Reporting Tools 				14) Extra
									
0) All

			 
Select a category or press (0) to install all Kali linux tools .

원하는 카테고리를 선택하거나 (0) 옵션을 선택하고 [Enter]를 눌러 사용 가능한 모든 Kali Linux 도구를 설치할 수 있습니다.

Katoolin을 사용하여 ClassicMenu 표시기를 설치할 수도 있습니다.

    1. ClassicMenu 표시기는 Ubuntu Unity 데스크탑 환경의 상단 패널에 대한 애플리케이션 표시기입니다.
    2. 클래식 메뉴 표시기는 기본 Unity 대시 메뉴보다 이 메뉴를 선호하는 사람들을 위해 클래식 그놈 스타일 애플리케이션 메뉴를 얻을 수 있는 간단한 방법을 제공합니다.

자세한 내용은 http://www.florian-diesch.de/software/classicmenu-indicator/를 참조하세요.

클래식 메뉴 표시기를 설치하려면 y를 누르고 [Enter]를 누르세요.

kat > back

1) Add Kali repositories & Update 
2) View Categories
3) Install classicmenu indicator
4) Install Kali menu
5) Help

			
kat > 3
 
ClassicMenu Indicator is a notification area applet (application indicator) for the top panel of Ubuntu's Unity desktop environment.

It provides a simple way to get a classic GNOME-style application menu for those who prefer this over the Unity dash menu.

Like the classic GNOME menu, it includes Wine games and applications if you have those installed.

For more information , please visit : http://www.florian-diesch.de/software/classicmenu-indicator/


Do you want to install classicmenu indicator ? [y/n]> y
 This PPA contains the most recent alpha/beta releases for
 * Arronax http://www.florian-diesch.de/software/arronax/
 * ClassicMenu Indicator http://www.florian-diesch.de/software/classicmenu-indicator/
 * Privacy Indicator http://www.florian-diesch.de/software/indicator-privacy/
 * RunLens http://www.florian-diesch.de/software/runlens/
 * Unsettings http://www.florian-diesch.de/software/unsettings/
 * UUdeLens http://www.florian-diesch.de/software/uudelens
 More info: https://launchpad.net/~diesch/+archive/ubuntu/testing
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpaqk6fphl/secring.gpg' created
gpg: keyring `/tmp/tmpaqk6fphl/pubring.gpg' created
...

4 옵션을 선택하고 y를 누른 다음 [Enter]를 눌러 Ubuntu에 Kali 메뉴를 설치할 수도 있습니다.

Katoolin을 종료하려면 Control+C를 누르세요.

kat > ^CShutdown requested...Goodbye...

결론

이러한 설치 단계는 따르기 쉽고 Katoolin을 사용하는 것도 쉽습니다. 이 기사가 도움이 되기를 바랍니다. 추가 아이디어가 있으면 댓글을 게시하세요. 이와 같은 더 많은 가이드를 알아보려면 TecMint에 계속 연결되어 있는 것을 기억하세요.