Пример #1
0
 private void btnCrack_Click(object sender, EventArgs e)
 {
     if (this.CheckParams())
     {
         this.SetButtonState(false);
         GPUParams gpuParams = this.GetParams();
         //Md5MD5PassSaltHepler md5Helper = new Md5MD5PassSaltHepler();
         //md5Helper.Start(gpuParams.DataPath);
         cracker = new GPUCrackHelper(gpuParams);
         cracker.Start();
     }
 }
Пример #2
0
        private GPUParams GetParams()
        {
            GPUParams gpuParam = new GPUParams();

            gpuParam.AppPath    = txtApp.Text;
            gpuParam.DataPath   = txtData.Text;
            gpuParam.IsSalt     = chkSalt.Checked;
            gpuParam.GpuApp     = (GPUAppType)this.comboApp.SelectedValue;
            gpuParam.Timeout    = Convert.ToInt32(txtTimeOut.Text);
            gpuParam.BatchCount = Convert.ToInt32(txtCount.Text);
            return(gpuParam);
        }
Пример #3
0
 public GPUCrackHelper(GPUParams gpuParams)
 {
     this.CurretnParams = gpuParams;
 }