Posts

Showing posts from 2023

Create and Extend XFS filesystem based on LVM

Create a partition using fdisk Run this command and set the options as below obviously changing the bits that are unique to your setup (i.e size): fdisk /dev/sdb [root@lab01 ~]# fdisk /dev/sdb Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Device does not contain a recognized partition table Building a new DOS disklabel with disk identifier 0x26d678c7. Command (m for help): n Partition type: p primary (0 primary, 0 extended, 4 free) e extended Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-104857599, default 2048): Using default value 2048 Last sector, +sectors or +size{K,M,G} (2048-104857599, default 104857599): +40G Partition 1 of type Linux and of size 40 GiB is set Command (m for help): t Selected partition 1 Hex code (type L to list all codes): 8e Changed type of partition 'Linux' to 'Linux LVM' Command (m for help): w ...

Deauthentication Attack using Kali Linux

  This article will show you how to disconnect devices from a network with a deauth attack using Kali Linux and the aircrack-ng suite. NOTE: THIS IS FOR EDUCATIONAL PURPOSES ONLY. In short a deauth attach makes your wifi card in monitor mode spoof a MAC address of something already connected to the network, the router then says "Hey, there are two devices on here with the same MAC address" it then sends a command to all connected devices to re authenticate, kicking them off the network forcing them to re join. Obviously if you are continuing to run the attack this will happen over and over again meaning devices wont be able to connect to the wifi. The above is a simple explanation, if you want more technical detail.....Google it. Before we start my wifi adapter is wlan0 so you will need to adjust the commands if your adapter is a different name. 1. Down the wifi adapter sudo ifconfig wlan0 down 2. Kill airmon-ng if it's running sudo airmon-ng check kill 3. Put adapter in ...