Skip to content

Commit

Permalink
Add SSRF Rasp capability (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
estringana authored Jan 3, 2025
1 parent 872c109 commit 8331f61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions remote-config/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub enum RemoteConfigProduct {
AsmDD,
AsmFeatures,
AsmRaspLfi,
AsmRaspSsrf,
LiveDebugger,
}

Expand All @@ -35,6 +36,7 @@ impl Display for RemoteConfigProduct {
RemoteConfigProduct::AsmData => "ASM_DATA",
RemoteConfigProduct::AsmFeatures => "ASM_FEATURES",
RemoteConfigProduct::AsmRaspLfi => "ASM_RASP_LFI",
RemoteConfigProduct::AsmRaspSsrf => "ASM_RASP_SSRF",
};
write!(f, "{}", str)
}
Expand Down Expand Up @@ -83,6 +85,7 @@ impl RemoteConfigPath {
"ASM_DATA" => RemoteConfigProduct::AsmData,
"ASM_FEATURES" => RemoteConfigProduct::AsmFeatures,
"ASM_RASP_LFI" => RemoteConfigProduct::AsmRaspLfi,
"ASM_RASP_SSRF" => RemoteConfigProduct::AsmRaspSsrf,
product => anyhow::bail!("Unknown product {}", product),
},
config_id: parts[parts.len() - 2],
Expand Down

0 comments on commit 8331f61

Please sign in to comment.