Netifaces is a python module maintained by Alastair and opalmer, I have been benefited by this module a lot. It is easy to use and there are a lot of possibilities with this module. Here are some examples of usage and finally there will be a code of automatic mac address changer without user to … Continue reading [python]Netifaces module
I have been wanted to do linux kernel hardening a long time ago. I first heard about grsecurity from my friend William who is a security enthusiast. I have read several guides on how to patch the kernel source code but by far this article is the best. I am using CentOS 6.4 for the … Continue reading OS: Patching the linux kernel with grsecurity patch
Step 1: Edit this file /etc/gdm3/greeter.gconf-defaults sudo gedit /etc/gdm3/greeter.gconf-defaults Look for #Use specific background Uncomment or add your own line (The absolute path to myimage.jpg is an example on where my image is) /desktop/gnome/background/picture_filename /home/user/wallpaper/myimage.jpg Step2 : sudo dpkg-reconfigure gdm3 This reconfigure the gdm3 config, without doing this your gdm background image … Continue reading Linux: To change background of GDM3
You have been tasked to set up a Linux server, you have just installed the core packages of debian with debian small CD. After installation is completed, you download two rootkit checkers: apt-get update #To ensure you have the latest package database. apt-get upgrade #To ensure you have the latest package with security holes patched. … Continue reading Debian: Checking your Linux for potential rootkit
You are using Debian, you installed wireshark, launched it and found that there was no interface (under interface list) for wireshark to capture; you checked /etc/group and did not find a group known as wireshark, then it is most likely libpcap-dev not installed. sudo apt-get install libpcap-dev sudo dpkg-reconfigure wireshark-common. A ncurse screen appears asking … Continue reading Wireshark for Linux: No interface is listed.
The error "/usr/bin/dumpcap permission denied" appeared when executing wireshark as a normal user. Using package manager to install wireshark may encounter this problem. This is solved by adding normal user into group wireshark: gpasswd -a cyrus wireshark Check to see if you are in the group wireshark: cat /etc/group |grep wireshark Once ensure your username … Continue reading Wireshark (/usr/bin/dumpcap permission denied)
Pre-requisite 1. Video driver installed. 2. dbus installed and loaded. 3. consolekit installed. 4. true type font (like ttf-dejavu) installed. 5. Input drivers installed: xf86-input-mouse and xf86-input-keyboard. 6. gamin installed. (For monitoring files and directories) 7. System fully upgraded (At least for Arch Linux, this is a recommendation) 8. Power utilities program for hibernate, shutdown, … Continue reading Linux: Ways to start desktop manager and desktop environment