Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

give url to apis instead of host for http analyze

Geod853c85b0725
diff --git a/src/Abstracts/ANetworkController.cpp b/src/Abstracts/ANetworkController.cpp
index 4a1bb849..576972bd 100644
--- a/src/Abstracts/ANetworkController.cpp
+++ b/src/Abstracts/ANetworkController.cpp
@@ -520,7 +520,7 @@ void ANetworkController::handleHttpAnalyze(const TerminalCommand& cmd)
{ // scope to limit variable lifetime
auto lines = std::vector<std::string>();
const std::string ssllabsUrl =
- "https://api.ssllabs.com/api/v3/analyze?host=" + host;
+ "https://api.ssllabs.com/api/v3/analyze?host=" + url;
terminalView.println("HTTP Analyze: " + ssllabsUrl + " (SSL Labs)...");