H4x0r
./ عضو




السمعة:
- إنضم26 يونيو 2023
- المشاركات 80
- الحلول 1
- مستوى التفاعل 229
- النقاط 33
تنزيل snort tool على kali linux >>>>
Make a Backup of Current Sources.list File
First, we need to create a backup of Kali’s sources.list file in order to restore it later:
الجزء الأول [اضغط هنا]
Make a Backup of Current Sources.list File
First, we need to create a backup of Kali’s sources.list file in order to restore it later:
mv /etc/apt/sources.list /etc/apt/sources.list.bak
Remove currently installed Kali Updates
Go to /var/lib/apt/lists and delete all the files within the directory, leaving only the partial and auxfiles directory:find /var/lib/apt/lists -type f -exec rm {} ;
Download Ubuntu Sources.list File
Download Ubuntu’s sources.list file into the /etc/apt/ directory:wget https://gist.githubusercontent.com/...241e6fd851ca1c1cbcc4d7e87382f484/sources.list -O /etc/apt/sources.list
Attempting to Update
Run sudo apt update and you should be ready to install snort now!sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
Install Snort
After successfully updating our apt repository using the Ubuntu sources.list file, we can install Snort:Note: You will be prompted to enter the IP address or IP address range of your computer using CIDR notation for Snort’s configuration. Enter your IP address or IP address range and hit enter.sudo apt install snort
Restoring Kali’s Repository Sources.list File
After installing Snort, remove the new update files located in /var/lib/apt/lists:Then, rename the current Ubuntu sources.list file to ubuntu_sources.list, just in case you need it again in the future:find /var/lib/apt/lists -type f -exec rm {} ;
Finally, rename the Kali Linux /etc/apt/sources.list.bak file back to /etc/apt/sources.list:mv /etc/apt/sources.list /etc/apt/ubuntu_sources.list
and run sudo apt update && sudo apt upgrade.mv /etc/apt/sources.list.bak /etc/apt/sources.list
الجزء الأول [اضغط هنا]
التعديل الأخير بواسطة المشرف: