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