SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #149116

Back to the previous page... Back to the previous page

Test Case IDCandidate149116
Bad / Good / MixedGoodGood test case
AuthorNIST, Romain Gaucher, Alexander Hoole, Aurelien Delaitre
Bad pair: 149115  
Replacing: 2130  
Test suite: 101  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o hardcoded_pass_buffer-good hardcoded_pass_buffer-good.c -lpam (Requires pam library for pam_appl.h in order to compile, please find a suitable version of PAM for your environment.)
Submission date2015-03-23
DescriptionThe test case shows hard-coded passwords are not used; these passwords are in a array.

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-259: Use of Hard-coded Password on line(s): 151