├── README.md
├── asset
├── Go-Hash.png
└── text
├── gohash.py
└── requirements.txt
/README.md:
--------------------------------------------------------------------------------
1 | # Go-Hash
2 | Algorithm identification tools on hashes like MD5, SHA1, SHA256, SHA512, MYSQL
3 |
4 |
5 |
6 | ### Instalation on Linux (deb)
7 | ```
8 | sudo apt-get install git
9 | sudo apt-get install python3
10 | ```
11 |
12 | ### Instalation on Termux
13 | ```
14 | pkg install git
15 | pkg install python3
16 | ```
17 |
18 | ### Usage Tool
19 | ```
20 | git clone https://github.com/HunxByts/Go-Hash.git
21 | cd Go-Hash
22 | pip3 install -r requirements.txt
23 | python3 gohash.py
24 | ```
25 |
26 |
27 | :zap: Author :
28 | - HunxByts
29 |
30 |
--------------------------------------------------------------------------------
/asset/Go-Hash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/HunxByts/Go-Hash/9a2614ef8ab785c5df2bad235558593864564df3/asset/Go-Hash.png
--------------------------------------------------------------------------------
/asset/text:
--------------------------------------------------------------------------------
1 | Image...
2 |
--------------------------------------------------------------------------------
/gohash.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python
2 | # << CODE BY HUNXBYTS
3 | # << MAU RECODE ??? IZIN DULU LAH , MINIMAL TAG AKUN GITHUB MIMIN YANG MENGARAH KE AKUN INI, LEBIH ENAKNYA SIH FORK
4 | # << KALAU DI ATAS TIDAK DI IKUTI MAKA AKAN MENDAPATKAN DOSA KARENA MIMIN GAK IKHLAS
5 | # “Wahai orang-orang yang beriman! Janganlah kamu saling memakan harta sesamamu dengan jalan yang batil,” (QS. An Nisaa': 29). Rasulullah SAW juga melarang umatnya untuk mengambil hak orang lain tanpa izin.
6 |
7 | import requests
8 | import json
9 | from sys import stderr
10 | import time
11 |
12 |
13 |
14 | Bl='\033[30m' # VARIABLE COLOR
15 | Re='\033[1;31m'
16 | Gr='\033[1;32m'
17 | Ye='\033[1;33m'
18 | Blu='\033[1;34m'
19 | Mage='\033[1;35m'
20 | Cy='\033[1;36m'
21 | Wh='\033[1;37m'
22 |
23 | def banner():
24 | stderr.writelines(f"""{Gr}
25 |
26 | ██████╗ ██████╗ ██╗ ██╗ █████╗ ███████╗██╗ ██╗
27 | ██╔════╝ ██╔═══██╗ ██║ ██║██╔══██╗██╔════╝██║ ██║
28 | ██║ ███╗██║ ██║█████╗███████║███████║███████╗███████║
29 | ██║ ██║██║ ██║╚════╝██╔══██║██╔══██║╚════██║██╔══██║
30 | ╚██████╔╝╚██████╔╝ ██║ ██║██║ ██║███████║██║ ██║
31 | ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
32 | {Wh}<<------ {Gr}C O D E B Y H U N X {Wh}------>>
33 | {Wh}< Hash identified >
34 | """)
35 | banner() #FUNCTION BANNER
36 |
37 | try:
38 | def function(): #FUNCTION HASH
39 | api_url = 'https://hashes.com/en/api/identifier' #API HASHES
40 | hash_input = input(f"\n {Wh}[{Gr}+{Wh}] {Gr}Enter Your Hash : {Wh}") #ENTER HASH
41 | Query = {'hash': hash_input}
42 |
43 | response = requests.get(api_url, params=Query) #GET REQUEST API
44 |
45 | data = json.loads(response.text) #GET JSON CONVERT TEXT
46 | if data ['success']: #SUCCESS
47 | algorithms = data ['algorithms']
48 | algoritm_hash = ', '.join(algorithms)
49 | time.sleep(2)
50 | print(f'\n {Wh}===================== {Ye}Show Algorithm Hash {Wh}====================')
51 | print(f'\n {Wh}[{Gr}+{Wh}] {Gr}Hash :{Wh}', hash_input)
52 | print(f' {Wh}[{Gr}+{Wh}] {Gr}Algorithm :{Ye}', algoritm_hash)
53 | print(f'\n {Wh}==============================================================')
54 | while True: # While Tools
55 | time.sleep(2)
56 | user_input = input(f"\n {Wh}Do you want to identify the hash again? {Gr}Y/N {Wh}:{Ye} ")
57 | if user_input == 'Y' or user_input == 'y':
58 | function()
59 | elif user_input == 'N' or user_input == 'n':
60 | print(f' {Re}Exit ToolS !!!')
61 | break
62 | else:
63 | print(f' {Wh}[{Gr}!{Wh}] {Gr}Hash :{Re}', data['message']) #ERROR NOT FOUND HASH
64 |
65 | if __name__ == "__main__":
66 | function() #RUN FUNCTION FUNCTION()
67 | except KeyboardInterrupt: #Keyboard CTRL + C, THEN EXIT!!
68 | print(f"{Wh} stopped Program...")
69 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | requests
2 |
--------------------------------------------------------------------------------