Getting information from a Windows machine using the net command on Linux.

The net command may be used to get information from a Windows PC. Below is an example. I am reading the time from a Windows 7 Ultimate PC. root@debian:/home/homer# net time -I 192.168.100.5 Fri Jul 11 11:22:32 2014root@debian:/home/homer# net time -I 192.168.100.5 Fri Jul 11 11:22:32 2014 This command shows the network shares that my … Read more

How to calculate an IP subnetwork with the sipcalc command.

The sipcalc command is very useful for calculating an IP subnet. This command shows the amount of hosts available for a given subnet. root@debian:/home/homer# sipcalc 192.168.100.1/24 -[ipv4 : 192.168.100.1/24] – 0   [CIDR] Host address – 192.168.100.1 Host address (decimal) – 3232261121 Host address (hex) – C0A86401 Network address – 192.168.100.0 Network mask – 255.255.255.0 … Read more

The proper command to install the ATI fglrx drivers on Linux Mint Debian Edition.

This is the proper command to install the accelerated ATI drivers on Linux Mint Debian Edition. The fglrx-driver package allowed me to use higher resolutions after enabling the driver with this command: sudo aticontrol –initial but the driver did not allow acceleration. After using this command to install all of the required ATI packages, I … Read more

How to review package installation logs on Linux Mint Debian Edition.

The cat /var/log/apt/term.log command will allow you to retrieve information about a package installation; you may then review the installation process and see if anything went wrong during the installation process. In the example below, I am reviewing an installation of Midnight Commander. jason@darkstar:~$ cat /var/log/apt/term.log | grep mc Selecting previously unselected package libxdmcp6:amd64. Preparing … Read more

How you can take screenshots in Windows 8.1 and save them straight to the hard drive.

Windows 8.1 has a feature that not many people know about. You can press Win-PrtScr to take a screenshot and save it straight to the hard disk. The screenshots are saved in the Users/Homer/Pictures/Screenshots folder. This is a very useful way to take a screenshot and save it straight to the disk without having to … Read more

NSA equating Linux use with terrorism.

The NSA are equating Linux users with terrorists. This after they created the NSA Selinux security framework for Linux machines around the world. They are monitoring the visitors of the website http://www.linuxjournal.com and flagging them as terrorists and putting them on a watchlist. This is a quite concerning development. Linux users are usually more experienced … Read more

How to copy files from one machine to another using SSH and the sftp command.

The sftp command allows a user to retrieve files on a remote machine and save them on their computer. Use this command to access the files: sftp -P 443 [email protected]:/home/homer/Downloads/*.pdf I have my SSH server running on port 443, so I need to specify that port when using this command. I am using Cygwin on … Read more

Another way to listen to Wi-Fi traffic using Kali Linux and a wireless adaptor.

The p0f command for Kali Linux allows a user to listen in on traffic passing over a wireless network. I am using a Netgear WLAN adapter and I am listening in on an open Access Point. This is the command to use: p0f -i wlan0 this will start the p0f traffic sniffer. root@kali:~# p0f -i … Read more