Location of the filesystem that the Windows 10 bash shell uses.

Location of the Windows 10 bash shell files This is the location of the actual files that are installed when you install the Windows 10 bash shell. This means that it is not really a ext4 filesystem, but emulating this when you load it up in a CMD window. %localappdata%\lxss\rootfs%localappdata%\lxss\rootfs The location of the actual … Read more

Copy a file from one UNIX/Linux machine to another using the sftp utility.

Copying a file with sftp from one UNIX machine to another is very easy. The command below uses the SSH protocol and initiates a connection to the remote PC. ubuntu ~ $ sftp -P 443 [email protected] ~ $ sftp -P 443 [email protected] Press ENTER and type your password. The user will be presented with a … Read more

How to get just the IP address of your Linux machine using curl.

To get just the IP address of your Internet facing Linux machine, use this command. jason@jason-desktop:~/Documents/ipinfo/src$ curl icanhazip.comjason@jason-desktop:~/Documents/ipinfo/src$ curl icanhazip.com This will return just your IP address. This is another way to get this information. jason@jason-desktop:~/Documents$ curl ipinfo.io/ipjason@jason-desktop:~/Documents$ curl ipinfo.io/ip To get information about a DNS server, use the dig command. jason@jason-desktop:~/Documents/ipinfo/src$ dig 8.8.8.8   … Read more

Get information about your network connection with netstat on Windows.

Get network information on Windows with netstat Netstat on Windows can provide a lot of information about your network connection. This example shows netstat showing Ethernet statistics. c:\Windows\System>netstat -e Interface Statistics   Received Sent   Bytes 2307072092 27407417 Unicast packets 1757202 320154 Non-unicast packets 0 0 Discards 0 0 Errors 0 0 Unknown protocols 0c:\Windows\System>netstat … Read more

How to crack the cisco telnet password on a Cisco 2960 switch.

Cracking the Cisco telnet password on a Cisco 2960 switch is very easy when you are using the hydra password cracking tool. I used this command to crack the telnet login. hydra -P password.lst 10.42.0.87 cisco This is the password cracking session that resulted in me cracking the telnet login. root@darknet:~# hydra -P password.lst 10.42.0.87 … Read more

Why is Microsoft attempting to force Windows 10 updates upon the users of Windows 7 and 8?

Why is the giant Microsoft corporation attempting to force Windows 10 updates upon everyone? If it is to use Windows 10 to spy upon the users, then this does not make any sense. They could just include an update for Windows 7 or 8 that would include such telemetry software functionality. I guess they are … Read more

How to manipulate environment variables with the bash shell on Linux.

Manipulating environment variables in the bash shell is very useful indeed, this shows a few examples. This uses the feature of the Linux shell called parameter expansion. This replaces the name of an environment variable with it`s contents when echoed to the shell. These few examples show how the content echoed to the terminal may … Read more