Category: Debian

Netdiscover great tool for scaning and watching local network

Netdiscover great tool for scaning and watching local network

Netdiscover is a popular network discovery tool that is used in Linux to identify live hosts on a network. It sends ARP (Address Resolution Protocol) requests to the network and then listens for replies from active hosts. By analyzing the replies, Netdiscover can build a list of all hosts that are currently active on the […]

Read more »

Checking the disk for errors and bad sectors

Checking the disk for errors and bad sectors

This script helps to notify me by e-mail about the condition of the disk. Remember to indicate the disk accordingly – in this case it is “/dev/sda” and change the e-mail address from “soban@soban.pl” to your own. Save the script in “/root/checkbadsector.sh“: You can also download it from https://soban.pl/bash/checkbadsector.sh: Remember to grant permission to perform […]

Read more »

Check DNS and more information about domain

Check DNS and more information about domain

The best way to check information about domain and DNS configuration is “whois” and “dig”. This tools can provide a lot of informations. Lets try use it. First we must check that package is installed.I have already installed “dig”: In debian, you can use “dpkg -S” if you don’t have it then you should install: […]

Read more »

Pointing DNS to a different IP address

Pointing DNS to a different IP address

Sometimes it is necessary to change the DNS name indication to a different IP address. As you can see in the example below, google.com currently points to: To change google.com indication to, for example – 37.187.101.239, edit the file: “/etc/resolv.conf” as root: After making this change, the effect is as follows: Windows as you see […]

Read more »

Automatic update of the Debian Linux test environment

Automatic update of the Debian Linux test environment

A convenient way to maintain the test environment is automatic updating.However, remember to set the backup, e.g. the day before – I always set it like that in proxmoxe.The script that updates the Debian system looks like this: You can download the script from: The script cleans unnecessary deb files after the update.Keep in mind […]

Read more »

Upgrade Debian GNU/Linux 10 (buster) to 11 (bullseye)

Upgrade Debian GNU/Linux 10 (buster) to 11 (bullseye)

Before we start upgrading the Debian system version, please make a snapshot or a possible backup of the system. Such a change entails significant changes that can damage the system. Of course, before you upgrade the system in production, it is best to upgrade to the testing environment first. The upgrade process affects the entire […]

Read more »

nmap scaning ciphers and ssl

nmap scaning ciphers and ssl

Nmap – scanning SSL/TLS ciphers on Debian 11 In this example we are working on Debian 11 (Bullseye). First, let’s confirm the system version: Nmap is one of the most powerful network scanning tools available on Linux. It allows you to scan open ports, detect running services, identify software versions and analyze supported SSL/TLS protocols […]

Read more »

sslscan tool for scaning SSL

sslscan tool for scaning SSL

SSLScan is a command-line tool used for SSL/TLS vulnerability scanning. It is used to detect SSL/TLS vulnerabilities and weaknesses on servers that use SSL/TLS. SSLScan supports all SSL and TLS protocols and cipher suites, including new ones such as TLS 1.3. SSLScan can be used to identify various SSL/TLS vulnerabilities, such as weak ciphers and […]

Read more »

Expired domain nginx

Expired domain nginx

Script to help check if the domain is expiring (don’t forget change e-mail in script – now is soban@soban.pl): This way you can download the script and give it permission to run: And now we can add it to crontab, on monday for example:

Read more »