Skip to content

Commit

Permalink
Merge pull request #725 from bjoernricks/remove-unused-http-commands
Browse files Browse the repository at this point in the history
Remove unused http commands
  • Loading branch information
timopollmeier authored Jun 15, 2018
2 parents b79638a + 23eed08 commit 92cd373
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 2,481 deletions.
42 changes: 0 additions & 42 deletions gsad/src/gsad.c
Original file line number Diff line number Diff line change
Expand Up @@ -464,29 +464,8 @@ init_validator ()
"|(import_report_format)"
"|(login)"
"|(move_task)"
"|(new_agent)"
"|(new_alert)"
"|(new_config)"
"|(new_container_task)"
"|(new_credential)"
"|(new_filter)"
"|(new_group)"
"|(new_host)"
"|(new_note)"
"|(new_override)"
"|(new_permission)"
"|(new_permissions)"
"|(new_port_list)"
"|(new_port_range)"
"|(new_report_format)"
"|(new_role)"
"|(new_scanner)"
"|(new_schedule)"
"|(new_tag)"
"|(new_target)"
"|(new_task)"
"|(new_user)"
"|(process_bulk)"
"|(report_alert)"
"|(restore)"
"|(resume_task)"
Expand Down Expand Up @@ -1580,7 +1559,6 @@ exec_gmp_post (http_connection_t *con,
ELSE (import_port_list)
ELSE (import_report)
ELSE (import_report_format)
ELSE (process_bulk)
ELSE (move_task)
ELSE (report_alert)
ELSE (restore)
Expand Down Expand Up @@ -2053,15 +2031,8 @@ exec_gmp_get (http_connection_t *con,
if (!strcmp (cmd, "cvss_calculator"))
res = cvss_calculator (&connection, credentials, params, response_data);

ELSE (new_filter)
ELSE (new_container_task)
ELSE (new_target)
ELSE (new_tag)
ELSE (new_task)
ELSE (new_user)
ELSE (new_alert)
ELSE (new_group)
ELSE (new_role)
ELSE (get_dashboard_settings)
ELSE (get_task)
ELSE (get_tasks)
Expand Down Expand Up @@ -2282,19 +2253,6 @@ exec_gmp_get (http_connection_t *con,
ELSE (get_config_nvt)
ELSE (get_nvts)
ELSE (get_protocol_doc)
ELSE (new_agent)
ELSE (new_host)
ELSE (new_config)
ELSE (new_credential)
ELSE (new_note)
ELSE (new_override)
ELSE (new_permission)
ELSE (new_permissions)
ELSE (new_port_list)
ELSE (new_port_range)
ELSE (new_report_format)
ELSE (new_scanner)
ELSE (new_schedule)
ELSE (upload_config)
ELSE (upload_port_list)
ELSE (upload_report)
Expand Down
Loading

0 comments on commit 92cd373

Please sign in to comment.