How to ‘Cut’ or ‘Move’ file in macOSX

For Windows or Ubuntu users, you may be familiar with moving/cutting file from one location to another using “Ctrl+X” then paste using “Ctrl+V”. Unfortunately, there’s no such thing in macOSX.

To cut file and paste it in macOSX, you always use “Ctrl+C”, but instead, you need to use “Ctrl+Option+V” otherwise it will end up copying NOT moving.

Debian 9 (stretch) source.list example

vi /etc/apt/sources.list

deb stretch main
deb-src stretch main

deb stretch-updates main
deb-src stretch-updates main

deb stretch/updates main
deb-src stretch/updates main

apt update

apt install your_package_name

How to install USB wireless dongle on Kali Linux or Ubuntu

For this tutorial, I have a DWA-182 USB wireless dongle which is one of the affordable devices that we can start with when getting into Wireless hacking/pen testing on Kali Linux.

Now, I’ll show you how to get it works.

My scenario:

  • I have Kali 2017.3 32 bit as installed on Virtualbox on Macbook air (early 2015)
  • I have DWA-182 (rev. C1) USB wireless dongle connected my Kali VM from my Mac (refer to below figure)

Screen Shot 2018-01-30 at 3.51.25 AM

How to get your WiFi working

  1. Log in as super user root with password toor
  2. Open terminal and issue
$ lsusb (you should see D-Link adapter)
$ apt update && apt upgrade -y
$ apt install realtek-rtl88xxau-dkms -y (rtl8812au-dkms for ubuntu)
$ reboot
==== after reboot ===
$ ifconfig (you should see wlan0 now)
$ ifconfig wlan0 down
$ iwconfig wlan0 mode monitor
$ ifconfig wlan0 up
$ tcpdump -I -i wlan0 -w ~/my-trace.pcap (listen packets on air)

Screen Shot 2018-01-30 at 3.44.24 AM

*** note that to know which chipset drivers to install, you can check here:

Then you’ll see that DWA-182 uses Realtek RTL8812AU