Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/D3vil0p3r/htb-toolkit
/ functions
Functions
51 in github.com/D3vil0p3r/htb-toolkit
⨍
Functions
51
◇
Types & classes
12
↓ 13 callers
Function
fetch_api_async
Define an async version of fetch_api
src/api.rs:7
↓ 12 callers
Function
get_appkey
()
src/appkey.rs:32
↓ 4 callers
Function
is_inside_container
()
src/utils.rs:268
↓ 4 callers
Function
print_banner
()
src/utils.rs:193
↓ 3 callers
Function
get_help
()
src/utils.rs:231
↓ 3 callers
Function
get_interface_ip
(interface_name: &str)
src/utils.rs:174
↓ 3 callers
Function
get_ip
(appkey: &str)
src/types.rs:9
↓ 3 callers
Function
is_display_empty
()
src/utils.rs:284
↓ 3 callers
Function
run_vpn
(is_starting_point: bool)
src/vpn.rs:151
↓ 2 callers
Function
add_hosts
(machine_info: &PlayingMachine)
src/utils.rs:377
↓ 2 callers
Function
change_shell
(machine_info: &mut PlayingMachine, user_info: &mut PlayingUser)
src/utils.rs:48
↓ 2 callers
Function
delete_appkey
()
src/appkey.rs:111
↓ 2 callers
Function
find_menu_children_mut
(value: &'a mut Value, name: &str)
src/manage.rs:158
↓ 2 callers
Method
get_name
(&self)
src/types.rs:185
↓ 2 callers
Function
htb_machines_to_flypie
( machine_list: Vec<T>, )
src/utils.rs:300
↓ 2 callers
Function
list_machines
(machine_type: &str)
src/list.rs:54
↓ 2 callers
Function
list_sp_machines
()
src/list.rs:6
↓ 2 callers
Function
read_file_contents
(path: &str)
src/appkey.rs:6
↓ 2 callers
Function
set_appkey
()
src/appkey.rs:72
↓ 2 callers
Function
stop_machine
()
src/manage.rs:91
↓ 1 callers
Function
check_root
()
src/utils.rs:19
↓ 1 callers
Function
check_vpn
(machine_spflag: bool)
src/vpn.rs:121
↓ 1 callers
Function
display_table
(machine_list: &[Machine])
src/list.rs:237
↓ 1 callers
Function
display_table_sp
(machine_list: &[SPMachine])
src/list.rs:220
↓ 1 callers
Function
display_target_info
(machine_info: &PlayingMachine, user_info: &PlayingUser)
src/utils.rs:155
↓ 1 callers
Function
fetch_api
fetch_api checks also if the App Token is valid or not
src/api.rs:15
↓ 1 callers
Function
get_active_machine_info
()
src/manage.rs:18
↓ 1 callers
Function
get_appkey_from_keyring
()
src/appkey.rs:13
↓ 1 callers
Method
get_avatar
(&self)
src/types.rs:189
↓ 1 callers
Function
get_vpn_connections
()
src/vpn.rs:31
↓ 1 callers
Function
is_display_zero
()
src/utils.rs:292
↓ 1 callers
Function
is_wsl
()
src/utils.rs:276
↓ 1 callers
Function
manage_app_key
(option: &str)
src/manage.rs:277
↓ 1 callers
Function
play_machine
(machine_name: &str)
src/play.rs:29
↓ 1 callers
Function
prompt_setting
(option: &str)
src/manage.rs:140
↓ 1 callers
Function
reset_appkey
()
src/appkey.rs:106
↓ 1 callers
Function
reset_machine
()
src/manage.rs:37
↓ 1 callers
Function
restore_shell
()
src/utils.rs:134
↓ 1 callers
Function
submit_flag
()
src/play.rs:134
↓ 1 callers
Function
update_machines
()
src/manage.rs:180
↓ 1 callers
Function
vpn_type
()
src/vpn.rs:88
Method
get_active
(appkey: &str)
src/types.rs:122
Method
get_current_config
(htb_config: &str)
src/types.rs:509
Method
get_machine
(machine_name: &str, appkey: &str)
src/types.rs:273
Method
get_os_icon
(name: &str, os: &String, pos: &str)
src/types.rs:247
Method
get_playinguser
get_playinguser fetches for tun0 interface for attacker IP address
src/types.rs:482
Method
get_prompt_change
(htb_config: &str)
src/types.rs:515
Method
get_user
(appkey: &str)
src/types.rs:414
Function
get_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
Function
main
()
src/main.rs:22
Method
print_machine
(m: PlayingMachine)
src/types.rs:389