OK, so welcome back in this lecture, I will show you a different method on how to capture the username
and password from the victim using a BHP script.
So first off, I will change the directory to slash for W W slash HDMI.
This is the location for the patch website where where the captive portal files are located.
So if I use, as you can see all the files now here I have added two more fires, which is captured
Ducky HD and post that BHP.
So let's open both that BHP using nano and the name of the fire.
And here is the BHP Coal.
Basically, this code will grab the username and password from the login form and save it in a file
called Capsule HD, which I already created.
So I'll close this and open index got HDMI using nano and fire me now here.
Own form name.
Go to action and type flash post that BHP.
This is the BHP file, which will be used to capture the login credentials from the victim.
And don't forget to save the file and then restart the web server using service.
Apache2 Restart.
OK, now let's go to the victim machine and connect to free Wi-Fi.
And in the log in for I would die John for the username and let me in for the password and click login.
Okay, so let's go back to the machine and see if I have managed to capture the login information from
the victim.
So I will open the capture file using nano and put capture data.
And you can see the username and password.
So that's it for now.
Thanks for watching, and I'll see you next time.