urbanadventurer / WhatWeb

Next generation web scanner

Home Page:https://www.morningstarsecurity.com/research/whatweb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

favicon.ico Error in MD5 calculation

winezer0 opened this issue · comments

for example http://172.120.6.96:9999/favicon.ico

pp @md5sum result is "3c525d9a513fc9806cc66b01420d1dfe"

but actually file md5 sum result it should be "0488faca4c19046b94d07c3ee83cf9d6"

Looks like this is due to UTF-8 conversion.

Commenting out this line causes the MD5sum to be calculated correctly:

@body = Helper::convert_to_utf8(@body)

Thank you very much, the problem has been resolved