Tag Archives: network

Exfiltrating data using ICMP protocol

The main objective of this article is to demonstrate how ICMP packet could be used to exfiltrate data using Python. I’ll cover the following: What is ICMP protocol ICMP, or Internet Control Message Protocol, is a supporting protocol in the … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

How to scan for devices in your network in Ubuntu

sudo apt install arp-scan sudo arp-scan -l –interface=wlp2s0 Replace wlp2s0 with your NIC’s name, works for both wireless and wired Source: https://askubuntu.com/questions/82480/how-to-see-all-computers-connected-to-a-network

Posted in Linux | Tagged , , | Leave a comment

List network adapters connected to Ubuntu Server

sudo ls /sys/class/net Source: https://askubuntu.com/questions/296152/how-to-check-what-is-my-network-card-on-ubuntu

Posted in Ubuntu | Tagged , | Leave a comment

How to configure network settings in CentOS (from dhcp to static)

It’s a bit different from what we’re used to do in Ubuntu, here are the instructions, assuming our network interface is eth0: Take a backup from the “/etc/sysconfig/network-scripts/ifcfg-eth0” file, e.g. by the following command: “cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak” Open the “/etc/sysconfig/network-scripts/ifcfg-eth0” file for … Continue reading

Posted in Linux | Tagged , , , , , , , | Leave a comment

How to change hostname in Redhat & Oracle Linux

As user “root” “vi /etc/sysconfig/network”, change HOSTNAME value to the new hostname “hostname NEW_HOST_NAME” to change it for the current sessions “vi /etc/hosts”, change the old value to point to the new hostname “service network restart” to restart the networking … Continue reading

Posted in Linux | Tagged , , , , | 2 Comments