Categories > Exploiting > Scripts >

Krnl Autoexecute

Posts: 78

Threads: 42

Joined: Dec, 2020

Reputation: 0

Posted

I was trying to use krnl autoexecute to automatically auto execute the a script incase the game kicked me.  I tried adding a text file with the script in the autoexec folder and won't execute, any suggestions?

 

Script:

  1. getgenv().mainKey = "nil"
  2.  
  3. local a,b,c,d,e=loadstring,request or http_request or (http and http.request) or (syn and syn.request),assert,tostring,"https://api.eclipsehub.xyz/auth"c(a and b,"Executor not Supported")a(b({Url=e.."\?\107e\121\61"..d(mainKey),Headers={["User-Agent"]="Eclipse"}}).Body)()
  • 0

Posts: 94

Threads: 14

Joined: Nov, 2018

Reputation: 8

Replied

After a little testing I did, it worked just fine.

 

first I rewrote the script (cause that one you got looks bothers me lol):

local safe_http_request = request or http_request or (http and http.request) or (syn and syn.request)
assert(type(safe_http_request) == "function", "error: not able to do http request. function is undefined.")

local request = {
	Url = table.concat({
		"http://api.eclipsehub.xyz/auth",
		"?key=",
		tostring(mainKey or getgenv().mainKey),
	}),
	Headers = {
		["User-Agent"] = "Eclipse",
	},
}

local response = safe_http_request(request)
assert(response, "error: failed to fetch remote content!")
local response_body = response.Body
do

	local loader = loadstring(response_body)
	if type(loader) == "function" then
		local suc, msg = pcall(loader)
		if not suc then
			print("error:", msg)
		end
	else
		print("error: loader is not a function!")
        print("error: loader_str:", loader)
        print("error: response_str:", response_body)
	end
end

then:

  1. navigated to "autoexec"
  2. created file "eclipse.lua"
  3. pasted my script
  4. joined a game.
  5. injected krnl

result:

The GUI loaded up and no errors were fired.

  • 0

GitHub: https://github.com/sound-infinity

Discord: SoundInfinity#2135

Posts: 11

Threads: 3

Joined: Jan, 2022

Reputation: -25

Replied

then dont use krnl

  • 0

Users viewing this thread:

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