From 7c4a90c51a7529af30ca72fb52b1801eec63012c Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Sat, 22 Jan 2022 05:55:39 +0000 Subject: [PATCH] core/api: Fix typo for undefined variable 'method' --- core/api.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/api.rb b/core/api.rb index 16b02a70f..ffa68adb9 100644 --- a/core/api.rb +++ b/core/api.rb @@ -185,7 +185,7 @@ module BeEF return nil unless mods.length.positive? unless verify_api_path(clss, mthd) && clss.ancestors[0].to_s > 'BeEF::API' - print_error "API Path not defined for Class: #{clss} method:#{method}" + print_error "API Path not defined for Class: #{clss} method: #{mthd}" return [] end