In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install hashcat in different environments. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Hardware:
System: win7 x64
Configuration: two NVIDIA graphics cards: GeForce GTX 750and Tesla K20c
I installed two graphics cards, one for display and one for calculation. Tesla is designed for large-scale computing GPU, and the K20 I use is about hundreds of times faster than my CPU. At present, the Tesla P series is the fastest GPU in NVIDA, but it is really too expensive to buy. Those who are interested in GPU can learn google on their own.
TeslaK20c power is relatively large, the ordinary power supply can not drive two GPU at the same time, so the ordinary power supply is replaced by 800W high-power power supply. Ah, this power supply is so expensive (╥ expensive ╥) o
Preparatory activities
1. Download hashcat.
There are two download links on the official website, one is the binary file and the other is the source program.
If the computer has been configured in advance, you can download the binary file, decompress and run it.
However, if you are not sure whether your computer is fully configured, it is recommended that you download the source code. Because the compiler in hashcat's Makefile file is perfect, follow the prompts to install it step by step and run it completely. However, binaries are not guaranteed to run on all computers, and it will be difficult if there is something wrong with the configuration.
two。 Read the documents in hashcat
In fact, in hashcat, you mainly look at three files: README.md,BULID.md,Makefile.
First of all, look at the relevant introduction to hashcat in the README.md:README.md file, including a brief introduction, certificate, download address, installation instructions, and other notes.
Then look at the BUILD.md file: the BUILD.md file contains the installation commands for hashcat on different systems. You can successfully install hashcat by following the instructions in the BUILD.md file.
Finally, the Makefile:src/Makefile file is the compiled code for hashcat. The complete installation process is included, and the hashcat.exe can be generated by running the Makefile file completely. If there is a file path or configuration problem in the configuration process, you can look for it in the Makefile file, or there will be a harvest.
How to install hashcat in windows environment
Hashcat usually runs on the server and then makes a remote call. But if you have to build a server for personal use, it will be very troublesome. Hahscat is very humanized, and its source code is commonly used in Windows, Apple and Linux systems. Most people use Windows, so we might as well try installing hashcat in a windows environment.
If you want to install hashcat in Windows environment, you must first install the compiler. Here I use mingWG to compile the hashcat source code. Version 3.0 and 4.0 of Hashcat are compatible with cpu and GPU versions. During installation, hashcat will determine whether your computer has GPU or not. if there is no GPU, the CPU version will be installed.
Download and install MinGW
MinGW is a lightweight GNU for Windows. It is a collection of header files and port libraries that allow us to use GCC without third-party library files. The core of MinGW is GCC, while GCC is a compilation system that can be ported to almost all computer platforms. MinGW contains other GNU program tools in addition to GCC.
Let's download and install WinGW first. Find your favorite version and install it in a location you are familiar with, OK!
You can set MinGW in MinGW Installation Manager, right-click "Mark for Installation", and then select Installation-> Apply Changes.
WinGW environment configuration
After the installation is complete, you need to set the environment variables:
My computer-> Properties-> Advanced system Settings-> Advanced-> Environment variables
Find "Path" in the column of system variables and edit it. The environment variable Path specifies the search path for the executable file so that we can open the file under any path. In this way, in addition to looking for programs in the current directory, the system will also look for programs in the directory specified by path. The Bin file is actually the folder where the commands in mingw are located.
Put the path of MinGW in front of the value of the path variable and separate it with ";".
Install hashcat
Open the BUILD.MD file for hashcat, which is the installation file for hashcat. The installation method under Windows is as follows:
From the hashcat directory, run the make win64 command.
It is found that the make command does not exist, but in the bin directory of MinGW, we find the wingw32-make command and execute it using wingw32-make win64 instead. An error occurred after running the command. The module could not be found because opencl is not installed. Hashcat to run in opencl environment, call a lot of opencl libraries
Opencl has intel version, nvida version and AMD version. All of these versions are fine. The address of the opencl of the intel I downloaded is: https://software.intel.com/en-us/articles/opencl-drivers. You can choose the appropriate installation package according to the configuration of your computer. My computer didn't have any configuration for opencl before, so I downloaded SDK and dirver to prevent other unexpected problems during subsequent installation:
Intel ®SDK for OpenCL ™Applications 2017R2 for Windows* (64-bit)
OpenCL ™Runtime for Intel ®Core ™and Intel ®Xeon ®Processors
After the installation is complete, we make again with an error:
This is due to a path problem in the makefile file, and the libiconv file can be found in hashcat. I found that I didn't have this file path in my hashcat, so I downloaded another libiconv. Modify the call in the makefile file after download. Make again. Success!
After the installation is successful, we can set hashcat64 as a global command in the same way that WinGW set path. If you find it troublesome to type hashcat64 every time you do a command, renaming hashcat64.exe to any name you like, such as your personal name's Tool, looks interesting!
test
After the installation is complete, we need to check to see if hashcat is working properly, cutting from cmd to the directory where hashcat is located. -b command to test the efficiency!
Tests show that both GPU are working properly. In this way, our Hashcat installation is complete.
This is the end of the article on "how to install hashcat in different environments". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.