Expand description
Utility functions for common operations\npub mod utils; Utility functions for common operations.
Provides helper functions for:
- [
download]: Downloading files from URLs with progress tracking - File operations: Creating tar.gz archives, loading Shurikens from disk
- Process management: Killing processes by PID or name
- Port detection: Finding which process is using a given port
- Configuration parsing: Extracting ports from Apache/Nginx configs
Modules§
Structs§
Functions§
- create_
tar_ gz_ bytes - get_
http_ port - get_
port_ owner - kill_
process_ by_ name - kill_
process_ by_ pid - load_
shurikens - normalize_
shuriken_ name - Normalizes a shuriken name to lowercase for consistent directory naming. This ensures all shuriken directories use lowercase names.
- resolve_
path