demo
最近想弄個什麼暴力破解的軟體來玩玩,首先先把密碼解決,各種長度,各種組合,全部都有
效果圖
生成後 每個資料夾包含30w個密碼
下面是源**,後續會吧暴力破解軟體原始碼貼上來,正在研究中,小白飄過,大神勿噴......
using system;
using system.collections.generic;
using system.componentmodel;
using system.data;
using system.drawing;
using system.linq;
using system.text;
using system.text.regularexpressions;
using system.threading.tasks;
using system.windows.forms;
using system.io;
using system.threading;
namespace setpassword
#endregion
#region 瀏覽按鈕
private void button1_click(object sender, eventargs e)
} #endregion
#region 生成按鈕
private void btnsetting_click(object sender, eventargs e)
if (string.isnullorempty(this.txtlength.text.trim()))
if (convert.toint32(this.txtlength.text.trim()) < 6 || convert.toint32(this.txtlength.text.trim()) > 30)
if (string.isnullorempty(this.txtpassword.text.trim()))
this.btnsetting.enabled = false;
this.text = "正在生成,時間比較長,請稍後...";
this.btnsetting.text = "生成...";
this.txtlength.enabled = false;
this.txtpassword.enabled = false;
this.txtpath.enabled = false;
this.txtsplit.enabled = false;
this.button1.enabled = false;
path = this.txtpath.text.trim() + "\\" + this.txtlength.text.trim() + "-.txt";
length = convert.toint32(this.txtlength.text);
split = txtsplit.text.trim();
t = new thread(new threadstart(settting));
t.start();
} #endregion
#region 執行緒執行方法
public void settting()
}writer.close();
fs.close();
}catch (exception ex)
finally
catch (exception)
if (b)}}
#endregion
#region 公用方法
public ienumerablefoo(listmetachars, int length)
public static listgetlist(string strs)
list.add(' ');
return list;
} #endregion
#region 窗體關閉後
private void form1_load(object sender, eventargs e)
void form1_formclosed(object sender, formclosedeventargs e)
catch (exception)
}#endregion}}
DeepLearning學習筆記 萬能近似定理
談談為什麼要把上一層的輸出經過啟用函式後再作為下一層的輸入呢?首先談談萬能近似性質。線性模型,通過矩陣乘法將特徵對映到輸出 那麼我們如何要為非線性函式設計模型呢,萬幸,具有隱藏層的前饋網路提供了一種萬能近似框架。具體來說,萬能近似定理表明,乙個前饋神經網路如果具有線性輸出層和至少一層具有任何一種 擠...
幸福框架 可擴充套件的 動態的 萬能的 編號生成器
今天重點介紹一下如何使用。像如下這些規則,非常容易支援,如 測試 1 using system 2using system.collections.generic 3using microsoft.visualstudio.testtools.unittesting 4using system.io...
Python學習筆記 生成器
有時候乙個列表裡的元素過多,多到計算機記憶體存不下來,我們就需要想乙個辦法解決這個問題,如果能在需要的時候生成新元素就好了,可以用生成器。生成器 一種邊迴圈邊根據某種演算法計算生成元素的機制 如何建立乙個生成器呢,最簡單的方法通過修改一下列表生成器建立。n n for n in range 10 d...