Skip to content

Commit

Permalink
fix: Change default json and summary reports path
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Rajawat <anuragsinghrajawat22@gmail.com>
  • Loading branch information
anurag-rajawat committed Jun 13, 2024
1 parent 0025924 commit 47bb186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tlsscan
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ parse_cmdargs()
esac
done
[[ "$infile" == "" ]] && echo "No address list provided, use --infile <file>" && exit 2
[[ "$csvout" == "" ]] && csvout="/tmp/k8tls_out.csv"
[[ "$csvout" == "" ]] && csvout="/tmp/out.csv"
[[ -f $csvout ]] && rm -f $csvout
[[ "$summcsv" == "" ]] && summcsv="/tmp/k8tls_summary.csv"
[[ -f $summcsv ]] && rm -f $summcsv
[[ "$JSON" != "" ]] && jsonout=$JSON
[[ "$jsonout" == "" ]] && jsonout="/tmp/k8tls_report.json"
[[ "$jsonout" == "" ]] && jsonout="/tmp/report.json"
}

csvheader()
Expand Down

0 comments on commit 47bb186

Please sign in to comment.