Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts

Wednesday, February 18, 2026

TryHackMe — Intermediate Nmap writeup​

 Can you combine your great nmap skills with other tools to log in to this machine?

Intermediate Nmap

step 1

nmap -sV VM_IP


3 open ports

​

step 2

as last one is not standard port I have opened the web browser and IP+port and here was the plaintext username and password.

step3
trying to connect via ssh with username and pass found in previous step
and I was logged in. I have also checked directory and user

step4

my first guess was that the flag will be in flag file and I went to search for the file

find / -name flag* 2>/dev/null

result of the search returned following list and last on the list was correct one


Tuesday, October 22, 2024

How to Install ifconfig on Debian

Do you see ifconfig command not found error in Debian? Here is my quick tutorial on how to install it on Debian.

 

I have made fresh install of Debian 12 server on my VM and  i wanted to check IP of VM and I have encountered the problem:

 The ifconfig package is not included by default in Debian since it is being phased out in favor of the ip command. The ip command now handles tasks such as modifying or displaying routing, network devices, interfaces, and tunnels."

 If we still want to use the good old ifconfig command, you'll have to install it explicitly.

 

Installing ifconfig command in Debian 

The ifconfig is not a package in its own. It is installed with net-tools package that has some additional networking tools. 

So to get ifconfig, you need to install net-tools package like this:

sudo apt install net-tools

After install you can use the command:


However, I strongly advise you should start using the IP command. Sooner or later, net-tools will be completely deprecated and you won't be able to install it.

TryHackMe — Intermediate Nmap writeup​

  Can you combine your great nmap skills with other tools to log in to this machine? Intermediate Nmap step 1 nmap -sV VM_IP 3 open ports ​ ...