add script for retrieving old keys

This commit is contained in:
Roberto Cirillo 2023-01-16 16:48:08 +01:00
parent e4e68ed1be
commit c969b1f54b
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
out=`find . -name 'symm.key' `
if [[ -n "${out}" ]]; then
echo "old key found: "
echo "${out}"
else
echo "old key not found"
fi

View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
out=`find . -name '*.java' -o -name '*.properties'-exec grep '843339462' /dev/null {} +`
if [[ -n "${out}" ]]; then
echo "token found in: "
echo "${out}"
else
echo "token not found"
fi