1

嗨,我正在尝试建立一个渗透测试平台,我需要编辑 hostapd 应用程序以使用错误的密码建立连接。

我的尝试:我更改了 wpa_auth.c:

if (!ok) {
        wpa_auth_logger(sm->wpa_auth, sm->addr, LOGGER_DEBUG,
                "invalid MIC in msg 2/4 of 4-Way Handshake");
        if (psk_found)
            wpa_auth_psk_failure_report(sm->wpa_auth, sm->addr);
        return;
    }

至 :

if (ok) {
        wpa_auth_logger(sm->wpa_auth, sm->addr, LOGGER_DEBUG,
                "invalid MIC in msg 2/4 of 4-Way Handshake");
        if (psk_found)
            wpa_auth_psk_failure_report(sm->wpa_auth, sm->addr);
        return;
    }

因为当我输入错误的密码时,我得到“4-Way Handshake 的 msg 2/4 中的 MIC 无效”。

谁能帮我做这个渗透测试平台?

谢谢。

4

0 回答 0