=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== tss2-1045/utils/tsssocket.c-238- /* first assume server is dotted decimal number and call inet_addr */ tss2-1045/utils/tsssocket.c:239: if ((int)(serv_addr.sin_addr.s_addr = inet_addr(tssContext->tssServerName)) == -1) { tss2-1045/utils/tsssocket.c-240- /* if inet_addr fails, assume server is a name and call gethostbyname to look it up */ ############################################## tss2-1045/utils/regtests/testclocks.sh-58- tss2-1045/utils/regtests/testclocks.sh:59: CLOCK=`cat run.out | grep "TPMS_CLOCK_INFO clock" | gawk '{ print $3 }'` tss2-1045/utils/regtests/testclocks.sh-60- ############################################## tss2-1045/utils/regtests/testclocks.sh-65-# increment clock by 20 seconds tss2-1045/utils/regtests/testclocks.sh:66: CLOCK=`expr ${CLOCK} + 200000` tss2-1045/utils/regtests/testclocks.sh-67- ############################################## tss2-1045/utils/reg.sh-231- # getrandom must wait until after inittpm.sh (powerup and startup) tss2-1045/utils/reg.sh:232: TPM_SESSION_ENCKEY=`${PREFIX}getrandom -by 16 -ns` tss2-1045/utils/reg.sh-233- ./regtests/initkeys.sh ############################################## tss2-1045/demo/keycreate.php-162- unset($output); tss2-1045/demo/keycreate.php:163: exec ($commandStr, $output, $retval); tss2-1045/demo/keycreate.php-164- if ($retval == 0) { ############################################## tss2-1045/demo/keycreate.php-191- unset($output); tss2-1045/demo/keycreate.php:192: exec ($commandStr, $output, $retval); tss2-1045/demo/keycreate.php-193- if ($retval == 0) { ############################################## tss2-1045/demo/nvram.php-176- unset($output); tss2-1045/demo/nvram.php:177: exec ($commandStr, $output, $retval); tss2-1045/demo/nvram.php-178- if ($retval == 0) { tss2-1045/demo/nvram.php-179- if ($command == 'NV Define Space') { tss2-1045/demo/nvram.php:180: exec ("/var/www/html/tpm2/nvreadpublic -ha " . $ha); tss2-1045/demo/nvram.php-181- } ############################################## tss2-1045/demo/pcr.php-107- unset($output); tss2-1045/demo/pcr.php:108: exec ($commandStr, $output, $retval); tss2-1045/demo/pcr.php-109- if ($retval == 0) { ############################################## tss2-1045/demo/pcr.php-128- unset($output); tss2-1045/demo/pcr.php:129: exec ($commandStr, $output, $retval); tss2-1045/demo/pcr.php-130- printf("PCR %02d: ", $i); ############################################## tss2-1045/demo/handles.php-100- unset($output); tss2-1045/demo/handles.php:101: exec ($commandStr, $output, $retval); tss2-1045/demo/handles.php-102- ############################################## tss2-1045/demo/handles.php-123-unset($output); tss2-1045/demo/handles.php:124:exec ('/var/www/html/tpm2/getcapability -cap 1 -pr 01000000', $output, $retval); tss2-1045/demo/handles.php-125-sscanf($output[0], '%d', $count); ############################################## tss2-1045/demo/handles.php-132-unset($output); tss2-1045/demo/handles.php:133:exec ("/var/www/html/tpm2/getcapability -cap 1 -pr 02000000", $output, $retval); tss2-1045/demo/handles.php-134-sscanf($output[0], "%d", $count); ############################################## tss2-1045/demo/handles.php-141-unset($output); tss2-1045/demo/handles.php:142:exec ("/var/www/html/tpm2/getcapability -cap 1 -pr 03000000", $output, $retval); tss2-1045/demo/handles.php-143-sscanf($output[0], "%d", $count); ############################################## tss2-1045/demo/handles.php-150-unset($output); tss2-1045/demo/handles.php:151:exec ("/var/www/html/tpm2/getcapability -cap 1 -pr 80000000", $output, $retval); tss2-1045/demo/handles.php-152-sscanf($output[0], "%d", $count); ############################################## tss2-1045/demo/handles.php-159-unset($output); tss2-1045/demo/handles.php:160:exec ("/var/www/html/tpm2/getcapability -cap 1 -pr 81000000", $output, $retval); tss2-1045/demo/handles.php-161-sscanf($output[0], "%d", $count); ############################################## tss2-1045/demo/unseal.php-97- unset($output); tss2-1045/demo/unseal.php:98: exec ($commandStr, $output, $retval); tss2-1045/demo/unseal.php-99- if ($retval != 0) { ############################################## tss2-1045/demo/unseal.php-117- unset($output); tss2-1045/demo/unseal.php:118: exec ($commandStr, $output, $retval); tss2-1045/demo/unseal.php-119- if ($retval != 0) { ############################################## tss2-1045/demo/unseal.php-137- unset($output); tss2-1045/demo/unseal.php:138: exec ($commandStr, $output, $retval); tss2-1045/demo/unseal.php-139- if ($retval != 0) { ############################################## tss2-1045/demo/unseal.php-153- unset($output); tss2-1045/demo/unseal.php:154: exec ($commandStr, $output, $retval); tss2-1045/demo/unseal.php-155- if ($retval != 0) { ############################################## tss2-1045/demo/unseal.php-172- unset($output); tss2-1045/demo/unseal.php:173: exec ($commandStr, $output, $retval); tss2-1045/demo/unseal.php-174- if ($retval != 0) { ############################################## tss2-1045/demo/unseal.php-186- unset($output); tss2-1045/demo/unseal.php:187: exec ($commandStr, $output, $retval); tss2-1045/demo/unseal.php-188- if ($retval != 0) { ############################################## tss2-1045/demo/nv.php-64-unset($capoutput); tss2-1045/demo/nv.php:65:exec ("/var/www/html/tpm2/getcapability -cap 1 -pr 01000000", $capoutput, $retval); tss2-1045/demo/nv.php-66-sscanf($capoutput[0], "%d", $count); ############################################## tss2-1045/demo/nv.php-73- unset($output); tss2-1045/demo/nv.php:74: exec ("/var/www/html/tpm2/nvreadpublic -ha $handle", $output, $retval); tss2-1045/demo/nv.php-75- if ($retval == 0) { ############################################## tss2-1045/demo/quote.php-112- unset($output); tss2-1045/demo/quote.php:113: exec ($commandStr, $output, $retval); tss2-1045/demo/quote.php-114- if ($retval != 0) { ############################################## tss2-1045/demo/quote.php-158- unset($output); tss2-1045/demo/quote.php:159: exec ($commandStr, $output, $retval); tss2-1045/demo/quote.php-160- if ($retval == 0) { ############################################## tss2-1045/demo/quote.php-165- unset($output); tss2-1045/demo/quote.php:166: exec ($commandStr, $output, $retval); tss2-1045/demo/quote.php-167- printf("Quoted PCR %02d: ", $hpcr); ############################################## tss2-1045/demo/quote.php-191- unset($output); tss2-1045/demo/quote.php:192: exec ($commandStr, $output, $retval); tss2-1045/demo/quote.php-193- if ($retval != 0) { ############################################## tss2-1045/demo/sign.php-111- unset($output); tss2-1045/demo/sign.php:112: exec ($commandStr, $output, $retval); tss2-1045/demo/sign.php-113- if ($retval != 0) { ############################################## tss2-1045/demo/sign.php-154- unset($output); tss2-1045/demo/sign.php:155: exec ($commandStr, $output, $retval); tss2-1045/demo/sign.php-156- if ($retval == 0) { ############################################## tss2-1045/demo/sign.php-178- unset($output); tss2-1045/demo/sign.php:179: exec ($commandStr, $output, $retval); tss2-1045/demo/sign.php-180- if ($retval != 0) { ############################################## tss2-1045/demo/admin.php-143- unset($output); tss2-1045/demo/admin.php:144: exec ($commandStr, $output, $retval); tss2-1045/demo/admin.php-145- if ($retval == 0) { ############################################## tss2-1045/demo/admin.php-158-unset($output); tss2-1045/demo/admin.php:159:exec ("/var/www/html/tpm2/getcapability -cap 6", $output, $retval); tss2-1045/demo/admin.php-160-//print_r($output); ############################################## tss2-1045/demo/admin.php-206-unset($output); tss2-1045/demo/admin.php:207:exec ("/var/www/html/tpm2/readclock", $output, $retval); tss2-1045/demo/admin.php-208-$key = searchForValue("TPMS_TIME_INFO", $output); ############################################## tss2-1045/demo/admin.php-229-unset($output); tss2-1045/demo/admin.php:230:exec ("/var/www/html/tpm2/getcapability -cap 6 -pr 200 -pc 1", $output, $retval); tss2-1045/demo/admin.php-231-$capitems = explode(" ", trim($output[2])); ############################################## tss2-1045/demo/admin.php-270-unset($output); tss2-1045/demo/admin.php:271:exec ("/var/www/html/tpm2/getcapability -cap 6 -pr 201 -pc 1", $output, $retval); tss2-1045/demo/admin.php-272-$capitems = explode(" ", trim($output[2])); ############################################## tss2-1045/demo/admin.php-303-unset($output); tss2-1045/demo/admin.php:304:exec ("/var/www/html/tpm2/getrandom -by 16 -of rng.tmp", $output, $retval); tss2-1045/demo/admin.php-305-$rngbinary = file_get_contents ("rng.tmp"); ############################################## tss2-1045/debian/rules-87- if [[ -x $$f && -f $$f && ! $$f =~ .*\..* ]]; then \ tss2-1045/debian/rules:88: cp -p $$f $(TMP)/$(USRBIN)/tss`basename $$f`; \ tss2-1045/debian/rules-89- fi; \