1
0
Fork 0
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2025-01-25 07:05:09 +00:00
akkoma/diagnostic-tools/binary-leak-checker.sh
2024-06-10 15:10:47 +01:00

10 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"