Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix missing favicon hash for targets #1848

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

RamanaReddy0M
Copy link
Contributor

@RamanaReddy0M RamanaReddy0M commented Jul 31, 2024

@RamanaReddy0M RamanaReddy0M linked an issue Jul 31, 2024 that may be closed by this pull request
@RamanaReddy0M RamanaReddy0M self-assigned this Jul 31, 2024
@RamanaReddy0M
Copy link
Contributor Author

✗ ./httpx -u "https://0-cenka.ru,https://0360.ru,https://www.viber.com,https://favicon.io/emoji-favicons/alien/,https://00j.ru/" -favicon -fr -fhr

    __    __  __       _  __
   / /_  / /_/ /_____ | |/ /
  / __ \/ __/ __/ __ \|   /
 / / / / /_/ /_/ /_/ /   |
/_/ /_/\__/\__/ .___/_/|_|
             /_/

                projectdiscovery.io

[INF] Current httpx version v1.6.6 (latest)
[WRN] UI Dashboard is disabled, Use -dashboard option to enable
https://www.viber.com [https://www.viber.com/en/] [1550133834]
https://favicon.io/emoji-favicons/alien/ [1352067985]
https://00j.ru/ [1871456111]
https://0360.ru [-1805840784]
https://0-cenka.ru [-1211857331]

Base automatically changed from dev to main July 31, 2024 19:30
@tarunKoyalwar tarunKoyalwar requested review from dwisiswant0 and removed request for tarunKoyalwar August 5, 2024 09:11
Copy link
Member

@dwisiswant0 dwisiswant0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure if this is a practical step to perform a check using a "data:image/" prefix instead of validating the whole mimetype with a ^data:(image\/.+);base64, pattern. Or maybe, we could use mime.ParseMediaType to dodge issues with invalid chars/padding and to future-proof our code against possible MIME type variants.

runner/runner.go Outdated Show resolved Hide resolved
common/stringz/stringz.go Show resolved Hide resolved
common/stringz/stringz.go Show resolved Hide resolved
@ehsandeep ehsandeep changed the base branch from main to dev August 6, 2024 21:52
@RamanaReddy0M RamanaReddy0M force-pushed the issue-1842-fix-missing-favicon-hashes branch from 56b9973 to 85ad210 Compare August 8, 2024 10:32
@ehsandeep ehsandeep merged commit 1af4647 into dev Aug 9, 2024
21 checks passed
@ehsandeep ehsandeep deleted the issue-1842-fix-missing-favicon-hashes branch August 9, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support more favicon types (-favicon mmh3 probe enchant)
3 participants