owtf.db package¶
Submodules¶
owtf.db.database module¶
owtf.db.models module¶
owtf.db.models¶
The SQLAlchemy models for every table in the OWTF DB.
-
class
owtf.db.models.Command(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
end_time¶
-
modified_command¶
-
original_command¶
-
plugin_key¶
-
run_time¶
-
start_time¶
-
success¶
-
target_id¶
-
-
class
owtf.db.models.ConfigSetting(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
descrip¶
-
dirty¶
-
key¶
-
section¶
-
value¶
-
-
class
owtf.db.models.Error(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
github_issue_url¶
-
id¶
-
owtf_message¶
-
reported¶
-
traceback¶
-
user_message¶
-
-
class
owtf.db.models.GrepOutput(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
id¶
-
name¶
-
output¶
-
target_id¶
-
-
class
owtf.db.models.Mapping(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
category¶
-
mappings¶
-
owtf_code¶
-
-
class
owtf.db.models.Plugin(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
attr¶
-
code¶
-
descrip¶
-
file¶
-
group¶
-
key¶
-
max_time¶ Consider last 5 runs only, better performance and accuracy
-
min_time¶ Consider last 5 runs only, better performance and accuracy
-
name¶
-
outputs¶
-
title¶
-
type¶
-
works¶
-
-
class
owtf.db.models.PluginOutput(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
date_time¶
-
end_time¶
-
error¶
-
id¶
-
output¶
-
output_path¶
-
owtf_rank¶
-
plugin_code¶
-
plugin_group¶
-
plugin_key¶
-
plugin_type¶
-
run_time¶
-
start_time¶
-
status¶
-
target_id¶
-
user_notes¶
-
user_rank¶
-
-
class
owtf.db.models.Resource(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
dirty¶
-
id¶
-
resource¶
-
resource_name¶
-
resource_type¶
-
-
class
owtf.db.models.Session(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
active¶
-
id¶
-
name¶
-
targets¶
-
-
class
owtf.db.models.Target(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
alternative_ips¶
-
commands¶
-
host_ip¶
-
host_name¶
-
host_path¶
-
id¶
-
ip_url¶
-
max_owtf_rank¶
-
max_user_rank¶
-
port_number¶
-
poutputs¶
-
scope¶
-
target_url¶
-
top_domain¶
-
top_url¶
-
transactions¶
-
url_scheme¶
-
urls¶
-
works¶
-
-
class
owtf.db.models.TestGroup(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
code¶
-
descrip¶
-
group¶
-
hint¶
-
plugins¶
-
priority¶
-
url¶
-
-
class
owtf.db.models.Transaction(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base-
binary_response¶
-
data¶
-
grep_outputs¶
-
id¶
-
local_timestamp¶
-
login¶
-
logout¶
-
method¶
-
raw_request¶
-
response_body¶
-
response_headers¶
-
response_size¶
-
response_status¶
-
scope¶
-
session_tokens¶
-
target_id¶
-
time¶
-
time_human¶
-
url¶
-