Categories > Exploiting > Roblox >

[release] getsenv, getgenv, and getreg [c++ implentation]

Posts: 13

Threads: 2

Joined: Apr, 2021

Reputation: 3

Posted

hi, so im new to wrd, and i come from v3rm. so i thought i'd release something. not a lot of people will use these because many sources have them leaked. but i will leave comments so people can get a better understanding :).

 

so before we get started, lua's src already defines basically everything we need. i myself don't have a good way of explaining things normally, but i explained here in a way that i learned it. so i hope some people find it useful. i released it because not many people actually tell you what this does.

 

note: for people who still use wrappers, instead of rpushvalue, use lua_pushvalue, and also make sure to change the argument from 'int roblox' to 'lua_State* roblox'.

 

edit: spelled "implementation" wrong. whoops. 

 

int getsenv(int roblox){
    /*snipped. because i got it incorrect (thanks chonky)*/
}

int getgenv(int roblox){
    rpushvalue(roblox, LUA_GLOBALSINDEX); /*this just basically pushes vanilla lua's global index*/
    return 1; /*we return 1 because it's pushing on to the stack */
}

int getreg(int roblox){
    rpushvalue(roblox, LUA_REGISTRYINDEX); /*this just basically pushes vanilla lua's registry index*/
    return 1; /*we return 1 because it's pushing on to the stack */
}
  • 0

discord: nicholas#6751

MINISHXP

[REDACTED]

Posts: 813

Threads: 3

Joined: Jan, 2021

Reputation: 9

Replied

cool

t length 

  • 0

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

thanks for releasing, got discord?

  • 0

Posts: 13

Threads: 2

Joined: Apr, 2021

Reputation: 3

Replied

@66336 yes, its nicholas#6751

  • 0

discord: nicholas#6751

pepsi

PePsIDeveloper

vip

Posts: 260

Threads: 4

Joined: Apr, 2021

Reputation: 13

Replied

cool â„¢

Content length must be 10-5000 chars

  • 0

Added

cool â„¢

Content length must be 10-5000 chars

  • 0

https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

can be found everywhere but nice release nonetheless

  • 0

pepsi

PePsIDeveloper

vip

Posts: 260

Threads: 4

Joined: Apr, 2021

Reputation: 13

Replied

@63568yup

  • 0

https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif

Posts: 13

Threads: 2

Joined: Apr, 2021

Reputation: 3

Replied

@63568 yea, but some people just copy and paste it into their src without even knowing what they do. so i thought some people could use this as a learning tool

  • 0

discord: nicholas#6751

Ch0nky

xChonkster

Posts: 45

Threads: 5

Joined: Nov, 2020

Reputation: 8

Replied

getsenv wrong af but nice ig

  • 0

still writing arch v2

Posts: 13

Threads: 2

Joined: Apr, 2021

Reputation: 3

Replied

@LilFrench21 thats what i originally had for getsenv, but a friend of mine told me i was incorrect

  • 0

discord: nicholas#6751

DeepPain

Wyvern

Posts: 350

Threads: 3

Joined: Jul, 2020

Reputation: 55

Replied

@_nicholas If they don't know what they do and how they work, maybe they shouldn't be developing an exploit? Just a thought.

  • 0

My Discord is xwyvern

https://i.imgur.com/mH521VR.png

Xorenos

Jimmy "The Carpet" Skovic

Posts: 26

Threads: 0

Joined: Feb, 2021

Reputation: 10

Replied

@_nicholas

this isn't that useful but I guess some people would need it lol, also here's some advice, dont do () {, do () *newline* {.

Your code is much cleaner that way, and you should be doing it.

  • 0

You are a feedback loop.

Posts: 13

Threads: 2

Joined: Apr, 2021

Reputation: 3

Replied

@Xorenos ah ok thanks for the tip

  • 0

discord: nicholas#6751

Co

(Co)

contentCreator

Posts: 7

Threads: 0

Joined: Dec, 2017

Reputation: 7

Replied

Sorry but getsenv is for Get Script Environment it means its getting localscript/modulescript Global Environment.

And one correction, getgenv is Get Global Environment it means, its getting exploit Global Environment.

NOT THE CURRENT GLOBAL ENVIRONMENT.

  • 0

Next >>>

Users viewing this thread:

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