Class: Burp::Access

Inherits:
Object
  • Object
show all
Defined in:
app/lib/burp/access.rb

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Access

Returns a new instance of Access.



4
5
# File 'app/lib/burp/access.rb', line 4

def initialize(data)
end

Instance Method Details

#may_create_new_pageObject



24
25
26
# File 'app/lib/burp/access.rb', line 24

def may_create_new_page
  true
end

#may_edit_page(page) ⇒ Object



28
29
30
# File 'app/lib/burp/access.rb', line 28

def may_edit_page(page)
  true
end

#may_remove_page(page) ⇒ Object



36
37
38
# File 'app/lib/burp/access.rb', line 36

def may_remove_page(page)
  true
end

#may_skip_http_authObject

If true no http auth check will be made. (Ment as a way to remove Burp’s default auth method.)



8
9
10
# File 'app/lib/burp/access.rb', line 8

def may_skip_http_auth
  false
end

#may_update_page(page) ⇒ Object



32
33
34
# File 'app/lib/burp/access.rb', line 32

def may_update_page(page)
  true
end

#may_upload_a_fileObject



54
55
56
# File 'app/lib/burp/access.rb', line 54

def may_upload_a_file
  true
end

#may_view_file(path) ⇒ Object



58
59
60
# File 'app/lib/burp/access.rb', line 58

def may_view_file(path)
  true
end

#may_view_file_listObject

CMS files



50
51
52
# File 'app/lib/burp/access.rb', line 50

def may_view_file_list
  true
end

#may_view_page(page) ⇒ Object



44
45
46
# File 'app/lib/burp/access.rb', line 44

def may_view_page(page)
  true
end

#may_view_page_data(page) ⇒ Object



40
41
42
# File 'app/lib/burp/access.rb', line 40

def may_view_page_data(page)
  true
end

#may_view_page_listObject

CMS pages



20
21
22
# File 'app/lib/burp/access.rb', line 20

def may_view_page_list
  true
end

#may_view_static_page(action) ⇒ Object

Static pages in the CMS



13
14
15
# File 'app/lib/burp/access.rb', line 13

def may_view_static_page(action)
  true
end