Ignore:
Timestamp:
Dec 6, 2008, 12:25:02 PM (13 years ago)
Author:
schroeder
Message:

Spelling corretions, removed unnecessary code, one modification in quickwatch area of attack wep plugin

Location:
trunk/CrypPlugins/Internet_frame_generator/Internet_frame_generator
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/Internet_frame_generator/Internet_frame_generator/DetailedDescription/Description.xaml

    r4 r124  
    2424    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333" />
    2525    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333">
    26         <Span xml:lang="de-de">You can choose the kind of packets either in the
     26        <Span xml:lang="de-de">You can choose the kind of packets
    2727        </Span>
     28    </Paragraph>
     29   
     30    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333" />
     31    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333">
     32        <Span xml:lang="de-de">- either in the</Span>
    2833        <Span FontStyle="Italic" xml:lang="de-de">Algorithm Settings</Span>
    2934        <Span xml:lang="de-de">(within the drop down menu "Kind of packet"):
     
    4045    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333" />
    4146    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333">
    42         <Span xml:lang="de-de">or by right clicking on the plugin in the editor:
     47        <Span xml:lang="de-de">- or by right clicking on the plugin in the editor:
    4348        </Span>
    4449    </Paragraph>
     
    6267        </Span>
    6368        <Span FontStyle="Italic" xml:lang="de-de">Algorithm Settings</Span>
    64         <Span xml:lang="de-de">by entering the according number in the textfield "Number of packets":</Span>
     69        <Span xml:lang="de-de">by entering the according number in the text field "Number of packets":</Span>
    6570    </Paragraph>
    6671
     
    123128            delivered to the "Attacks on the WEP protocol" plugin. This plugin tries to recover the key,
    124129            which has been used to encrypt the packets. There are three attacks possible: The "FMS attack",
    125             the "Korek attack" and the "PTW attack" (for details, please have a look at the description tab of the
     130            the "KoreK attack" and the "PTW attack" (for details, please have a look at the description tab of the
    126131            "Attacks on the WEP protocol" plugin).</Span>
    127132    </Paragraph>
     
    143148    <Paragraph Margin="0,0,0,0" TextAlignment="Left" FontFamily="Verdana" FontSize="13.3333333333333">
    144149        <Span xml:lang="de-de">So this workflow is a loop, which doesn't stop until the key has been recovered
    145             successful.
     150            successfully.
    146151        </Span>
    147152    </Paragraph>
  • trunk/CrypPlugins/Internet_frame_generator/Internet_frame_generator/Internet_frame_generator.cs

    r4 r124  
    6262            }
    6363        }
    64 
    65         /*[PropertyInfo(Direction.Output,
    66             "Output list",
    67             "Internet frames",
    68             "",
    69             false,
    70             false,
    71             DisplayLevel.Beginner,
    72             QuickWatchFormat.Text,
    73             "OutputListQuickWatchConverter")]
    74         public List<byte[]> OutputList
    75         {
    76             get
    77             {
    78                 return this.outputList;
    79             }
    80             set
    81             {
    82                 this.outputList = (List<byte[]>)value;
    83                 OnPropertyChanged("OutputList");
    84             }
    85         }*/
    8664
    8765        [PropertyInfo(Direction.Output,
     
    671649
    672650        public event GuiLogNotificationEventHandler OnGuiLogNotificationOccured;
     651        private void GuiLogMessage(string message, NotificationLevel logLevel)
     652        {
     653            if (OnGuiLogNotificationOccured != null)
     654            {
     655                OnGuiLogNotificationOccured(this, new GuiLogEventArgs(message, this, logLevel));
     656            }
     657        }
    673658
    674659        public event PluginProgressChangedEventHandler OnPluginProgressChanged;
     660        private void Progress(double value, double max)
     661        {
     662            if (OnPluginProgressChanged != null)
     663            {
     664                OnPluginProgressChanged(this, new PluginProgressEventArgs(value, max));
     665            }
     666        }
    675667
    676668        public event StatusChangedEventHandler OnPluginStatusChanged;
     669
     670       
     671
     672       
    677673
    678674        public void Pause()
     
    727723        #endregion
    728724
    729         private void Progress(double value, double max)
    730         {
    731             if (OnPluginProgressChanged != null)
    732             {
    733                 OnPluginProgressChanged(this, new PluginProgressEventArgs(value, max));
    734             }
    735         }
    736 
    737         private void GuiLogMessage(string message, NotificationLevel logLevel)
    738         {
    739             if (OnGuiLogNotificationOccured != null)
    740             {
    741                 OnGuiLogNotificationOccured(this, new GuiLogEventArgs(message, this, logLevel));
    742             }
    743         }
     725        #region Public interface
    744726
    745727        /// <summary>
     
    757739            if (OnPluginStatusChanged != null) OnPluginStatusChanged(this, args);
    758740        }
     741
     742        #endregion
    759743    }
    760744}
  • trunk/CrypPlugins/Internet_frame_generator/Internet_frame_generator/Internet_frame_generatorSettings.cs

    r4 r124  
    5757        /// How many files are going to be saved (if saving is wanted).
    5858        /// </summary>
    59         [TaskPane("Number of packets:",
     59        [TaskPane("Number of packets",
    6060            "How many packets do you want to create?\nPlease type in a number beteen 1 and 100,000.",
    6161            "",
     
    8080        }
    8181
    82         /*/// <summary>
    83         /// 0 = don't save, 1 = save to file.
    84         /// </summary>
    85         [ContextMenu("Output",
    86             "Do you want to apply the packets for further plugins or save them to a file?",
    87             3,
    88             DisplayLevel.Beginner,
    89             ContextMenuControlType.ComboBox,
    90             new int[] { 1, 2 },
    91             new string[] { "For further plugins", "Save to file" })]
    92         [TaskPane("Output",
    93             "Do you want to apply the packets for further plugins or save them to a file?",
    94             "",
    95             3,
    96             false,
    97             DisplayLevel.Beginner,
    98             ControlType.ComboBox,
    99             new String[] { "For further plugins", "Save to file" })]
    100         public int Mode
    101         {
    102             get { return this.mode; }
    103             set
    104             {
    105                 if (this.mode != value)
    106                 {
    107                     hasChanges = true;
    108                 }
    109                 this.mode = (int)value;
    110                 if (this.mode == 0)
    111                 {
    112                     SaveFileName = string.Empty;
    113                    
    114                 }
    115                 OnPropertyChanged("Mode");
    116             }
    117         }
    118 
    119         [TaskPane("Target Filename",
    120             "File to write data into.",
    121             null,
    122             4,
    123             false,
    124             DisplayLevel.Beginner,
    125             ControlType.SaveFileDialog,
    126             "All Files (*.*)|*.*")]
    127         public string SaveFileName
    128         {
    129             get { return saveFileName; }
    130             set
    131             {
    132                 saveFileName = value;
    133                 OnPropertyChanged("SaveFileName");
    134             }
    135         }
    136 
    137         /*[TaskPane("Close file",
    138             "Close file",
    139             null,
    140             5,
    141             false,
    142             DisplayLevel.Beginner,
    143             ControlType.Button)]
    144         public void CloseFile()
    145         {
    146             SaveFileName = string.Empty;
    147         }*/
    148 
    14982        #endregion
    15083
     
    15891
    15992        #endregion
    160 
    161        
    16293
    16394        #region INotifyPropertyChanged Member
Note: See TracChangeset for help on using the changeset viewer.