# mohammedraouf99/evil-ap architecture

> Architecture diagram of the GitHub repository mohammedraouf99/evil-ap, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mohammedraouf99/evil-ap
- Repository: https://github.com/mohammedraouf99/evil-ap

## Overview

Evil-AP is documented as a command-line Evil Twin automation tool with customizable web pages. The documented user workflow is to run the shell script; the README and sampled files do not reveal how it orchestrates the page directories or attack stages. The page families show credential-check endpoints and success/failure responses, but their runtime wiring is not established by the available evidence.

Main entry points: [`pages`](https://github.com/mohammedraouf99/evil-ap/tree/main/pages) (Failure responses), [`evil-ap.sh`](https://github.com/mohammedraouf99/evil-ap/blob/main/evil-ap.sh) (Evil-AP launcher), [`pages/Arabic/index.html`](https://github.com/mohammedraouf99/evil-ap/blob/main/pages/Arabic/index.html) (Arabic portal), [`pages/Cisco/index.html`](https://github.com/mohammedraouf99/evil-ap/blob/main/pages/Cisco/index.html) (Cisco portal)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Command-line entry"]
  node_launcher["Evil-AP launcher<br/>[evil-ap.sh]"]
end

subgraph group_portals["Web portal pages"]
  node_arabic["Arabic portal<br/>[index.html]"]
  node_cisco["Cisco portal<br/>[index.html]"]
  node_dlink["D-Link portal<br/>[index.html]"]
  node_english["English portal<br/>[index.html]"]
  node_huawei["Huawei portal<br/>[index.html]"]
  node_tplink["TP-Link portal<br/>[index.html]"]
  node_credential_checks["Credential check endpoints"]
end

subgraph group_responses["Credential responses"]
  node_success_pages["Success responses"]
  node_failure_pages["Failure responses"]
  node_password_list["Password list<br/>[password_list.txt]"]
end

node_operator(("Operator"))

node_operator -->|"runs"| node_launcher
node_failure_pages -->|"redirects to index"| node_arabic
node_failure_pages -->|"redirects to index"| node_cisco
node_failure_pages -->|"redirects to index"| node_dlink
node_failure_pages -->|"redirects to index"| node_english
node_failure_pages -->|"redirects to index"| node_huawei
node_failure_pages -->|"redirects to index"| node_tplink

click node_launcher "https://github.com/mohammedraouf99/evil-ap/blob/main/evil-ap.sh"
click node_arabic "https://github.com/mohammedraouf99/evil-ap/blob/main/pages/Arabic/index.html"
click node_cisco "https://github.com/mohammedraouf99/evil-ap/blob/main/pages/Cisco/index.html"
click node_dlink "https://github.com/mohammedraouf99/evil-ap/blob/main/pages/D-link/index.html"
click node_english "https://github.com/mohammedraouf99/evil-ap/blob/main/pages/English/index.html"
click node_huawei "https://github.com/mohammedraouf99/evil-ap/blob/main/pages/Huawei/index.html"
click node_tplink "https://github.com/mohammedraouf99/evil-ap/blob/main/pages/TP-link/index.html"
click node_credential_checks "https://github.com/mohammedraouf99/evil-ap/tree/main/pages"
click node_success_pages "https://github.com/mohammedraouf99/evil-ap/tree/main/pages"
click node_failure_pages "https://github.com/mohammedraouf99/evil-ap/tree/main/pages"
click node_password_list "https://github.com/mohammedraouf99/evil-ap/blob/main/password_list.txt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_launcher toneBlue
class node_arabic,node_cisco,node_dlink,node_english,node_huawei,node_tplink,node_credential_checks toneAmber
class node_success_pages,node_failure_pages,node_password_list toneMint
class node_operator toneIndigo
```

## Components

### Command-line entry

- [Evil-AP launcher](https://github.com/mohammedraouf99/evil-ap/blob/main/evil-ap.sh): `evil-ap.sh`

### Web portal pages

- [Arabic portal](https://github.com/mohammedraouf99/evil-ap/blob/main/pages/Arabic/index.html): `pages/Arabic/index.html`
- [Cisco portal](https://github.com/mohammedraouf99/evil-ap/blob/main/pages/Cisco/index.html): `pages/Cisco/index.html`
- [D-Link portal](https://github.com/mohammedraouf99/evil-ap/blob/main/pages/D-link/index.html): `pages/D-link/index.html`
- [English portal](https://github.com/mohammedraouf99/evil-ap/blob/main/pages/English/index.html): `pages/English/index.html`
- [Huawei portal](https://github.com/mohammedraouf99/evil-ap/blob/main/pages/Huawei/index.html): `pages/Huawei/index.html`
- [TP-Link portal](https://github.com/mohammedraouf99/evil-ap/blob/main/pages/TP-link/index.html): `pages/TP-link/index.html`
- [Credential check endpoints](https://github.com/mohammedraouf99/evil-ap/tree/main/pages): `pages`

### Credential responses

- [Success responses](https://github.com/mohammedraouf99/evil-ap/tree/main/pages): `pages`
- [Failure responses](https://github.com/mohammedraouf99/evil-ap/tree/main/pages): `pages`
- [Password list](https://github.com/mohammedraouf99/evil-ap/blob/main/password_list.txt): `password_list.txt`

### Other components

- **Operator**

## Connections

- Operator → Evil-AP launcher: runs (evidence: `README.md`)
- Failure responses → Arabic portal: redirects to index (evidence: `pages/Arabic/wrong.php`)
- Failure responses → Cisco portal: redirects to index (evidence: `pages/Cisco/wrong.php`)
- Failure responses → D-Link portal: redirects to index (evidence: `pages/D-link/wrong.php`)
- Failure responses → English portal: redirects to index (evidence: `pages/English/wrong.php`)
- Failure responses → Huawei portal: redirects to index (evidence: `pages/Huawei/wrong.php`)
- Failure responses → TP-Link portal: redirects to index (evidence: `pages/TP-link/wrong.php`)
