Categories > Exploiting > WRD Exploit API >

The SSL connection could not be established, see inner exception.

Posts: 1

Threads: 1

Joined: Oct, 2023

Reputation: 0

Posted

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);
        }
    }
}
  • 0

Kxhu

C# & Lua enjoyer

Posts: 285

Threads: 21

Joined: Dec, 2022

Reputation: 11

Replied

the api has been outdated for months now.
and as of my knowledge all public free apis and dlls are dead

  • 0

Thx for reps everyone: https://forum.wearedevs.net/profile/reputation?uid=90498

Posts: 2

Threads: 0

Joined: Dec, 2023

Reputation: 0

Replied

To resolve this, you should check if your exploit API supports the SSL connection or if there's a version update available. Also, ensure that your system time and date are correct, as SSL connections can be sensitive to that. If the problem persists, consider contacting the exploit API's support or community forums for assistance. Alternatively, you can hire an experienced IoT developer to review your code and provide insights into potential solutions.

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )