ค้นหาเว็บไซต์

วิธีติดตั้งเครื่องมือ Kali Linux ทั้งหมดโดยอัตโนมัติโดยใช้ "Katoolin" บน Debian/Ubuntu


Katoolin เป็นสคริปต์ที่ช่วยติดตั้ง เครื่องมือ Kali Linux บนการกระจาย Linux ที่คุณเลือก สำหรับพวกเราที่ชอบใช้เครื่องมือทดสอบการเจาะระบบที่ทีมพัฒนา Kali Linux มอบให้ สามารถทำได้อย่างมีประสิทธิภาพบนการกระจาย Linux ที่ต้องการโดยใช้ Katoolin

ในบทช่วยสอนนี้ เราจะดูขั้นตอนในการติดตั้ง Katoolin บนอนุพันธ์ที่ใช้ Debian

ลักษณะสำคัญของคาทูลิน

  1. การเพิ่มที่เก็บ Kali Linux
  2. การลบที่เก็บ Kali Linux
  3. การติดตั้งเครื่องมือ Kali Linux

ความต้องการ

ข้อกำหนดสำหรับการติดตั้งและใช้งาน Katoolin

  1. ระบบปฏิบัติการสำหรับกรณีนี้เราใช้ Ubuntu 14.04 64 บิต
  2. หลาม 2.7

การติดตั้ง Katoolin

หากต้องการติดตั้ง 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 จากอินเทอร์เฟซด้านบนเพื่ออัปเดตที่เก็บข้อมูล จากผลลัพธ์ด้านล่าง ฉันบันทึกเฉพาะบางส่วนที่มีการอัปเดตที่เก็บ Kali Linux เพื่อให้สามารถติดตั้งเครื่องมือ Kali Linux ใน Ubuntu ได้

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
...

หากต้องการย้อนกลับ คุณสามารถพิมพ์กลับแล้วกดปุ่ม [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 >

มีเครื่องมือ Kali Linux หลายประเภทที่คุณสามารถติดตั้งบน Ubuntu โดยใช้ Katoolin

หากต้องการดูหมวดหมู่ที่มีอยู่ ให้เลือกตัวเลือก 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 .

คุณสามารถเลือกหมวดหมู่ที่ต้องการหรือติดตั้งเครื่องมือ Kali Linux ทั้งหมดที่มีอยู่โดยเลือกตัวเลือก (0) แล้วกด [Enter] เพื่อติดตั้ง

คุณยังสามารถติดตั้งตัวบ่งชี้ ClassicMenu โดยใช้ Katoolin

    1. ClassicMenu Indicator เป็นตัวบ่งชี้แอปพลิเคชันสำหรับแผงด้านบนของสภาพแวดล้อมเดสก์ท็อป Unity ของ Ubuntu
    2. ClassicMenu Indicator มอบวิธีง่ายๆ ให้คุณรับเมนูแอปพลิเคชันสไตล์ GNOME แบบคลาสสิกสำหรับผู้ที่ต้องการสิ่งนี้มากกว่าเมนู Dash ของ Unity เริ่มต้น

สำหรับข้อมูลเพิ่มเติม กรุณาเยี่ยมชม: http://www.florian-diesch.de/software/classicmenu-indicator/

หากต้องการติดตั้งตัวบ่งชี้ classicmenu ให้กด 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
...

คุณยังสามารถติดตั้งเมนู Kali ใน Ubuntu ได้โดยเลือกตัวเลือก 4 แล้วกด y จากนั้นกด [Enter]

หากต้องการออกจาก Katoolin เพียงกด Control+C

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

บทสรุป

ขั้นตอนการติดตั้งเหล่านี้ง่ายต่อการติดตามและการใช้ Katoolin ก็ทำได้ง่ายเช่นกัน หวังว่าบทความนี้จะเป็นประโยชน์ หากคุณมีความคิดเพิ่มเติมใด ๆ ให้โพสต์ความคิดเห็น อย่าลืมเชื่อมต่อกับ TecMint เพื่อดูคำแนะนำเพิ่มเติมเช่นนี้