Skip to content

Commit

Permalink
ja4 - ja4h / fix issue where number of headers in A field was hex
Browse files Browse the repository at this point in the history
  • Loading branch information
astibal committed Nov 11, 2024
1 parent 5da48a8 commit dee7627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inspect/fp/ja4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace sx::ja4 {

std::string to_dec_2B(size_t w) {
std::stringstream ss;
ss << std::hex << std::setw(2) << std::setfill('0') << w;
ss << std::setw(2) << std::setfill('0') << w;
return ss.str();
}

Expand Down

0 comments on commit dee7627

Please sign in to comment.