Snippets for aircrack-ng 1.5.2 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/aircrack-ng/1.5.2_4/150amd64-default.log.
-
crypto_engine.c:79:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 79 | SHA256_Init(&ctx); | ^~~~~~~~~~~ -
crypto_engine.c:82:17: warning: 'SHA256_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 82 | SHA256_Update(&ctx, addr[i], len[i]); | ^~~~~~~~~~~~~ -
crypto_engine.c:85:9: warning: 'SHA256_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 85 | SHA256_Final(mac, &ctx); | ^~~~~~~~~~~~ -
crypto_engine.c:378:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 378 | SHA1_Init(&ctx_ipad); | ^~~~~~~~~ -
crypto_engine.c:379:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 379 | SHA1_Update(&ctx_ipad, buffer, 64); | ^~~~~~~~~~~ -
crypto_engine.c:383:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 383 | SHA1_Init(&ctx_opad); | ^~~~~~~~~ -
crypto_engine.c:384:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 384 | SHA1_Update(&ctx_opad, buffer, 64); | ^~~~~~~~~~~ -
crypto_engine.c:401:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 401 | SHA1_Update(&sha1_ctx, buffer, 20); | ^~~~~~~~~~~ -
crypto_engine.c:402:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | SHA1_Final(buffer, &sha1_ctx); | ^~~~~~~~~~ -
crypto_engine.c:405:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 405 | SHA1_Update(&sha1_ctx, buffer, 20); | ^~~~~~~~~~~ -
crypto_engine.c:406:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 406 | SHA1_Final(buffer, &sha1_ctx); | ^~~~~~~~~~ -
crypto_engine.c:424:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | SHA1_Update(&sha1_ctx, buffer, 20); | ^~~~~~~~~~~ -
crypto_engine.c:425:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 425 | SHA1_Final(buffer, &sha1_ctx); | ^~~~~~~~~~ -
crypto_engine.c:428:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 428 | SHA1_Update(&sha1_ctx, buffer, 20); | ^~~~~~~~~~~ -
crypto_engine.c:429:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 429 | SHA1_Final(buffer, &sha1_ctx); | ^~~~~~~~~~ -
crypto_engine.c:543:17: warning: 'CMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 543 | ctx = CMAC_CTX_new(); | ^~~ -
crypto_engine.c:544:17: warning: 'CMAC_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 544 | CMAC_Init(ctx, ptk, 16, EVP_aes_128_cbc(), 0); | ^~~~~~~~~ -
crypto_engine.c:545:17: warning: 'CMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 545 | CMAC_Update(ctx, eapol, eapol_size); | ^~~~~~~~~~~ -
crypto_engine.c:546:17: warning: 'CMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 546 | CMAC_Final(ctx, mic[vectorIdx], &miclen); | ^~~~~~~~~~ -
crypto_engine.c:547:17: warning: 'CMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 547 | CMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ -
wpapsk.c:194:25: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | SHA1_Init(&ctx_ipad[j]); | ^~~~~~~~~ -
wpapsk.c:195:25: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 195 | SHA1_Init(&ctx_opad[j]); | ^~~~~~~~~ -
wpapsk.c:198:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 198 | SHA1_Update(&ctx_ipad[j], buffer[j].c, 64); | ^~~~~~~~~~~ -
wpapsk.c:201:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 201 | SHA1_Update(&ctx_opad[j], buffer[j].c, 64); | ^~~~~~~~~~~ -
wpapsk.c:271:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | SHA1_Update(&sha1_ctx, essid, slen); | ^~~~~~~~~~~ -
wpapsk.c:272:25: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 272 | SHA1_Final(outbuf[j].c, &sha1_ctx); | ^~~~~~~~~~ -
wpapsk.c:274:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | SHA1_Update(&sha1_ctx, outbuf[j].c, SHA_DIGEST_LENGTH); | ^~~~~~~~~~~ -
wpapsk.c:275:25: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 275 | SHA1_Final(outbuf[j].c, &sha1_ctx); | ^~~~~~~~~~ -
wpapsk.c:357:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 357 | SHA1_Update(&sha1_ctx, essid, slen); | ^~~~~~~~~~~ -
wpapsk.c:358:25: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 358 | SHA1_Final(&outbuf[j].c[20], &sha1_ctx); | ^~~~~~~~~~ -
wpapsk.c:360:25: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 360 | SHA1_Update(&sha1_ctx, &outbuf[j].c[20], 20); | ^~~~~~~~~~~ -
wpapsk.c:361:25: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 361 | SHA1_Final(&outbuf[j].c[20], &sha1_ctx); | ^~~~~~~~~~ -
radiotap.c:124:34: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 124 | iterator->_next_bitmap = &radiotap_header->it_present; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
freebsd.c:544:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 544 | strncpy(ifr.ifr_name, wi_get_ifname(wi), sizeof(ifr.ifr_name)); | ^~~~~~~ -
freebsd_tap.c:78:60: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 15 [-Wformat-truncation=] 78 | snprintf(ifr->ifr_name, sizeof(ifr->ifr_name) - 1, "%s", priv->tf_name); | ^~~~ -
/usr/include/ssp/string.h:120:1: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 120 | __ssp_bos_icheck3_restrict(strncpy, char *, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
crypto.c:65:9: warning: 'RC4_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 65 | RC4_set_key(&S, keylen, key); | ^~~~~~~~~~~ -
crypto.c:66:9: warning: 'RC4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 66 | RC4(&S, (size_t) len, data, data); | ^~~ -
crypto.c:157:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 157 | SHA1_Init(&ctx_ipad); | ^~~~~~~~~ -
crypto.c:158:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 158 | SHA1_Update(&ctx_ipad, buffer, 64); | ^~~~~~~~~~~ -
crypto.c:162:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 162 | SHA1_Init(&ctx_opad); | ^~~~~~~~~ -
crypto.c:163:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 163 | SHA1_Update(&ctx_opad, buffer, 64); | ^~~~~~~~~~~ -
crypto.c:180:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 180 | SHA1_Update(&sha1_ctx, buffer, 20); | ^~~~~~~~~~~ -
crypto.c:181:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 181 | SHA1_Final(buffer, &sha1_ctx); | ^~~~~~~~~~ -
crypto.c:184:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 184 | SHA1_Update(&sha1_ctx, buffer, 20); | ^~~~~~~~~~~ -
crypto.c:185:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 185 | SHA1_Final(buffer, &sha1_ctx); | ^~~~~~~~~~ -
crypto.c:203:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 203 | SHA1_Update(&sha1_ctx, buffer, 20); | ^~~~~~~~~~~ -
crypto.c:204:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 204 | SHA1_Final(buffer, &sha1_ctx); | ^~~~~~~~~~ -
crypto.c:207:17: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | SHA1_Update(&sha1_ctx, buffer, 20); | ^~~~~~~~~~~ -
crypto.c:208:17: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 208 | SHA1_Final(buffer, &sha1_ctx); | ^~~~~~~~~~ -
crypto.c:215:41: warning: argument 2 of type 'unsigned char[32]' with mismatched bound [-Warray-parameter=] 215 | unsigned char pmk[32], | ~~~~~~~~~~~~~~^~~~~~~ -
crypto.c:216:41: warning: argument 3 of type 'unsigned char[80]' with mismatched bound [-Warray-parameter=] 216 | unsigned char ptk[80], | ~~~~~~~~~~~~~~^~~~~~~ -
crypto.c:217:41: warning: argument 4 of type 'unsigned char[20]' with mismatched bound [-Warray-parameter=] 217 | unsigned char mic[20]) | ~~~~~~~~~~~~~~^~~~~~~ -
crypto.c:268:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 268 | ctx = HMAC_CTX_new(); | ^~~ -
crypto.c:269:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 269 | HMAC_Init_ex(ctx, pmk, 32, EVP_sha1(), NULL); | ^~~~~~~~~~~~ -
crypto.c:273:17: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 273 | HMAC_Init_ex(ctx, 0, 0, 0, 0); | ^~~~~~~~~~~~ -
crypto.c:274:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | HMAC_Update(ctx, pke, 100); | ^~~~~~~~~~~ -
crypto.c:275:17: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 275 | HMAC_Final(ctx, ptk + i * 20, NULL); | ^~~~~~~~~~ -
crypto.c:277:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 277 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ -
crypto.c:1359:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1359 | AES_set_encrypt_key(TK1, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ -
crypto.c:1360:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1360 | AES_encrypt(B0, MIC, &aes_ctx); // X_1 := E( K, B_0 ) | ^~~~~~~~~~~ -
crypto.c:1362:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1362 | AES_encrypt(MIC, MIC, &aes_ctx); // | ^~~~~~~~~~~ -
crypto.c:1364:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1364 | AES_encrypt(MIC, MIC, &aes_ctx); // | ^~~~~~~~~~~ -
crypto.c:1372:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1372 | AES_encrypt(B0, B, &aes_ctx); // S_0 := E( K, A_i ) | ^~~~~~~~~~~ -
crypto.c:1386:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1386 | AES_encrypt(MIC, MIC, &aes_ctx); // | ^~~~~~~~~~~ -
crypto.c:1393:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1393 | AES_encrypt(B0, B, &aes_ctx); // S_i := E( K, A_i ) | ^~~~~~~~~~~ -
crypto.c:1486:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1486 | AES_set_encrypt_key(TK1, 128, &aes_ctx); | ^~~~~~~~~~~~~~~~~~~ -
crypto.c:1487:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1487 | AES_encrypt(B0, MIC, &aes_ctx); // X_1 := E( K, B_0 ) | ^~~~~~~~~~~ -
crypto.c:1489:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1489 | AES_encrypt(MIC, MIC, &aes_ctx); // | ^~~~~~~~~~~ -
crypto.c:1491:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1491 | AES_encrypt(MIC, MIC, &aes_ctx); // | ^~~~~~~~~~~ -
crypto.c:1499:9: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1499 | AES_encrypt(B0, B, &aes_ctx); // S_0 := E( K, A_i ) | ^~~~~~~~~~~ -
crypto.c:1515:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1515 | AES_encrypt(B0, B, &aes_ctx); // S_i := E( K, A_i ) | ^~~~~~~~~~~ -
crypto.c:1521:17: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1521 | AES_encrypt(MIC, MIC, &aes_ctx); // | ^~~~~~~~~~~ -
aircrack-ng.c:4032:9: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 4032 | strncpy(essid, ap->essid, ESSID_LENGTH); | ^~~~~~~ -
aircrack-ng.c:3909:9: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 3909 | strncpy(essid, ap->essid, ESSID_LENGTH); | ^~~~~~~ -
/usr/include/ssp/string.h:108:1: warning: argument 1 null where non-null expected [-Wnonnull] 108 | __ssp_bos_icheck3_restrict(memcpy, void *, const void *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/ssp/string.h:108:1: warning: '__builtin_memcpy' writing 33 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 108 | __ssp_bos_icheck3_restrict(memcpy, void *, const void *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/ssp/string.h:108:1: warning: '__builtin_memcpy' writing 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 108 | __ssp_bos_icheck3_restrict(memcpy, void *, const void *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/ssp/string.h:108:1: warning: '__builtin_memcpy' writing 32 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 108 | __ssp_bos_icheck3_restrict(memcpy, void *, const void *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/ssp/string.h:108:1: warning: '__builtin_memcpy' writing 256 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 108 | __ssp_bos_icheck3_restrict(memcpy, void *, const void *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/ssp/string.h:108:1: warning: '__builtin_memcpy' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 108 | __ssp_bos_icheck3_restrict(memcpy, void *, const void *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/ssp/string.h:108:1: warning: '__builtin_memcpy' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 108 | __ssp_bos_icheck3_restrict(memcpy, void *, const void *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/ssp/string.h:120:1: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 120 | __ssp_bos_icheck3_restrict(strncpy, char *, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
airodump-ng.c:3601:25: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Wstringop-truncation] 3601 | strncat(strbuf, buffer, sizeof(strbuf) - strlen(strbuf) - 1); | ^~~~~~~ -
airodump-ng.c:3591:25: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 511 bytes from a string of length 511 [-Wstringop-truncation] 3591 | strncat(strbuf, buffer, sizeof(strbuf) - strlen(strbuf) - 1); | ^~~~~~~ -
airodump-ng.c:3022:49: warning: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Wstrict-overflow] 3022 | while (p <= h80211 + 16 && p <= h80211 + caplen) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
besside-ng.c:2509:17: warning: storing the address of local variable 'ri' in '_state.s_ri' [-Wdangling-pointer=] 2509 | s->s_ri = &ri; | ~~~~~~~~^~~~~ -
wesside-ng.c:1707:17: warning: '__builtin___strncat_chk' output may be truncated copying 2 bytes from a string of length 15 [-Wstringop-truncation] 1707 | strncat(k, tmp, 2); | ^~~~~~~