MCPcopy Create free account

hub / github.com/SaladinoBelisario/RAT_Rust / functions

Functions88 in github.com/SaladinoBelisario/RAT_Rust

↓ 13 callersMethodinto
(self)
rat/server/src/entities.rs:21
↓ 12 callersMethodinto
(self)
rat/server/src/api/error.rs:11
↓ 4 callersFunctionget_agent_directory
()
rat/agent/src/config.rs:9
↓ 3 callersFunctioncopy_executable
()
rat/agent/src/install/mod.rs:5
↓ 3 callersMethodfind_agent_by_id
( &self, db: &Pool<Postgres>, agent_id: Uuid, )
rat/server/src/repository/agents.rs:62
↓ 3 callersFunctionjson_body
( )
rat/server/src/api/mod.rs:11
↓ 3 callersMethodok
(data: T)
rat/common/src/api.rs:16
↓ 3 callersFunctionrun
(api_client: &Client, agent_id: &str, command: &str, conf: Config)
rat/client/src/cli/exec.rs:20
↓ 2 callersFunctionconnect
(database_url: &str)
rat/server/src/db.rs:5
↓ 2 callersFunctionconsume_stdio
(channel: &mut Channel)
rat/agent/src/spread.rs:140
↓ 2 callersMethodfind_job_by_id
(&self, db: &Pool<Postgres>, job_id: Uuid)
rat/server/src/repository/jobs.rs:54
↓ 2 callersFunctionget_agent_install_target
()
rat/agent/src/config.rs:20
↓ 2 callersFunctioninstall
()
rat/agent/src/install.rs:5
↓ 1 callersFunctionbruteforce
(ssh: &Session)
rat/agent/src/spread.rs:99
↓ 1 callersMethodcreate_agent
(&self, db: &Pool<Postgres>, agent: &Agent)
rat/server/src/repository/agents.rs:8
↓ 1 callersMethodcreate_job
(&self, input: api::CreateJob)
rat/client/src/api/create_job.rs:8
↓ 1 callersMethodcreate_job
(&self, input: CreateJob)
rat/server/src/service/jobs.rs:78
↓ 1 callersFunctiondecrypt_and_verify_job
( conf: &config::Config, job: AgentJob, )
rat/agent/src/run.rs:113
↓ 1 callersFunctiondecrypt_and_verify_job_output
( job: api::Job, job_ephemeral_private_key: [u8; crypto::X25519_PRIVATE_KEY_SIZE], agent_identity_
rat/client/src/cli/exec.rs:174
↓ 1 callersMethoddelete_job
(&self, db: &Pool<Postgres>, job_id: Uuid)
rat/server/src/repository/jobs.rs:94
↓ 1 callersFunctionencrypt_and_sign_job
( conf: &config::Config, command: String, args: Vec<String>, agent_id: Uuid, agent_public_
rat/client/src/cli/exec.rs:75
↓ 1 callersFunctionencrypt_and_sign_job_result
( conf: &config::Config, job_id: Uuid, output: String, job_result_ephemeral_public_key: [u8; c
rat/agent/src/run.rs:164
↓ 1 callersFunctionenv_not_found
(var: &str)
rat/server/src/config.rs:44
↓ 1 callersFunctionexecute_command
(command: String, args: Vec<String>)
rat/agent/src/run.rs:91
↓ 1 callersFunctionexecute_remote_agent
(ssh: &Session, remote_path: &str)
rat/agent/src/spread.rs:91
↓ 1 callersFunctionextract_bundle
(install_dir: PathBuf, bundle: PathBuf)
rat/agent/src/install.rs:34
↓ 1 callersMethodfind_agent
(&self, agent_id: Uuid)
rat/server/src/service/agents.rs:17
↓ 1 callersMethodfind_all_agents
(&self, db: &Pool<Postgres>)
rat/server/src/repository/agents.rs:50
↓ 1 callersMethodfind_job_for_agent
( &self, db: &Pool<Postgres>, agent_id: Uuid, )
rat/server/src/repository/jobs.rs:71
↓ 1 callersMethodget_agent
(&self, agent_id: Uuid)
rat/client/src/api/get_agent.rs:7
↓ 1 callersMethodget_agent_job
(&self, agent_id: Uuid)
rat/server/src/service/jobs.rs:25
↓ 1 callersMethodget_job_result
(&self, job_id: uuid::Uuid)
rat/client/src/api/get_job_result.rs:6
↓ 1 callersMethodget_job_result
(&self, job_id: Uuid)
rat/server/src/service/jobs.rs:13
↓ 1 callersFunctionget_saved_agent_config
()
rat/agent/src/init.rs:59
↓ 1 callersFunctionidentify_platform
(ssh: &Session)
rat/agent/src/spread.rs:112
↓ 1 callersFunctioninstall_crontab
(executable: &PathBuf)
rat/agent/src/install/linux.rs:28
↓ 1 callersFunctioninstall_launchd
(executable: &PathBuf)
rat/agent/src/install/macos.rs:21
↓ 1 callersFunctioninstall_registry_user_run
(executable: &PathBuf)
rat/agent/src/install/windows.rs:21
↓ 1 callersFunctioninstall_systemd
(executable: &PathBuf)
rat/agent/src/install/linux.rs:57
↓ 1 callersMethodlist_agents
(&self)
rat/client/src/api/list_agents.rs:6
↓ 1 callersMethodlist_agents
(&self)
rat/server/src/service/agents.rs:13
↓ 1 callersFunctionmigrate
(db: &Pool<Postgres>)
rat/server/src/db.rs:17
↓ 1 callersFunctionregister
()
rat/agent/src/init.rs:23
↓ 1 callersMethodregister_agent
( &self, input: api::RegisterAgent, )
rat/server/src/service/agents.rs:21
↓ 1 callersFunctionroutes
( app_state: Arc<AppState>, )
rat/server/src/api/routes/mod.rs:13
↓ 1 callersFunctionsave_agent_config
(conf: &config::Config)
rat/agent/src/init.rs:48
↓ 1 callersFunctionspread
(install_dir: PathBuf, host_port: &str)
rat/agent/src/spread.rs:30
↓ 1 callersFunctionsyscall1
(syscall: usize, arg1: usize)
shellcode/hello_world/src/main.rs:43
↓ 1 callersFunctionsyscall3
(syscall: usize, arg1: usize, arg2: usize, arg3: usize)
shellcode/hello_world/src/main.rs:58
↓ 1 callersMethodupdate_agent
(&self, db: &Pool<Postgres>, agent: &Agent)
rat/server/src/repository/agents.rs:31
↓ 1 callersMethodupdate_job
(&self, db: &Pool<Postgres>, job: &Job)
rat/server/src/repository/jobs.rs:31
↓ 1 callersMethodupdate_job_result
(&self, input: UpdateJobResult)
rat/server/src/service/jobs.rs:39
↓ 1 callersFunctionupload_agent
(ssh: &Session, agent_path: &PathBuf)
rat/agent/src/spread.rs:70
↓ 1 callersFunctionwith_state
( state: Arc<AppState>, )
rat/server/src/api/state.rs:16
Function_start
()
shellcode/hello_world/src/main.rs:30
Functioncreate_job
( state: Arc<AppState>, input: api::CreateJob, )
rat/server/src/api/routes/jobs.rs:8
Methodcreate_job
(&self, db: &Pool<Postgres>, job: &Job)
rat/server/src/repository/jobs.rs:8
Methoderr
(err: Error)
rat/common/src/api.rs:23
Methodfmt
(&self, f: &mut fmt::Formatter)
rat/agent/src/spread.rs:19
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
rat/agent/src/error.rs:13
Methodfrom
(err: uuid::Error)
rat/client/src/error.rs:12
Methodfrom
(err: sqlx::migrate::MigrateError)
rat/server/src/error.rs:16
Methodfrom
(err: std::io::Error)
rat/agent/src/error.rs:21
Functionget_agent
( state: Arc<AppState>, agent_id: Uuid, )
rat/server/src/api/routes/agents.rs:17
Functionget_agent_job
( state: Arc<AppState>, agent_id: Uuid, )
rat/server/src/api/routes/jobs.rs:56
Functionget_agents
(state: Arc<AppState>)
rat/server/src/api/routes/agents.rs:7
Functionget_job_result
( state: Arc<AppState>, job_id: Uuid, )
rat/server/src/api/routes/jobs.rs:31
Functionhandle_error
(rejection: Rejection)
rat/server/src/api/error.rs:39
Functionindex
()
rat/server/src/api/routes/index.rs:5
Functioninit_and_install
()
rat/agent/src/init.rs:7
Functioninstall
()
rat/agent/src/install/linux.rs:6
Functioninstall
()
rat/agent/src/install/windows.rs:6
Functioninstall
()
rat/agent/src/install/macos.rs:6
Methodload
()
rat/client/src/config.rs:13
Methodload
()
rat/server/src/config.rs:17
Functionmain
()
shellcode/executor/src/main.rs:11
Functionmain
()
rat/client/src/main.rs:12
Functionmain
()
rat/server/src/main.rs:17
Functionmain
()
rat/agent/src/main.rs:12
Methodnew
(server_url: String)
rat/client/src/api/mod.rs:16
Methodnew
(db: Pool<Postgres>, config: config::Config)
rat/server/src/service/mod.rs:19
Methodnew
(service: Service)
rat/server/src/api/state.rs:11
Functionpanic
(_: &core::panic::PanicInfo)
shellcode/hello_world/src/main.rs:7
Functionpost_agents
( state: Arc<AppState>, input: api::RegisterAgent, )
rat/server/src/api/routes/agents.rs:29
Functionpost_job_result
( state: Arc<AppState>, input: api::UpdateJobResult, )
rat/server/src/api/routes/jobs.rs:20
Functionrun
(api_client: &api::Client)
rat/client/src/cli/agents.rs:5
Functionrun
()
rat/client/src/cli/identity.rs:1
Functionrun
(api_client: &ureq::Agent, conf: config::Config)
rat/agent/src/run.rs:19