From 28d357f52c4fc2b78a91447bf15ada2dbc9dc4ab Mon Sep 17 00:00:00 2001 From: Floatingghost Date: Mon, 10 Jun 2024 15:10:47 +0100 Subject: [PATCH] add diagnostic script --- diagnostic-tools/binary-leak-checker.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 diagnostic-tools/binary-leak-checker.sh diff --git a/diagnostic-tools/binary-leak-checker.sh b/diagnostic-tools/binary-leak-checker.sh new file mode 100755 index 000000000..191fbcb68 --- /dev/null +++ b/diagnostic-tools/binary-leak-checker.sh @@ -0,0 +1,10 @@ +if [ "$#" -ne 2 ]; then + echo "Usage: binary-leak-checker.sh " + exit 1 +fi + +echo "The command you want to run is: +:recon.bin_leak(10) +" + +iex --sname debug --remsh $1 --erl "-setcookie $2"