Skip to main content

Posts

Showing posts with the label common commands

How To Change To Random MAC Address - Kali Linux

  How To Change MAC Address To Random  (Hide Your Location)  sudo ifconfig - IP information and configuration settings If you haven't got macchanger already, don't worry! Its simple to install! Just type the following command to install: sudo apt-get install macchanger If you have mac-filtering enabled on your router, you'll want to select NO on the popup message after entering this command, otherwise you won't be able to connect to your own WiFi.   Help Menu macchanger --help    View your current mac address: sudo macchanger -s eth0 You will now see that your current mac and your permanent mac are the same. To stop this from being exposed, you'll need to change it to something more.. random!  Now It's Time To Spoof Our MAC Address! Enter The Highlighted Commands In Order: sudo macchanger -s eth0            views current mac sudo ifconfig eth0 down            bring down network sudo macchanger -r eth0            random mac applied    sudo ifconfig eth0 up     

Manipulate Files & Directories In Kali Linux - Common Commands

    Manipulate Files & Directories Navigate directories pwd: Display path of current directory you’re in ls: List all files and folders in the current directory ls -la: List detailed list of files and folders, including hidden ones   Change to a specific directory cd: Change to home directory cd /user/Desktop: Change to a specific directory called Desktop cd .. : Move back a directory Create a directory/folder mkdir <dir>: Create a new directory mkdir /home/Desktop/dir: Create a directory in a specific location   Create and edit files touch <file>: Create an empty file nano <file>: Edit an existing file or create it if it doesn’t exist. Alternatives to nano text editor: vim, emacs   Copy, move and rename files and directories cp <file1> <file2>: Create a copy of a file cp -r <dir1> <dir2>: Create a copy of a directory and everything in it cp <file> /home/Desktop/file2: Create a copy of a file in a different directory and