Beispiel #1
0
 public override bool Inject(VariantType variant, PayloadType payload, IntPtr baseAddr, System.Diagnostics.Process process)
 {
     return(variant.Inject(payload, baseAddr, process));
 }
 /// <summary>
 /// Informs objects using this technique whether or not it supports the type of a particular payload.
 /// </summary>
 /// <author>The Wover (@TheRealWover)</author>
 /// <param name="Payload">A payload.</param>
 /// <returns>Whether or not the payload is of a supported type for this strategy.</returns>
 public abstract bool IsSupportedPayloadType(PayloadType Payload);
Beispiel #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="variant"></param>
 /// <param name="payload"></param>
 /// <param name="baseAddr"></param>
 /// <param name="process"></param>
 /// <returns></returns>
 abstract public bool Inject(VariantType variant, PayloadType payload, IntPtr baseAddr, System.Diagnostics.Process process);
Beispiel #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="variant"></param>
 /// <param name="payload"></param>
 /// <param name="alloc"></param>
 /// <param name="process"></param>
 /// <returns></returns>
 abstract public bool Inject(VariantType variant, PayloadType payload, AllocationType alloc, System.Diagnostics.Process process);
Beispiel #5
0
 /// <summary>
 /// Inject a payload into the current process using a specified allocation and execution technique.
 /// </summary>
 /// <param name="Payload"></param>
 /// <param name="AllocationTechnique"></param>
 /// <param name="ExecutionTechnique"></param>
 /// <returns></returns>
 public static bool Inject(PayloadType Payload, AllocationTechnique AllocationTechnique, ExecutionTechnique ExecutionTechnique)
 {
     return(ExecutionTechnique.Inject(Payload, AllocationTechnique));
 }
Beispiel #6
0
 /// <summary>
 /// States whether the payload is supported.
 /// </summary>
 /// <author>The Wover (@TheRealWover)</author>
 /// <param name="Payload">Payload that will be allocated.</param>
 /// <returns></returns>
 public override bool IsSupportedPayloadType(PayloadType Payload)
 {
     return(supportedPayloads.Contains(Payload.GetType()));
 }
Beispiel #7
0
 /// <summary>
 /// Informs objects using this technique whether or not it supports the type of a particular payload.
 /// </summary>
 /// <param name="payload">A payload.</param>
 /// <returns>Whether or not the payload is of a supported type for this strategy.</returns>
 public bool IsSupportedPayloadType(PayloadType payload)
 {
     return(supportedPayloads.Contains(payload.GetType()));
 }