<commit_before># MAZI back-end
This is the back-end scripts of the MAZI toolkit. You can clone this repository into a [MAZI zone image] (http://nitlab.inf.uth.gr/mazi-img/) and configure accordingly your MAZI zone.

## wifiap.sh
The *wifiap.sh* script creates a Wi-Fi Access Point according to the configuration you define. The script modifies the file */etc/hostapd/hostapd.conf* and then restarts the hostapd service.

Usage:
*sudo sh wifiap.sh  [options]*

[options]

-s,--ssid                                The name of the WiFi Access Point

-c,--channel                             The channel to use

-w,--wpa                                 Set off/OFF if you want to turn off wireless network security

-p,--password                            The password of the Access Point


**Examples**

Set up a Wi-Fi Access Point
```

sudo sh wifiap.sh  -s mazizone -c 6 -p mazizone

```

change the name of the Access Point
```

sudo sh wifiap.sh -s John

```

**Password**<commit_msg>description<commit_after># MAZI back-end
This is the back-end scripts of the MAZI toolkit. You can clone this repository into a [MAZI zone image] (http://nitlab.inf.uth.gr/mazi-img/) and configure accordingly your MAZI zone.

## wifiap.sh
The *wifiap.sh* script creates a Wi-Fi Access Point according to the configuration you define. The script modifies the file */etc/hostapd/hostapd.conf* and then restarts the hostapd service.

Usage:
```
sudo sh wifiap.sh  [options]
```
[options]

-s,--ssid                                The name of the WiFi Access Point

-c,--channel                             The channel to use

-w,--wpa                                 Set off/OFF if you want to turn off wireless network security

-p,--password                            The password of the Access Point


**Examples**

Set up a Wi-Fi Access Point
```

sudo sh wifiap.sh  -s mazizone -c 6 -p mazizone

```

change the name of the Access Point
```

sudo sh wifiap.sh -s John

```

**Password**
{'fraction_non_alphanumeric': 0.09113924050632911, 'fraction_numerical': 0.0010126582278481013, 'mean_word_length': 2.2287581699346406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1609225', 'n_tokens_mistral': 625, 'n_tokens_neox': 582, 'n_words': 245}