How to use SSH to copy remote files from a server to your local machine.

This simple one-liner will copy all files into a tarball, send the compressed files over a secure SSH connection and then uncompress the files into a local directory. ┌──(john㉿DESKTOP-PF01IEE)-[~/website] └─$ ssh [email protected] -p 2222 "cd arma3/ ; tar cBf – ." | tar xvBf – [email protected]’s password: ./ ./README ./example_urllist.txt ./example_config.xml ./sitemap_gen.pl┌──(john㉿DESKTOP-PF01IEE)-[~/website] └─$ ssh [email protected]Read more

Performing forensics on files with Linux.

There are many ways to find files embedded inside other files, one way is using binwalk to find embedded files inside another file. This is how to use binwalk to list all embedded files inside a larger one. This takes a while with a multi-gigabyte file, but it does work. ┌──[[email protected]]─[/mnt] └──╼ ╼ $ binwalk … Read more

Good ways to send a folder from your machine to another over a network.

This example will send the Boomsrc folder and all of the contents to the remote machine under the /home/jason/Desktop directory. This is very fast and secure. ┌──[[email protected]]─[~/Documents] └──╼ ╼ $ tar cBf – Boomsrc | compress -c | ssh [email protected] "cd /home/jason/Desktop; uncompress -c | tar xBvf -"┌──[[email protected]]─[~/Documents] └──╼ ╼ $ tar cBf – Boomsrc … Read more

How to include other files in your .vimrc file to make it more organized.

The ~/.vimrc file is very useful to store your configuration settings in. But it can also have other files included in it, with a simple line of text. This means you can have one configuration file containing syntax highlighting settings and other settings in another file. This is how to do it. Use the line … Read more

Easily change files on your Linux system with a simple command.

This command will change the default port for the SSH server on your Linux machine. jason@jason-desktop:~$ perl -pi -e ‘s/^#?Port 22$/Port 443/’ /etc/ssh/sshd_configjason@jason-desktop:~$ perl -pi -e ‘s/^#?Port 22$/Port 443/’ /etc/ssh/sshd_config Then run this command to restart the SSH server. jason@jason-desktop:~$ sudo service ssh restartjason@jason-desktop:~$ sudo service ssh restart This will work very well. This is … Read more

How to use find on Linux to find and display a list of files.

The Linux find command is very useful for finding certain files. I will show how to search a folder and return a listing of files. This example below shows how to list all webm and gif files in the directory and all subdirectories. 4.4 Fri Feb 21 jason@Yog-Sothoth 0: $ find -regex ‘.*\.\(gif\|webm\)’ -print ./1397195397532.gif … Read more

Windows 10 KB4532693 update causing headaches for users.

Reports are increasing across Twitter and Microsoft forums that following the most recent Patch Tuesday update (KB4532693), users are complaining that their profiles and desktop files are missing, and that custom icons and wallpaper have all been reset to their default state. The KB4532693 update is allegedly causing much more serious headaches for some users. … Read more

How to create thumbnails of dds files in Ubuntu or Mint.

Thumbnailing for the DirectDraw Surface file format is not supported in Linux with the Caja file manager, but this is easy to fix. The /usr/share/thumbnailers/ directory contains all of the thumbnailer files that automatically create thumbnails in the file manager for Caja. Just create a file named dds.thumbnailer and put this in it. 2 3 … Read more

How to copy files from your machine to a backup drive. And how to do it over a network.

How to use rsync to send files from your hard disk to a backup drive. This example will copy the files from a folder to a backup drive and the ipinfo folder will be created on your backup HDD. rsync -av Documents/ipinfo/ /media/jason/Seagate\ Expansion\ Drive/Linux/ipinfo/ sending incremental file list created directory /media/jason/Seagate Expansion Drive/Linux/ipinforsync -av … Read more

Playing around with old stalker versions.

I have been playing around with old Stalker Shadow of Chernobyl builds. Build 1935 and build 2571. Firstly, I looked at build 2571. I cannot run this, but it is fun to look inside the game files and see what is inside. I used this utility to extract the game files. https://securitronlinux.com/linux/stalker/undb.zip. Just put it … Read more