public void attackTestshortnotwordDictinaryBasic() { string[] list = { "bgw" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void attackTestRandomPasswordDictinaryBasic() { string[] list = { "sfhshfgshfhoifaofh0sfåhiug" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void attackTestRepeatWordDictinaryBasic() { string[] list = { "passwordpassword" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void attacktestTwoWordsWithyearDictinaryBasic() { string[] list = { "PasswordDragon1995" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void attacktestThreeWordsDictinaryBasic() { string[] list = { "letmein" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void attacktesttwowordsDictinaryBasic() { string[] list = { "passworddragon" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void attackTestSemiCAPSDictinaryBasic() { string[] list = { "PaSsWoRd" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void attackTestLeatDictinaryBasic() { string[] list = { "P455W0RD" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void attackTestyearatstartDictinaryBasic() { string[] list = { "1995password" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0); }
public void hashedattacktestDictinaryBasic() { //password hashed in MD5 string[] list = { "5f4dcc3b5aa765d61d8327deb882cf99" }; IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic(); IHashFunction md5 = new md5(); Assert.IsTrue(Program.attackhash(list, DictinaryAttackBasic, md5.hash) == 1); }