Forum > Coding >

Injecting Error

Posts: 27

Threads: 18

Joined: Aug, 2020

Reputation: 0

Posted

i had virus protection turned off while using visual studio making a exploit using the WeAreDevs API when i thought i was done i clicked inject and this error occurred in visual studio

 

 

 

 

 

 

 

 

 

 

 

 

 

System.Net.WebException

 

  HResult=0x80131509

 

  Message=The underlying connection was closed: An unexpected error occurred on a send.

 

  Source=System

 

  StackTrace:

 

   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)

 

   at System.Net.WebClient.DownloadString(Uri address)

 

   at System.Net.WebClient.DownloadString(String address)

 

   at WeAreDevs_API.ExploitAPI.GetLatestData()

 

   at WeAreDevs_API.ExploitAPI.IsUpdated()

 

   at WeAreDevs_API.ExploitAPI.LaunchExploit()

 

   at LandSploit.Form1.button1_Click(Object sender, EventArgs e) in C:\Users\Landon's PC\OneDrive\Desktop\Landsploit\LandSploit\LandSploit\Form1.cs:line 23

 

   at System.Windows.Forms.Control.OnClick(EventArgs e)

 

   at System.Windows.Forms.Button.OnClick(EventArgs e)

 

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

 

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

 

   at System.Windows.Forms.Control.WndProc(Message& m)

 

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

 

   at System.Windows.Forms.Button.WndProc(Message& m)

 

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

 

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

 

   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

 

   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)

 

   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

 

   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

 

   at System.Windows.Forms.Application.Run(Form mainForm)

 

   at LandSploit.Program.Main() in C:\Users\Landon's PC\OneDrive\Desktop\Landsploit\LandSploit\LandSploit\Program.cs:line 19

 

 

 

  This exception was originally thrown at this call stack:

 

    [External Code]

 

 

 

Inner Exception 1:

 

IOException: The handshake failed due to an unexpected packet format.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

btw heres the code i used for my exploit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

using System;

 

using System.Collections.Generic;

 

using System.ComponentModel;

 

using System.Data;

 

using System.Drawing;

 

using System.Linq;

 

using System.Text;

 

using System.Threading.Tasks;

 

using System.Windows.Forms;

 

using WeAreDevs_API; 

 

 

 

namespace LandSploit

 

{

 

    public partial class Form1 : Form

 

    {

 

        public Form1()

 

        {

 

            InitializeComponent();

 

        }

 

        ExploitAPI api = new ExploitAPI();

 

        private void button1_Click(object sender, EventArgs e)

 

        {

 

            api.LaunchExploit();                   <--- this is where the error occurred

 

        }

 

 

 

        private void button2_Click(object sender, EventArgs e)

 

        {

 

            string text = richTextBox1.Text;

 

            this.api.SendLuaScript(Text);

 

        }

 

 

 

        private void button3_Click(object sender, EventArgs e)

 

        {

 

            richTextBox1.Text = "";

 

        }

 

    }

 

}

 

 

 

 

 

 

 

 

 

 

 

 

 

heres the images of the project

 

 

 

Design:

 

 

 

https://scontent.fhio2-2.fna.fbcdn.net/v/t1.15752-9/118359418_1775816582568905_117596265509400238_n.png?_nc_cat=100&_nc_sid=b96e70&_nc_ohc=CtQbrNjRA8MAX-0CK6c&_nc_ht=scontent.fhio2-2.fna&oh=6dde066e9b5b2fd3039110c0fea47758&oe=5F7256FA

 

 

 

Code:

 

 

 

https://scontent.fhio2-2.fna.fbcdn.net/v/t1.15752-9/118398308_944046886116817_8402826164139541871_n.png?_nc_cat=104&_nc_sid=b96e70&_nc_ohc=KHTRZPtXM7YAX-cSqBt&_nc_ht=scontent.fhio2-2.fna&oh=cde1543ef6280501dacf977d2dd4f1fa&oe=5F716E45

 

 

 

 

 

 

 

 

 

 

 

 

 

does anyone have a solution to this error?

  • 0

Thank you all.

Posts: 797

Threads: 70

Joined: May, 2020

Reputation: 9

Replied

Actually it appears something is wrong with the api rather then your project itself however why is there this.api.SendLuaScript it's just api.SendLuaScript lol

  • 0

Don't buy exploits its not worth it your gonna quit anyway

Taking accountability will help you excel in life

Wabz

Winning.js

Posts: 1956

Threads: 143

Joined: Apr, 2020

Reputation: 27

Replied

@ZaphireHacks you can also do this.api.sendLuaScript() its still gonna work

  • 0

Added

your code is okay, but try to be on windows 10 (download string does not work properly on windows 7) and also use a vpn because it might be your firewall, dns, or ISP that is blocking it.

 

btw downloadstring does work on windows 7 but you gotta add more code otherwise it wont work for it

  • 0

My new discord is Wabz#1337 with ID 777154062789509130

Posts: 27

Threads: 18

Joined: Aug, 2020

Reputation: 0

Replied

It was the this in the this.api.SendLuaScript(Text) thanks guys and thanks to the other people answering the execute thing btw what exploit level is the api? is it 6?

  • 0

Thank you all.

Users viewing this thread:

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