Last active
September 24, 2025 04:18
-
-
Save yehgdotnet/b9dfc618108d2f05845c4d8e28c5fc6a to your computer and use it in GitHub Desktop.
Revisions
-
yehgdotnet revised this gist
Apr 21, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import mmh3 import requests response = requests.get('https://cybersecurity.wtf/favicon.ico') favicon = response.content.encode('base64') hash = mmh3.hash(favicon) print hash @@ -19,7 +19,7 @@ import requests import codecs response = requests.get('https://cybersecurity.wtf/favicon.ico') favicon = codecs.encode(response.content,"base64") hash = mmh3.hash(favicon) print(hash) -
yehgdotnet renamed this gist
Apr 21, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
yehgdotnet revised this gist
Apr 21, 2020 . 2 changed files with 25 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ # https://twitter.com/brsn76945860/status/1171233054951501824 pip install mmh3 ----------------------------- # python 2 import mmh3 import requests response = requests.get('https://yehg.net/favicon.ico') favicon = response.content.encode('base64') hash = mmh3.hash(favicon) print hash ----------------------------- # python 3 import mmh3 import requests import codecs response = requests.get('https://yehg.net/favicon.ico') favicon = codecs.encode(response.content,"base64") hash = mmh3.hash(favicon) print(hash) -
yehgdotnet created this gist
Apr 21, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # https://twitter.com/brsn76945860/status/1171233054951501824 pip install mmh3 import mmh3 import requests response = requests.get('https://yehg.net/favicon.ico') favicon = response.content.encode('base64') hash = mmh3.hash(favicon) print hash