akkoma/diagnostic-tools/binary-leak-checker.sh
2024-06-10 15:10:47 +01:00

11 lines
214 B
Bash
Executable file

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"