From 91332844c8b860ec25dd2450a3f396480817e081 Mon Sep 17 00:00:00 2001 From: Ben Passmore Date: Sun, 3 Nov 2019 08:00:29 +1000 Subject: [PATCH] AR convert crypto --- core/main/crypto.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/main/crypto.rb b/core/main/crypto.rb index 6da601f9c..1258cb38c 100644 --- a/core/main/crypto.rb +++ b/core/main/crypto.rb @@ -82,7 +82,7 @@ module Core begin id = random_hex_string(8) - BeEF::Core::Models::Dns::Rule.each { |rule| throw StandardError if id == rule.id } + BeEF::Core::Models::Dns::Rule.all.each { |rule| throw StandardError if id == rule.id } rescue StandardError retry end