MCPcopy Create free account

hub / github.com/D3vil0p3r/htb-toolkit / functions

Functions51 in github.com/D3vil0p3r/htb-toolkit

↓ 13 callersFunctionfetch_api_async
Define an async version of fetch_api
src/api.rs:7
↓ 12 callersFunctionget_appkey
()
src/appkey.rs:32
↓ 4 callersFunctionis_inside_container
()
src/utils.rs:268
↓ 4 callersFunctionprint_banner
()
src/utils.rs:193
↓ 3 callersFunctionget_help
()
src/utils.rs:231
↓ 3 callersFunctionget_interface_ip
(interface_name: &str)
src/utils.rs:174
↓ 3 callersFunctionget_ip
(appkey: &str)
src/types.rs:9
↓ 3 callersFunctionis_display_empty
()
src/utils.rs:284
↓ 3 callersFunctionrun_vpn
(is_starting_point: bool)
src/vpn.rs:151
↓ 2 callersFunctionadd_hosts
(machine_info: &PlayingMachine)
src/utils.rs:377
↓ 2 callersFunctionchange_shell
(machine_info: &mut PlayingMachine, user_info: &mut PlayingUser)
src/utils.rs:48
↓ 2 callersFunctiondelete_appkey
()
src/appkey.rs:111
↓ 2 callersFunctionfind_menu_children_mut
(value: &'a mut Value, name: &str)
src/manage.rs:158
↓ 2 callersMethodget_name
(&self)
src/types.rs:185
↓ 2 callersFunctionhtb_machines_to_flypie
( machine_list: Vec<T>, )
src/utils.rs:300
↓ 2 callersFunctionlist_machines
(machine_type: &str)
src/list.rs:54
↓ 2 callersFunctionlist_sp_machines
()
src/list.rs:6
↓ 2 callersFunctionread_file_contents
(path: &str)
src/appkey.rs:6
↓ 2 callersFunctionset_appkey
()
src/appkey.rs:72
↓ 2 callersFunctionstop_machine
()
src/manage.rs:91
↓ 1 callersFunctioncheck_root
()
src/utils.rs:19
↓ 1 callersFunctioncheck_vpn
(machine_spflag: bool)
src/vpn.rs:121
↓ 1 callersFunctiondisplay_table
(machine_list: &[Machine])
src/list.rs:237
↓ 1 callersFunctiondisplay_table_sp
(machine_list: &[SPMachine])
src/list.rs:220
↓ 1 callersFunctiondisplay_target_info
(machine_info: &PlayingMachine, user_info: &PlayingUser)
src/utils.rs:155
↓ 1 callersFunctionfetch_api
fetch_api checks also if the App Token is valid or not
src/api.rs:15
↓ 1 callersFunctionget_active_machine_info
()
src/manage.rs:18
↓ 1 callersFunctionget_appkey_from_keyring
()
src/appkey.rs:13
↓ 1 callersMethodget_avatar
(&self)
src/types.rs:189
↓ 1 callersFunctionget_vpn_connections
()
src/vpn.rs:31
↓ 1 callersFunctionis_display_zero
()
src/utils.rs:292
↓ 1 callersFunctionis_wsl
()
src/utils.rs:276
↓ 1 callersFunctionmanage_app_key
(option: &str)
src/manage.rs:277
↓ 1 callersFunctionplay_machine
(machine_name: &str)
src/play.rs:29
↓ 1 callersFunctionprompt_setting
(option: &str)
src/manage.rs:140
↓ 1 callersFunctionreset_appkey
()
src/appkey.rs:106
↓ 1 callersFunctionreset_machine
()
src/manage.rs:37
↓ 1 callersFunctionrestore_shell
()
src/utils.rs:134
↓ 1 callersFunctionsubmit_flag
()
src/play.rs:134
↓ 1 callersFunctionupdate_machines
()
src/manage.rs:180
↓ 1 callersFunctionvpn_type
()
src/vpn.rs:88
Methodget_active
(appkey: &str)
src/types.rs:122
Methodget_current_config
(htb_config: &str)
src/types.rs:509
Methodget_machine
(machine_name: &str, appkey: &str)
src/types.rs:273
Methodget_os_icon
(name: &str, os: &String, pos: &str)
src/types.rs:247
Methodget_playinguser
get_playinguser fetches for tun0 interface for attacker IP address
src/types.rs:482
Methodget_prompt_change
(htb_config: &str)
src/types.rs:515
Methodget_user
(appkey: &str)
src/types.rs:414
Functionget_vpn_interface_ip
HTB's VPN usually comes up as tun0, but it can be tun1, tun2, or a WireGuard-style interface. Try the common names first, then fall back to any interf
src/utils.rs:30
Functionmain
()
src/main.rs:22
Methodprint_machine
(m: PlayingMachine)
src/types.rs:389