Пример #1
0
 /// <summary>
 /// Checks whether a specific man in the middle attack entry is contained in this attack
 /// </summary>
 /// <param name="apreVicim">A specific man in the middle attack entry</param>
 /// <returns>A bool indicating whether a specific man in the middle attack entry is contained in this attack</returns>
 public bool VictimListContains(MITMAttackEntry apreVicim)
 {
     return(lVictims.Contains(apreVicim));
 }
Пример #2
0
 /// <summary>
 /// Adds an MITM Attack Entry to this MITM Attack. Adding victims not in direct connected subnets or not present in the interface's ARP-table will be without any effect.
 /// To avoid the last situation, it is wise to run an ARP scan first on the subnet to attack.
 /// </summary>
 /// <param name="apreVicim">The victims to add to this attack.</param>
 public void AddToVictimList(MITMAttackEntry apreVicim)
 {
     lVictims.Add(apreVicim);
     InvokeStatusChange(apreVicim);
 }
Пример #3
0
 /// <summary>
 /// Removes a man in the middle attack entry from the victim list of this attack
 /// </summary>
 /// <param name="apreVicim">The man in the middle attack entry to remove</param>
 public void RemoveFromVictimList(MITMAttackEntry apreVicim)
 {
     lVictims.Remove(apreVicim);
 }
Пример #4
0
 private void InvokeStatusChange(MITMAttackEntry aprEntry)
 {
     InvokeExternalAsync(this.OnAttackEntryStatusChanged, aprEntry);
 }