git-svn-id: https://beef.googlecode.com/svn/trunk@908 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
27 lines
707 B
Ruby
27 lines
707 B
Ruby
class Detect_visited_urls < BeEF::Core::Command
|
|
|
|
def initialize
|
|
super({
|
|
'Name' => 'Detect Visited URLs',
|
|
'Description' => 'This module will detect whether or not the zombie has visited the specifed URL(s) before.',
|
|
'Category' => 'Browser',
|
|
'Author' => ['passbe'],
|
|
'Data' => [
|
|
{ 'ui_label'=>'URL(s)', 'name'=>'urls', 'type'=>'textarea', 'value'=>'http://www.bindshell.net/', 'width'=>'200px' }
|
|
],
|
|
'File' => __FILE__
|
|
})
|
|
|
|
set_target({
|
|
'verified_status' => VERIFIED_WORKING,
|
|
'browser_name' => ALL
|
|
})
|
|
|
|
use_template!
|
|
end
|
|
|
|
def callback
|
|
save({'result' => @datastore['result']})
|
|
end
|
|
|
|
end |