akkoma/diagnostic-tools/binary-leak-checker.sh

11 lines
214 B
Bash
Raw Normal View History

2024-06-10 14:10:47 +00:00
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"