To find out what repository a package came from, use the dpkg -s command. [email protected]:~$ dpkg -s zdoom Package: zdoom Status: install ok installed Priority: optional Section: web Installed-Size: 9330 Maintainer: DRD Team <[email protected]> Architecture: amd64 Version: 2.8.1 Depends: libc6, libstdc++6, zlib1g, bzip2, libgtk2.0-0 Recommends: timidity, libfluidsynth1 Description: Advanced Doom source [email protected]:~$ dpkg -s zdoom …

The Windows in an Xorg session may easily be manipulated with this simple utility. Xdotool. This is a terminal utility to manage Xorg windows. Firstly, install this simple utility. [email protected]:~$ sudo apt install [email protected]:~$ sudo apt install xdotool Then we can resize a MATE Terminal window. xdotool search –onlyvisible –classname "gnome-terminal" windowsize %@ 500xdotool search …

Cracking an Ubuntu password with John the Ripper is very easy. All that is needed is a good wordlist and the John The Ripper utility. Install the John the Ripper password cracking utility. [email protected]:~/Documents/Windows$ sudo apt install [email protected]:~/Documents/Windows$ sudo apt install john Dump the Linux user account information to a file from the shadow and …

To find all the saved WIFI passwords and Ethernet connection information on your Linux desktop or laptop, navigate to this directory. /etc/NetworkManager/system-connections/etc/NetworkManager/system-connections Here are the connections on my laptop. ┌─[[email protected]]─[/etc/NetworkManager/system-connections] └──╼ #ls -hula total 20K drwxr-xr-x 2 root root 4.0K Aug 24 13:36 . drwxr-xr-x 7 root root 4.0K Aug 24 13:29 .. -rw——- 1 …

Starting a USB wireless interface in monitor mode. ┌─[[email protected]]─[/home/jason] └──╼ #airmon-ng start wlan1   Found 3 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you may want to run ‘airmon-ng check kill’   PID Name 593 NetworkManager 749 wpa_supplicant 923 dhclient   PHY Interface Driver …

Get your Internet routable IP address with the command line. [[email protected] ~]$ curl ‘https://api.ipify.org’ ; echo[[email protected] ~]$ curl ‘https://api.ipify.org’ ; echo Get the startup time of your Linux PC with Systemd. [[email protected] ~]$ systemd-analyze Startup finished in 1.186s (kernel) + 9.653s (initrd) + 2min 37.144s (userspace) = 2min 47.984s[[email protected] ~]$ systemd-analyze Startup finished in 1.186s …

Sample Iptables configurations A sample iptables output that I am using on an OpenVPN server to allow Internet traffic to be passed through it. ubuntu ~ $ sudo iptables-save # Generated by iptables-save v1.4.21 on Wed Aug 2 22:19:48 2017 *filter :INPUT ACCEPT [2654934:1228315333] :FORWARD ACCEPT [31023:17433690] :OUTPUT ACCEPT [2475842:555885003] COMMIT # Completed on Wed …

To start a Wireless interface in monitor mode, use this command. This will create a new interface that we may use to attempt to crack a wireless network. ┌─[[email protected]]─[/home/user] └──╼ #airmon-ng start wlan1   Found 2 processes that could cause trouble. If airodump-ng, aireplay-ng or airtun-ng stops working after a short period of time, you …