Categories > Exploiting > Roblox >
[release] getsenv, getgenv, and getreg [c++ implentation]
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 */
}
discord: nicholas#6751
Replied
cool
t length
Cancel
Post
Replied
thanks for releasing, got discord?
Cancel
Post
Replied
@66336 yes, its nicholas#6751
Cancel
Post
discord: nicholas#6751
Replied
cool â„¢
Content length must be 10-5000 chars
Cancel
Post
Added
cool â„¢
Content length must be 10-5000 chars
Cancel
Post
https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif
Replied
can be found everywhere but nice release nonetheless
Cancel
Post
Replied
@63568yup
Cancel
Post
https://cdn.discordapp.com/attachments/661621789591470090/1013919752294498314/Untitled_1366_768_px_1546_202_px_2.gif
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
Cancel
Post
discord: nicholas#6751
Replied
getsenv wrong af but nice ig
Cancel
Post
still writing arch v2
Replied
@LilFrench21 thats what i originally had for getsenv, but a friend of mine told me i was incorrect
Cancel
Post
discord: nicholas#6751
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.
Cancel
Post
My Discord is xwyvern
https://i.imgur.com/mH521VR.png
Replied
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.
Cancel
Post
You are a feedback loop.
discord: nicholas#6751
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.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post