This commit is contained in:
iceman1001 2023-12-01 15:25:09 +01:00
parent cdc7955821
commit f3a9629895
3 changed files with 43 additions and 16 deletions

View file

@ -5,6 +5,37 @@ set -e
pre_submit_hook
echo "Checking upload permissions..."
if ! up_perm="$(wget https://scan.coverity.com/api/upload_permitted --post-data "token=${COVTOKEN}&project=${COVPROJECT}" -q -O -)"; then
echo "Coverity Scan API access denied: bad token?"
exit 1
fi
# Really up_perm is a JSON response with either
# {upload_permitted:true} or {next_upload_permitted_at:<date>}
# We do some hacky string parsing instead of properly parsing it.
case "$up_perm" in
*upload_permitted*true*)
echo "Coverity Scan: upload permitted"
;;
*next_upload_permitted_at*)
if [ -z "$COVERITY_DRYRUN" ]; then
echo "Coverity Scan: upload quota reached; stopping here"
# Exit success as this isn't a build error.
exit 0
else
echo "Coverity Scan: upload quota reached, continuing dry run"
fi
;;
*)
echo "Coverity Scan upload check: unexpected result $up_perm"
exit 1
;;
esac
## delete all previous tarballs
rm -f proxmark3.all.*.tgz proxmark3.all.*.log
@ -25,7 +56,7 @@ curl --progress-bar --fail \
--form file="@$FILENAME" \
--form version="$VERSION" \
--form description="$DESCNAME" \
https://scan.coverity.com/builds?project=Proxmark3+RRG+Iceman+repo | tee -a "${LOGFILENAME}" ; test "${PIPESTATUS[0]}" -eq 0 || exit $?
https://scan.coverity.com/builds?project="${COVPROJECT}" | tee -a "${LOGFILENAME}" ; test "${PIPESTATUS[0]}" -eq 0 || exit $?
echo "tarball uploaded to Coverity for analyse"
post_submit_hook

View file

@ -9992,21 +9992,19 @@
},
"lf read": {
"command": "lf read",
"description": "Sniff low frequency signal. - use `lf config` to set parameters. - use `data plot` to look at it",
"description": "Sniff low frequency signal. - use `lf config` to set parameters. - use `data plot` to look at it. If the number of samples is more than the device memory limit (40000 now), it will try to use the real-time sampling mode.",
"notes": [
"lf read -v -s 12000 -> collect 12000 samples",
"lf read -s 3000 -@ -> oscilloscope style",
"lf read -r -> use real-time mode"
"lf read -s 3000 -@ -> oscilloscope style"
],
"offline": false,
"options": [
"-h, --help This help",
"-s, --samples <dec> number of samples to collect",
"-v, --verbose verbose output",
"-@ continuous reading mode",
"-r, --realtime real-time reading mode"
"-@ continuous reading mode"
],
"usage": "lf read [-hv@r] [-s <dec>]"
"usage": "lf read [-hv@] [-s <dec>]"
},
"lf search": {
"command": "lf search",
@ -10179,21 +10177,19 @@
},
"lf sniff": {
"command": "lf sniff",
"description": "Sniff low frequency signal. You need to configure the LF part on the Proxmark3 device manually. Usually a trigger and skip samples is a good thing to set before doing a low frequency sniff. - use `lf config` to set parameters. - use `data plot` to look at sniff signal. - use `lf search -1` to see if signal can be automatic decoded",
"description": "Sniff low frequency signal. You need to configure the LF part on the Proxmark3 device manually. Usually a trigger and skip samples is a good thing to set before doing a low frequency sniff. - use `lf config` to set parameters. - use `data plot` to look at sniff signal. - use `lf search -1` to see if signal can be automatic decoded. If the number of samples is more than the device memory limit (40000 now), it will try to use the real-time sampling mode.",
"notes": [
"lf sniff -v",
"lf sniff -s 3000 -@ -> oscilloscope style",
"lf sniff -r -> use real-time mode"
"lf sniff -s 3000 -@ -> oscilloscope style"
],
"offline": false,
"options": [
"-h, --help This help",
"-s, --samples <dec> number of samples to collect",
"-v, --verbose verbose output",
"-@ continuous sniffing mode",
"-r, --realtime real-time sniffing mode"
"-@ continuous sniffing mode"
],
"usage": "lf sniff [-hv@r] [-s <dec>]"
"usage": "lf sniff [-hv@] [-s <dec>]"
},
"lf t55xx bruteforce": {
"command": "lf t55xx bruteforce",
@ -12070,6 +12066,6 @@
"metadata": {
"commands_extracted": 699,
"extracted_by": "PM3Help2JSON v1.00",
"extracted_on": "2023-12-01T09:58:53"
"extracted_on": "2023-12-01T14:06:40"
}
}