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.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Solution to the error:
$ watch -n 1 "ls -ltr"
- Choose Force Quit from the Apple () menu, or press Command-Option-Esc.
This is similar to pressing Control-Alt-Delete on a PC.
- Select the app in the Force Quit window, then click Force Quit.
Original post: https://support.apple.com/en-us/HT201276
deb http://deb.debian.org/debian stretch main deb-src http://deb.debian.org/debian stretch main deb http://deb.debian.org/debian stretch-updates main deb-src http://deb.debian.org/debian stretch-updates main deb http://security.debian.org/debian-security/ stretch/updates main deb-src http://security.debian.org/debian-security/ stretch/updates main
apt install your_package_name
Edit your /etc/default/grub changing the line from
$ sudo update-grub
and reboot your system:
$ sudo reboot
Now when you use “ifconfig” you will not see “enp0s3” but the traditional one “eth0“
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.
- 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)
How to get your WiFi working
- Log in as super user root with password toor
- 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)
*** note that to know which chipset drivers to install, you can check here:
Then you’ll see that DWA-182 uses Realtek RTL8812AU