Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 1.99 KB

README.md

File metadata and controls

63 lines (35 loc) · 1.99 KB

Nethunter ap

made by me dr.ismail saad

This eviltwin script let you run fake access point portal with verification of any given handshake on vritually created wlan1 using Kali Nethunter .. so you only need 1 external adapter for deauthing the original network.

Usage

1.nano /etc/apache2/sites-enabled/000-default.conf

copy everything inside conf.txt and paste it inside default.conf like this given image

Screenshot_20241118-105842_NetHunter_Terminal

2.run this command: rm -rf /var/www/html/*

then

copy all portal files from inside portal folder to /var/www/html

  1. run this command: a2enmod rewrite

then run : sudo service apache2 start

imp : before moving forward make sure portal is working fine by navagating to 127.0.0.1 in web browser .. if it show forbidden you need to manage permission with chmod commands

  1. copy target handshake inside our main folder and rename it to evil.cap

  2. run this command :

aircrack-ng evil.cap

you will get your target bssid copy it .. then nano passapi.py
replace it in the 5th line

7.python3 passapi.py

  1. deauth your target network with external adapter and make sure adapter is recognised as wlan2

9.nano hostapd.conf and change network name tenda to your target network name

8.if you wanna share internet from internal wifi use fakeap.sh .. if you wanna share mobile internet use 4g script .. make sure to edit path files inside the script depending on your files locations then you can run the script

you can use any portal you want with the script .. if its flask portal make sure to host it on 10.0.0.1 and port 80

attack demo :

demo.mp4

want to thank @yesimxev for internet sharing rules

also thanks for @ikteach for editing the script

and thanks @Justxd22 for handshake verification methods and portals you can check his repo here

https://github.com/Justxd22/Eviltwin-Huawei_XD