Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

metapackages kali linux


Skip to content
All gists
Back to GitHub
@Batuhanaydn
@Batuhanaydn
Batuhanaydn/Kali Linux Metapackages
Created 6 months ago

    0

Code
Revisions 1
Kali Linux Metapackages
import os

# Metapackages are used to install many packages at one time, created as a list of dependencies on other packages. Kali Linux uses these in a few ways. One way is allowing users to decide how many packages out of the total Kali list they would like to install. Need just enough to use Linux? Want enough to conduct Pentests? Perhaps nearly every package available in Kali?

# To install a metapackage we first need to update and then install the desired package:

apt = "apt install "
kali_tools = "kali-tools-"
y = " -y"

kali_tools_pack_name = ["information-gathering", "vulnerability", "web", "database", "passwords", "wireless", "reverse-engineering", "exploitation", "social-engineering", "sniffing-spoofing", "post-exploitation", "forensics", "reporting"]
print("1 ) To list Kali tools")
print("2 ) To add Kali mirrors")
print("3) README.md")
select = input("Please choose one of the options. Press q to exit: ")    
if select == "q":
    quit()
if select == "1":    
    for number,tools in  enumerate(kali_tools_pack_name):
        print(f"{number} ) {tools}")
    select_tools = int(input("Which tool package would you like to install: "))
    print(apt+kali_tools+kali_tools_pack_name[select_tools]+y)
    os.system(apt+kali_tools+kali_tools_pack_name[select_tools]+y)

if select == "2":
    print("Add Mirror...")
    mirrors = 'echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" | sudo tee /etc/apt/sources.list'
    os.system(mirrors)
# @Batuhanaydn


Comment

kali metapackages detail

All kali packages for container or use as required.

https://www.kali.org/docs/general-use/metapackages/
Comment

kali metapackages detail

all kali metapackages with detail
Comment

PREVIOUS NEXT
Code Example
Shell :: change desktop icon size in linux 
Shell :: how to scan for raspberry pi on network windows 
Shell :: rman commands 
Shell :: helm commands 
Shell :: logitech g hub not installing windows 10 
Shell :: window reset wifi cmd 
Shell :: remove file from repo 
Shell :: linux -ltr 
Shell :: how to do create diff file in git 
Shell :: how to move git clone to another git repo 
Shell :: Download file from URL on Linux using command line 
Shell :: git make new branch 
Shell :: react native cannot connect to metro server 
Shell :: pip install six 
Shell :: scp copy directories 
Shell :: append data to a file with cat command 
Shell :: git switch branch 
Shell :: kubectl logs with grep 
Shell :: list directories linux 
Shell :: debian list packages automatic install 
Shell :: fix corrupt pdf command line 
Shell :: bitbucket ssh key not working 
Shell :: visual studio 2022 cannot install nuget package 
Shell :: df command linux concepts 
Shell :: dir to file txt 
Shell :: git subtree 
Shell :: git pull in forked repo 
Shell :: common use of python sys library 
Shell :: how to download fl studio on linux 
Shell :: shell pipe 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =