Esempio n. 1
0
        public void attackTestshortnotwordDictinaryBasic()
        {
            string[]      list = { "bgw" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 2
0
        public void attackTestRandomPasswordDictinaryBasic()
        {
            string[]      list = { "sfhshfgshfhoifaofh0sfåhiug" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 3
0
        public void attackTestRepeatWordDictinaryBasic()
        {
            string[]      list = { "passwordpassword" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 4
0
        public void attacktestTwoWordsWithyearDictinaryBasic()
        {
            string[]      list = { "PasswordDragon1995" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 5
0
        public void attacktestThreeWordsDictinaryBasic()
        {
            string[]      list = { "letmein" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 6
0
        public void attacktesttwowordsDictinaryBasic()
        {
            string[]      list = { "passworddragon" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 7
0
        public void attackTestSemiCAPSDictinaryBasic()
        {
            string[]      list = { "PaSsWoRd" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 8
0
        public void attackTestLeatDictinaryBasic()
        {
            string[]      list = { "P455W0RD" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 9
0
        public void attackTestyearatstartDictinaryBasic()
        {
            string[]      list = { "1995password" };
            IAttackMethod DictinaryAttackBasic = new DictinaryAttackBasic();

            Assert.IsTrue(Program.attack(list, DictinaryAttackBasic) == 0);
        }
Esempio n. 10
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);
        }