Ignore:
Timestamp:
Jan 20, 2010, 3:09:12 PM (12 years ago)
Author:
arnold
Message:

Updated all P2PProjects - inclusive DLLs and PDBs

The lib is required by all developers, so I'm adding it explicitly to the repository.

override-bad-extension: Bootstrapper.dll
override-bad-extension: Bootstrapper.pdb
override-bad-extension: CertServices.dll
override-bad-extension: CertServices.pdb
override-bad-extension: FullMeshDHT.dll
override-bad-extension: FullMeshDHT.pdb
override-bad-extension: FullMeshOverlay.dll
override-bad-extension: FullMeshOverlay.pdb
override-bad-extension: Gears4Net.dll
override-bad-extension: Gears4Net.pdb
override-bad-extension: NetGearsTCP.dll
override-bad-extension: NetGearsTCP.pdb
override-bad-extension: PeersAtPlayBase.dll
override-bad-extension: PeersAtPlayBase.pdb
override-bad-extension: SimpleSnalNG.dll
override-bad-extension: SimpleSnalNG.pdb
override-bad-extension: Stun.dll
override-bad-extension: Stun.pdb
override-bad-extension: Util.dll
override-bad-extension: Util.pdb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher_IControl/KeySearcher_IControl.cs

    r1090 r1098  
    9797         * Encryption Control isn't initialized already.
    9898         */
    99         public delegate void IsReadyForExecution();
    100         public event IsReadyForExecution OnAllMasterControlsInitialized;
    101 
    102         public override void  Execute()
    103         {
    104             if(this.ControlMaster != null)
    105             {
    106                 if (OnAllMasterControlsInitialized != null)
    107                     OnAllMasterControlsInitialized();
    108             }
     99        //public delegate void IsReadyForExecution();
     100        //public event IsReadyForExecution OnAllMasterControlsInitialized;
     101
     102        public override void Execute()
     103        {
     104            //if(this.ControlMaster != null)
     105            //{
     106            //    if (OnAllMasterControlsInitialized != null)
     107            //        OnAllMasterControlsInitialized();
     108            //}
    109109        }
    110110    }
     
    137137        {
    138138            this.keySearcher = keysearcher;
    139            // this.keySearcher.OnBruteforcingEnded +=new KeySearcher.KeySearcher.BruteforcingEnded(keySearcher_OnBruteforcingEnded);
     139            // this.keySearcher.OnBruteforcingEnded +=new KeySearcher.KeySearcher.BruteforcingEnded(keySearcher_OnBruteforcingEnded);
    140140            // subscribe to event before any bruteforcing has started, so we make sure that this event will thrown in every case
    141141            this.keySearcher.OnBruteforcingEnded += new KeySearcher.KeySearcher.BruteforcingEnded(keySearcher_OnBruteforcingEnded);
    142             this.keySearcher.OnAllMasterControlsInitialized += new KeySearcher_IControl.IsReadyForExecution(keySearcher_OnAllMasterControlsInitialized);
     142            //this.keySearcher.OnAllMasterControlsInitialized += new KeySearcher_IControl.IsReadyForExecution(keySearcher_OnAllMasterControlsInitialized);
    143143        }
    144144
     
    159159            // if not all MasterControls are initialized, store the actual
    160160            // pattern and wait for throwing the OnMasterControlsInitialized-Event
    161             if (!allMasterControlsInitialized)
    162             {
    163                 tryBruteforcingBeforeMastersInitialized = true;
    164                 this.actualKeyPattern = pattern;
    165                 this.encryptedData = encryptedData;
    166                 this.initVector = initVector;
    167                 return;
    168             }
     161            //if (!allMasterControlsInitialized)
     162            //{
     163            //    tryBruteforcingBeforeMastersInitialized = true;
     164            //    this.actualKeyPattern = pattern;
     165            //    this.encryptedData = encryptedData;
     166            //    this.initVector = initVector;
     167            //    return;
     168            //}
    169169            Bruteforcing(pattern, encryptedData, initVector);
    170170        }
     
    175175         * initialized, in this case the pattern will be stored and processed
    176176         * after this event was thrown. */
    177         private void keySearcher_OnAllMasterControlsInitialized()
    178         {
    179             this.allMasterControlsInitialized = true;
    180             if (this.tryBruteforcingBeforeMastersInitialized)
    181             {
    182                 Bruteforcing(this.actualKeyPattern, this.encryptedData, this.initVector);
    183                 this.actualKeyPattern = null;
    184                 this.encryptedData = null;
    185                 this.initVector = null;
    186 
    187                 this.tryBruteforcingBeforeMastersInitialized = false;
    188             }
    189         }
     177        //private void keySearcher_OnAllMasterControlsInitialized()
     178        //{
     179        //    this.allMasterControlsInitialized = true;
     180        //    if (this.tryBruteforcingBeforeMastersInitialized)
     181        //    {
     182        //        Bruteforcing(this.actualKeyPattern, this.encryptedData, this.initVector);
     183        //        this.actualKeyPattern = null;
     184        //        this.encryptedData = null;
     185        //        this.initVector = null;
     186
     187        //        this.tryBruteforcingBeforeMastersInitialized = false;
     188        //    }
     189        //}
    190190
    191191        private void Bruteforcing(KeyPattern actualKeyPattern, byte[] encryptedData, byte[] initVector)
     
    210210        public void StopBruteforcing()
    211211        {
    212             this.keySearcher.OnAllMasterControlsInitialized -= keySearcher_OnAllMasterControlsInitialized;
     212            //this.keySearcher.OnAllMasterControlsInitialized -= keySearcher_OnAllMasterControlsInitialized;
    213213        }
    214214
Note: See TracChangeset for help on using the changeset viewer.