├── requeriments.txt ├── qubo.jar ├── README.md └── h4mtool.py /requeriments.txt: -------------------------------------------------------------------------------- 1 | colorama>=0.4.4 -------------------------------------------------------------------------------- /qubo.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ipforwarding/H4MTool/HEAD/qubo.jar -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # H4MTool 2 | H4MTool es una herramienta enfocada en escaneos de puertos 3 | 4 | ![image](https://user-images.githubusercontent.com/81488878/148898393-95b12c6d-2c36-4819-b90a-88aba5e39619.png) 5 | 6 | 7 | **Redes:** 8 | - [Discord](https://discord.gg/BaStk83sPu "Discord") 9 | - [Github](https://github.com/SuccessCod3 "Github") 10 | - [NameMC](http://es.namemc.com/ipforwarding "NameMC") 11 | 12 | **Sobre mi:** 13 | Vivo y estudio en Montevideo Uruguay, Actualmente tengo 17 años y curso ultimo grado de secundaria. 14 | 15 | ✅ Siguiente Meta: Poder llegar a trabajar como Junior 16 | 17 | ❌ No me hago responsable del mal uso que se le de a H4MTool, recuerda que todo el contenido es creado con fines educativos 18 | -------------------------------------------------------------------------------- /h4mtool.py: -------------------------------------------------------------------------------- 1 | #All Rights reserved to https://github.com/SuccessCod3 2 | #if you found some bug/error please report it in my discord <3 3 | #https://discord.gg/BaStk83sPu 4 | 5 | import os 6 | import colorama 7 | import platform 8 | from colorama import Fore 9 | systemdet = platform.system() 10 | 11 | errormsg = "Something is wrong!, if you think it is a error please report it on discord" 12 | title = Fore.RED+""" 13 | 888 888 d8888 888b d888 88888888888 888 14 | 888 888 d8P888 8888b d8888 888 888 15 | 888 888 d8P 888 88888b.d88888 888 888 16 | 8888888888 d8P 888 888Y88888P888 888 .d88b. .d88b. 888 17 | 888 888 d88 888 888 Y888P 888 888 d88""88b d88""88b 888 18 | 888 888 8888888888 888 Y8P 888 888 888 888 888 888 888 19 | 888 888 888 888 " 888 888 Y88..88P Y88..88P 888 20 | 888 888 888 888 888 888 "Y88P" "Y88P" 888""" 21 | 22 | 23 | menu = Fore.WHITE+""" 24 | ╔═════════════════════════════════════════════╦═══════════════════════════════════════════════════╗ 25 | ║ Executor ║ Function ║ 26 | ║ ║ ║ 27 | ║═════════════════════════════════════════════║═══════════════════════════════════════════════════║ 28 | ║ scan (nmap scan) ║ use nmap to scan a port ip/range ║ 29 | ║ qubo (just for minecraft ports) ║ use qubo scanner to scan ip/range (mc ports) ║ 30 | ║ subdomains (Avaible in v1.x) ║ scan a subdomain list in a domain ║ 31 | ║ poisoning (Avaible in v1.x) ║ Create a proxy connection that redirects to a ║ 32 | ║ ║ server and captures commands ║ 33 | ║ clear ║ Clear screen ║ 34 | ╚═════════════════════════════════════════════╩═══════════════════════════════════════════════════╝ 35 | https://es.namemc.com/ipforwarding 36 | https://github.com/SuccessCod3 """ 37 | 38 | menuscan = Fore.WHITE+""" 39 | ╔═════════════════════════════════════════════╦═══════════════════════════════════════════════════╗ 40 | ║ Executor ║ Function ║ 41 | ║ ║ ║ 42 | ║═════════════════════════════════════════════║═══════════════════════════════════════════════════║ 43 | ║ fast: (1-100,25565-25600) ║ Fast scan - ranges/ip ║ 44 | ║ medium: (1-10000,25000-30000) ║ medium scan - not recommended for ranges ║ 45 | ║ slow: (1-65535) ║ slow scan - not recommended for ranges ║ 46 | ║ custom ║ custom scan - you select port range ║ 47 | ║ ║ ║ 48 | ║ clear ║ Clear screen ║ 49 | ╚═════════════════════════════════════════════╩═══════════════════════════════════════════════════╝ 50 | https://es.namemc.com/ipforwarding 51 | https://github.com/SuccessCod3 """ 52 | 53 | def clear(): 54 | if systemdet=="Linux": 55 | os.system("clear") 56 | else: 57 | os.system("cls") 58 | 59 | def main(): 60 | if systemdet=="Linux": 61 | os.system("clear") 62 | else: 63 | os.system("cls") 64 | 65 | print(title) 66 | print(menu) 67 | cmd = input('Select your option: ') 68 | 69 | if cmd=="scan": 70 | clear() 71 | scan() 72 | pass 73 | elif cmd=="qubo": 74 | clear() 75 | qubo() 76 | pass 77 | elif cmd=="clear": 78 | clear() 79 | print(menu) 80 | pass 81 | else: 82 | main() 83 | pass 84 | 85 | def scan(): 86 | print(title) 87 | print(menuscan) 88 | cmd = input('Select your option: ') 89 | if cmd=="fast": 90 | ipz = input('Insert ip: ') 91 | if systemdet=="Linux": 92 | os.system("mkdir output") 93 | os.system("touch output/"+ipz+"_fast.txt") 94 | print(Fore.RED+"WARNING"+Fore.WHITE+": Scan will be printed in output/"+ipz+"_fast.txt") 95 | os.system("nmap -p 1-100,25565-25600 -T4 -A --open -v -Pn "+ipz+" >>output/"+ipz+"_fast.txt") 96 | exitit = input('Do you want continue?: ') 97 | if exitit=="y": 98 | main() 99 | elif exitit=="n": 100 | exit() 101 | else: 102 | main() 103 | pass 104 | else: 105 | print(Fore.RED+"WARNING"+Fore.WHITE+": Scan will be printed in "+ipz+"_output_fast.txt") 106 | f = open(ipz+"_output_fast.txt", "w+") 107 | f.close() 108 | os.system("nmap -p 1-100,25565-25600 -T4 -A --open -v -Pn "+ipz+" >>"+ipz+"_output_fast.txt") 109 | exitit = input('Do you want continue?: ') 110 | if exitit=="y": 111 | main() 112 | elif exitit=="n": 113 | exit() 114 | else: 115 | main() 116 | pass 117 | pass 118 | pass 119 | elif cmd=="medium": 120 | ipz = input('Insert ip: ') 121 | if systemdet=="Linux": 122 | os.system("mkdir output") 123 | os.system("touch output/"+ipz+"_medium.txt") 124 | print(Fore.RED+"WARNING"+Fore.WHITE+": Scan will be printed in output/"+ipz+"_medium.txt") 125 | os.system("nmap -p 1-10000,25000-30000 -T4 -A --open -v -Pn "+ipz+" >>output/"+ipz+"_medium.txt") 126 | exitit = input('Do you want continue?: ') 127 | if exitit=="y": 128 | main() 129 | elif exitit=="n": 130 | exit() 131 | else: 132 | main() 133 | pass 134 | else: 135 | print(Fore.RED+"WARNING"+Fore.WHITE+": Scan will be printed in "+ipz+"_output_medium.txt") 136 | f = open(ipz+"_output_medium.txt", "w+") 137 | f.close() 138 | os.system("nmap -p 1-10000,25000-30000 -T4 -A --open -v -Pn "+ipz+" >>"+ipz+"_output_medium.txt") 139 | exitit = input('Do you want continue?: ') 140 | if exitit=="y": 141 | main() 142 | elif exitit=="n": 143 | exit() 144 | else: 145 | main() 146 | pass 147 | pass 148 | pass 149 | elif cmd=="slow": 150 | ipz = input('Insert ip: ') 151 | if systemdet=="Linux": 152 | os.system("mkdir output") 153 | os.system("touch output/"+ipz+"_slow.txt") 154 | print(Fore.RED+"WARNING"+Fore.WHITE+": Scan will be printed in output/"+ipz+"_slow.txt") 155 | os.system("nmap -p 1-10000,25000-30000 -T4 -A --open -v -Pn "+ipz+" >>output/"+ipz+"_slow.txt") 156 | exitit = input('Do you want continue?: ') 157 | if exitit=="y": 158 | main() 159 | elif exitit=="n": 160 | exit() 161 | else: 162 | main() 163 | pass 164 | else: 165 | print(Fore.RED+"WARNING"+Fore.WHITE+": Scan will be printed in "+ipz+"_output_slow.txt") 166 | f = open(ipz+"_output_slow.txt", "w+") 167 | f.close() 168 | os.system("nmap -p 1-10000,25000-30000 -T4 -A --open -v -Pn "+ipz+" >>"+ipz+"_output_slow.txt") 169 | exitit = input('Do you want continue?: ') 170 | if exitit=="y": 171 | main() 172 | elif exitit=="n": 173 | exit() 174 | else: 175 | main() 176 | pass 177 | pass 178 | pass 179 | elif cmd=="custom": 180 | ipz = input('Insert ip: ') 181 | portr = input('Insert ports: ') 182 | if systemdet=="Linux": 183 | os.system("mkdir output") 184 | os.system("touch output/"+ipz+"_slow.txt") 185 | print(Fore.RED+"WARNING"+Fore.WHITE+": Scan will be printed in output/"+ipz+"_slow.txt") 186 | os.system("nmap -p "+portr+" -T4 -A --open -v -Pn "+ipz+" >>output/"+ipz+"_slow.txt") 187 | exitit = input('Do you want continue?: ') 188 | if exitit=="y": 189 | main() 190 | elif exitit=="n": 191 | exit() 192 | else: 193 | main() 194 | pass 195 | else: 196 | print(Fore.RED+"WARNING"+Fore.WHITE+": Scan will be printed in "+ipz+"_output_slow.txt") 197 | f = open(ipz+"_output_slow.txt", "w+") 198 | f.close() 199 | os.system("nmap -p "+portr+" -T4 -A --open -v -Pn "+ipz+" >>"+ipz+"_output_slow.txt") 200 | exitit = input('Do you want continue?: ') 201 | if exitit=="y": 202 | main() 203 | pass 204 | elif exitit=="n": 205 | exit() 206 | pass 207 | else: 208 | main() 209 | pass 210 | pass 211 | pass 212 | else: 213 | main() 214 | pass 215 | 216 | 217 | def qubo(): 218 | print(Fore.RED+"WARNING"+Fore.WHITE+": quboscanner just work with minecraft ports") 219 | quboopt = input('Do you have qubo.jar into h4mtool folder?: ') 220 | if quboopt=="y": 221 | iprange = input('Insert ip/range: ') 222 | portrange = input('Insert ports range: ') 223 | timeout = input('Insert ti: ') 224 | threats = input('Insert th: ') 225 | os.system("java -Dfile.encoding=UTF-8 -jar qubo.jar -noping -ports "+portrange+" -th "+threats+" -ti "+timeout+" -all -range "+iprange) 226 | pass 227 | elif quboopt=="n": 228 | main() 229 | pass 230 | else: 231 | main() 232 | pass 233 | 234 | def subdomains(): 235 | print("Not avaible on this version") 236 | 237 | def poisoning(): 238 | print("will be added in the future") 239 | 240 | main() 241 | --------------------------------------------------------------------------------