add diagnostic script

This commit is contained in:
Floatingghost 2024-06-10 15:10:47 +01:00
parent 9c5feb81aa
commit 28d357f52c

View file

@ -0,0 +1,10 @@
if [ "$#" -ne 2 ]; then
echo "Usage: binary-leak-checker.sh <nodename> <erlang cookie>"
exit 1
fi
echo "The command you want to run is:
:recon.bin_leak(10)
"
iex --sname debug --remsh $1 --erl "-setcookie $2"