More very useful Arma 3 scripting commands.

Some very cool Arma 3 SQF scripting samples Shoot a vehicle or soldier 50,000 feet into the sky. cursorTarget setVelocity [0,0,1000]; hint format["%1 Is flying to space!",name cursorTarget];cursorTarget setVelocity [0,0,1000]; hint format["%1 Is flying to space!",name cursorTarget]; Spawn an AAF support crate in random houses around the HQ. _houseList = getPos _cargo nearObjects ["House",500]; { … Read more

Crack an SSH password with hydra and ways to avoid this in future.

I used this command to crack a Linux SSH account with hydra. hydra -l trump -P rockyou.txt ssh://192.168.1.2hydra -l trump -P rockyou.txt ssh://192.168.1.2 And this is the output I got once I managed to crack the user account over SSH. This is why you have fail2ban and other protections against brute force attacks. ┌─[✗]─[root@parrot]─[~/hs] └──╼ … Read more

How to get good system information quickly on Linux.

Get Linux system information To get good Linux system information, use these simple utilities. 1. Screenfetch. Install screenfetch. jason@jason-desktop:~$ sudo apt install screenfetchjason@jason-desktop:~$ sudo apt install screenfetch Then run it to get information about your PC. jason@jason-desktop:~$ screenfetch ./+o+- jason@jason-desktop yyyyy- -yyyyyy+ OS: Ubuntu 17.04 zesty ://+//////-yyyyyyo Kernel: x86_64 Linux 4.10.0-35-generic .++ .:/++++++/-.+sss/` Uptime: 1h … Read more

Get comprehensive networking information from the command line.

If you are using Network Manager to connect to a network, then it is possible to get comprehensive networking information from the command line. This command will print a lot of information about your Network Manager configuration. jason@jason-desktop:~$ nmcli dev showjason@jason-desktop:~$ nmcli dev show Show a listing of available WIFI access points. jason@jason-desktop:~$ nmcli device … Read more

Some useful tips for listing directories with ls on Linux.

To list the contents of a directory with the listing sorted by size, use the parameters in this example. ls –format=long –sort=size -hls –format=long –sort=size -h This is what you will get. total 15G -rw-rw-r– 1 ubuntu ubuntu 15G Dec 2 2014 crackstation.txt -rw-rw-r– 1 ubuntu ubuntu 20M Mar 20 2015 system.save -rw-rw-r– 1 ubuntu … Read more

How to download video from video sites easily on Ubuntu 17.04.

Downloading clips with clipgrabWatch Youtube videos with MPVDownload Youtube videos while playing them with mpv If the xvideoservicethief application does not work for you in 2019, give this one a go instead, it is working very well on multiple websites: https://securitronlinux.com/bejiitaswrath/how-to-download-videos-from-websites-in-2019/. it is called Clibgrab and does the same job as xVideoServiceThief, but works with … Read more

How to use the sed command to filter text files in Linux and other useful shell tricks for the Linux command line.

Using sed to filter a text file and change a specific character for another. In this case the ” character becomes the ‘ character using the magic of the sed command. Since I am using a character the shell also uses I have to escape it out so the command will work. This can make … Read more

Some more Arma 3 script samples.

Very useful Arma 3 scripting samples This scripting sample will remove the solar panels and doors from the Orange DLC tents and make them look like a good old fashioned MASH tent. med1 animateSource ["MedSign_Hide",1,true]; med1 animateSource ["Door_Hide",1,true]; med1 setObjectTextureGlobal [0,"\A3\Structures_F_Orange\Humanitarian\Camps\Data\MedicalTent_01_tropic_F_CO.paa"];med1 animateSource ["MedSign_Hide",1,true]; med1 animateSource ["Door_Hide",1,true]; med1 setObjectTextureGlobal [0,"\A3\Structures_F_Orange\Humanitarian\Camps\Data\MedicalTent_01_tropic_F_CO.paa"]; Add this code to your initServer.sqf … Read more

The proper way to use grep without cat. And some nice tricks.

This is the proper way to use grep. You do not need to use cat at all. This method works well and is one command, not two piping together. jason@jason-desktop:~/Documents$ grep apt-get ../.bash_history sudo apt-get update sudo apt-get install me-tv sudo apt-get update && sudo apt-get install xvst apt-get moo apt-get moojason@jason-desktop:~/Documents$ grep apt-get ../.bash_history … Read more