How to install Fluxion in Linux Mint or Ubuntu
Fluxion is a program to audit wireless Wi-Fi networks. It uses social engineering instead of brute-force. Fluxion is a successor of well-known linset.
This guide will show installation process of Fluxion on Linux Mint or Ubuntu.
The application has required dependencies. Some of them can be installed from system repositories. Dependencies, which are absent in repositories, we should install from sources. After you execute every command from this guide, you will get workable Fluxion with all necessary dependencies.
We are updating the package cache:
sudo apt update
Install git package:
sudo apt install git
We need aircrack-ng suit and mdk3. aircrack-ng is present in Linux Mint and Ubuntu repositories. But the version of aircrack-ng in repositories is old. I recommend you to install aircrack-ng from sources.
Create directory for our purpose:
mkdir bin cd bin
Attention, this step is optional, it is needed to install the latest version of aircrack-ng. If you are satisfied with the version from the repository, skip this step.
Remove very old aircrack-ng from default repository, install aircrack-ng dependencies, download aircrack-ng source, compile and install aircrack-ng
sudo apt remove aircrack-ng sudo apt install autoconf automake libpcre3-dev libnl-3-dev libsqlite3-dev libssl-dev ethtool build-essential g++ libnl-genl-3-dev libgcrypt20-dev libtool python3-distutils sudo apt install -y pkg-config git clone https://github.com/aircrack-ng/aircrack-ng.git cd aircrack-ng/ autoreconf -i ./configure --with-experimental --with-ext-scripts make sudo make install sudo airodump-ng-oui-update # up cd ..
========= END OF OPTIONAL STEP =========
Download mdk3 source, compile and install mdk3
sudo apt-get install git build-essential git clone https://github.com/charlesxsh/mdk3-master.git cd mdk3-master make sudo make install # up cd ..
Download coWPAtty source, compile and install coWPAtty
sudo apt install libpcap-dev wget http://www.willhackforsushi.com/code/cowpatty/4.6/cowpatty-4.6.tgz tar xvzf cowpatty-*.tgz rm cowpatty-*.tgz cd cowpatty* make sudo make install # up cd ..
Cleaning:
rm -rf mdk3-master/ aircrack-ng/ cowpatty-*
Fluxion installation:
git clone https://github.com/FluxionNetwork/fluxion cd fluxion/ sudo ./fluxion.sh
At the first start, the program will install all necessary dependencies.
To be able perform Wi-Fi audit successfully, you need to have special Wi-Fi adapter, fox example Alfa AWUS052NH or Panda Wireless PAU09 N600.
Related articles:
- How to install airgeddon on Linux Mint or Ubuntu (100%)
- How to install the Realtek RTL8821CE driver (86.1%)
- How to install the latest aircrack-ng release in Linux Mint or Ubuntu (80.8%)
- How to install WiFi-Pumpkin in Linux Mint or Ubuntu (80.8%)
- WiFi-autopwner: script to automate searching and auditing Wi-Fi networks with weak security (69.2%)
- New Kismet version (RANDOM - 55.2%)
how to reverse all of this?
The guide was updated for Fluxion 4.
How To Fix It?
What is your OS? Do you use headless system (without graphical environment)? Or maybe you connect to the system via SSH?
Execute in the console:
What does it output?
Mine
xdpyinfo xdpyinfo: unable to open display "0.0".
mine
name of display: :0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 11906000
X.Org version: 1.19.6
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
…………………
……..
….
Last night i've been success for this tutorial and the fluxion 4 installed, but when i open that in diferrent time a fluxion cameback to 2 version .. tell me why ? it is cause i update the software or no ?
I'm sorry for bad language
Hello! I suppose you installed Fluxion twice in different directories. So the second time you ran an old fluxion instance. To run the fresh fluxion instance try the commands:
yes , i forget there is different directories . first root and no root..
on my fluxion show 'cowpatty' , it can't be installed .. i try update and download from sourceforge.. have you a link from github, other command or references about that ?
Thank you for your report about the new dependency. I will make tests and fix this guide later, when I have free time.
ok
Hello! I have updated the guide. To install coWPAtty:
Woow Its Work, Thanks
make has an error.
Hello! Thank you for the report! It is necessary to install the package:
I have already fixed the guide.
i followed all your steps.
but is still says cowpatty is missing
hello how are you today
i have problem with fluxiion Aborted, X (graphical) session unavailable
Try this before:
How can i fix the "route" missing in fluxion..The program cant fix or download the dependence as there is a bug saying "No internet connect" where i'm connected to my home wifi…well i manually fixed all except "route" dependence …hope to get a wise suggestion…thanks
Hello everybody,
I am a Beginner.
I was able to install anything on fluxion except "php-cgi" I try to install it via "sudo apt install php7.2-cgi" but there is an error message
Errors occurred at
"Php7.2-common
macchanger
php7.2-readline
php7.2-cli
php7.2-json
php7.2-cgi
ISC DHCP server
php7.2-opcache "
What can I do? How can I install "php-cgi" on fluxion? I would be very happy about a help. Many thanks in advance.
i'cant install 7zr dépendence
src/easside-ng/easside-ng.c:40:10: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^~~~~~~~
compilation terminated.
zlib.h not found during make in ubuntu 18.04
The file is included in linux-headers package.
In the last Ubuntu versions this package is pre-installed. So, just install linux-headers for your current kernel:
It displays: Aborted, xterm test session failed. when i run fluxion.sh
When
cd
cowpatty* is entered in terminal,
'-bash: cd: too many arguments' is shown. How to fix this to go to the next step ?hey
coWPAtty is not working. please help me .
Error code is
subham@subham-Inspiron-3521:~/bin$ cd cowpatty*
bash: cd: too many arguments
how to install pyrit is the single module that i haven t install?
shall it be same procedure for parrot OS 4.9