> For the complete documentation index, see [llms.txt](https://docs.aafi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aafi.xyz/main/command-modules/rouge-fake-ap.md).

# Rouge/Fake AP

Usage and guide to using Rouge/Fake AP Module.

## Setting Up Rouge/Fake AP Module:

Just place all files in /var/www/html/, run the command chown `www-data:www-data ./*` (may want to limit it to the html, js, passwords.txt and images if running on a large network) and run: \`\` `sudo ./AaFi.sh wlan1 eth0 [FAKE NETWORK NAME]` then AaFi's fake AP module should work perfectly.

Note: when selecting a Interface Type in the command please select the correct one so the module will work perfectly.

## Usage:

The user **must** start the command with `sudo ./AaFi [Network Interface] [Fake Network Name]` in order to run the command successfully.

## Interface Types:

* `eth0`
* `lo`
* `wlan0`
* `wlan1`

## Which Interface Should I Use?

If you do not know which wireless interface to use initially then running the command `ifconfig` should pull up the interfaces that you have available.

![](https://3950384666-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUtge29enKBUN7GNVfu%2F-MUyZKyGFUkuo8s5Ekv6%2F-MUy_gpbKcG2-bR3BW1I%2FefgpPsemlA.gif?alt=media\&token=f94e553c-0a73-40de-9673-92556a687bdd)

However, if you are still confused running the command `sudo airmon-ng` should bring up the best possible interfaces to use when running this command.

![](https://3950384666-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MUtge29enKBUN7GNVfu%2F-MUyZKyGFUkuo8s5Ekv6%2F-MUy_J_GSSUdX_tcWx51%2FlIbLuQl6o6.gif?alt=media\&token=9d63cf32-e739-40d1-a05a-230fe9143f60)
