Profile Picture

GaNkNyOu

Reputation: 0 [rate]

Joined: Oct, 2023

Last online:

Etc

Send Message

Threads List
Possible Alts

Activity Feed

Created a new thread : The SSL connection could not be established, see inner exception.


So whenI use .LaunchExploit to attach the script I get 2 errors (System.Net.WebException: 'The SSL connection could not be established, see inner exception.' and AuthenticationException: Cannot determine the frame size or a corrupted frame was received.) I have been trying forever to fix it but I dont know how to. 

using System.Net;
using System.Windows.Forms;
using WeAreDevs_API;

namespace SimpleInject
{
    public partial class Form1 : Form
    {
        ExploitAPI api = new ExploitAPI();
        public Form1()
        {
            InitializeComponent();
        }

        private void openButton_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();
            ofd.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";
            ofd.Multiselect = false;
            ofd.Title = "Select text file";
            ofd.CheckFileExists = true;
            ofd.CheckPathExists = true;

            if (ofd.ShowDialog() == DialogResult.OK)
            {
                string filePath = ofd.FileName;
                try
                {
                    string fileContent = File.ReadAllText(filePath);
                    scriptBox.Text = fileContent; // Assign file content to RichTextBox
                }
                catch (IOException ex)
                {
                    MessageBox.Show("Error reading the file: " + ex.Message);
                }
            }
        }

        private void attachButton_Click(object sender, EventArgs e)
        {
            api.LaunchExploit();
        }

        private void executeButton_Click(object sender, EventArgs e)
        {
            string script = scriptBox.Text;
            api.SendLuaScript(script);
        }
    }
}