forked from p34709852/monkey
Island: Rename 'api/file-upload' to 'api/pba/upload'
This commit is contained in:
parent
0a6fa1e7d7
commit
9acc2d8df5
|
@ -19,15 +19,14 @@ WINDOWS_PBA_TYPE = "PBAwindows"
|
||||||
|
|
||||||
# NOTE: This resource will be reworked when the Custom PBA feature is rebuilt as a payload plugin.
|
# NOTE: This resource will be reworked when the Custom PBA feature is rebuilt as a payload plugin.
|
||||||
class PBAFileUpload(AbstractResource):
|
class PBAFileUpload(AbstractResource):
|
||||||
# API Spec: FileUpload -> PBAFileUpload. Change endpoint accordingly.
|
|
||||||
"""
|
"""
|
||||||
File upload endpoint used to send/receive Custom PBA files
|
File upload endpoint used to send/receive Custom PBA files
|
||||||
"""
|
"""
|
||||||
|
|
||||||
urls = [
|
urls = [
|
||||||
"/api/file-upload/<string:target_os>",
|
"/api/pba/upload/<string:target_os>",
|
||||||
"/api/file-upload/<string:target_os>?load=<string:filename>",
|
"/api/pba/upload/<string:target_os>?load=<string:filename>",
|
||||||
"/api/file-upload/<string:target_os>?restore=<string:filename>",
|
"/api/pba/upload/<string:target_os>?restore=<string:filename>",
|
||||||
]
|
]
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|
|
@ -27,8 +27,8 @@ import {
|
||||||
const CONFIG_URL = '/api/agent-configuration';
|
const CONFIG_URL = '/api/agent-configuration';
|
||||||
const RESET_URL = '/api/reset-agent-configuration';
|
const RESET_URL = '/api/reset-agent-configuration';
|
||||||
const CONFIGURED_PROPAGATION_CREDENTIALS_URL = '/api/propagation-credentials/configured-credentials';
|
const CONFIGURED_PROPAGATION_CREDENTIALS_URL = '/api/propagation-credentials/configured-credentials';
|
||||||
export const API_PBA_LINUX = '/api/file-upload/PBAlinux';
|
export const API_PBA_LINUX = '/api/pba/upload/PBAlinux';
|
||||||
export const API_PBA_WINDOWS = '/api/file-upload/PBAwindows';
|
export const API_PBA_WINDOWS = '/api/pba/upload/PBAwindows';
|
||||||
|
|
||||||
const configSubmitAction = 'config-submit';
|
const configSubmitAction = 'config-submit';
|
||||||
const configExportAction = 'config-export';
|
const configExportAction = 'config-export';
|
||||||
|
|
Loading…
Reference in New Issue