MCPcopy Create free account
hub / github.com/SickleSec/GhostWolf / PrintValuesChrome

Function PrintValuesChrome

Ghostwolf/Application.cpp:318–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318void PrintValuesChrome(CanonicalCookieChrome cookie, HANDLE hProcess) {
319 PRINT(" Name: ");
320 ReadStringChrome(hProcess, cookie.name);
321 PRINT(" Value: ");
322 ReadVector(hProcess, cookie.value.maybe_encrypted_data_, cookie.value.original_size_);
323 PRINT(" Domain: ");
324 ReadStringChrome(hProcess, cookie.domain);
325 PRINT(" Path: ");
326 ReadStringChrome(hProcess, cookie.path);
327 PRINT(" Creation time: ");
328 PrintTimeStamp(cookie.creation_date);
329 PRINT(" Expiration time: ");
330 PrintTimeStamp(cookie.expiry_date);
331 PRINT(" Last accessed: ");
332 PrintTimeStamp(cookie.last_access_date);
333 PRINT(" Last updated: ");
334 PrintTimeStamp(cookie.last_update_date);
335 PRINT(" Secure: %s\n", cookie.secure ? "True" : "False");
336 PRINT(" HttpOnly: %s\n", cookie.httponly ? "True" : "False");
337
338 PRINT("\n");
339}
340
341void PrintValuesEdge(CanonicalCookieEdge cookie, HANDLE hProcess) {
342 PRINT(" Name: ");

Callers 1

ProcessNodeValueFunction · 0.85

Calls 3

ReadStringChromeFunction · 0.85
ReadVectorFunction · 0.85
PrintTimeStampFunction · 0.85

Tested by

no test coverage detected