From 31ddadbdbc3ba125fcd0f9bda49f17f1798daf44 Mon Sep 17 00:00:00 2001 From: passbe Date: Sat, 26 Mar 2011 22:35:45 +0000 Subject: [PATCH] Removed erroring code, until a viable solution can be forumlated for data returns, thoughout the command system git-svn-id: https://beef.googlecode.com/svn/trunk@809 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- modules/commands/misc/alert_dialog/alert_dialog.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/commands/misc/alert_dialog/alert_dialog.rb b/modules/commands/misc/alert_dialog/alert_dialog.rb index a4b6038ee..4f4b4ea3e 100644 --- a/modules/commands/misc/alert_dialog/alert_dialog.rb +++ b/modules/commands/misc/alert_dialog/alert_dialog.rb @@ -31,8 +31,8 @@ class Alert_dialog < BeEF::Command def callback content = {} - content['User Response'] = "The user clicked the 'OK' button when presented with an alert box saying: '" - content['User Response'] += @datastore['text'] + "'" + puts @results + content['User Response'] = "The user clicked the 'OK' button when presented with an alert box." save content end @@ -40,4 +40,4 @@ end end end -end \ No newline at end of file +end