Forum > Coding >

Does WRD api support getrawmetatable()?

Posts: 12

Threads: 3

Joined: Nov, 2019

Reputation: 0

Posted

Does it?
If it doesn't will it be added?

  • 0

Posts: 8

Threads: 1

Joined: Sep, 2018

Reputation: 0

Replied

Hello, SealedKiller.

No, WRD_API does not support getrawmetatable().

And I don't know if it is going to be added.

  • 0

Posts: 12

Threads: 3

Joined: Nov, 2019

Reputation: 0

Replied

Is there an alternative to it?
can we use debug.getmetatable() ?

  • 0

Posts: 8

Threads: 1

Joined: Sep, 2018

Reputation: 0

Replied

You can check what does the API support and what it does not support here. (You have to scroll down a bit.)

  • 0

Posts: 12

Threads: 3

Joined: Nov, 2019

Reputation: 0

Replied

I see getrawmetatable and setrawmetatable

so its supported.

  • 0

Posts: 8

Threads: 1

Joined: Sep, 2018

Reputation: 0

Replied

@SealedKiller (SealedKiller)

 

It's under the "Noncategorized" section.

  • 0

Posts: 12

Threads: 3

Joined: Nov, 2019

Reputation: 0

Replied

Doesn't that mean that its not suitable in any of the categories above?
When i run the script it doesn't give any errors that the functions don't exist

  • 0

Potatox

61928

Posts: 353

Threads: 25

Joined: May, 2019

Reputation: 2

Replied

@SealedKiller

Not sure if this works but:

if getrawmetatable() then

print("Your exploit supports it!)

else

print("Your exploit doesnt suport it!")

I think this only works with getfenv, getgc etc. but I don't know if it'd work like above.
If you can try it and it works as a script reply to me saying it works so that I can test API's with it.

  • 0

Hyakki
Wanting to learn Lua ; _ ;

Hyakki#0711

Posts: 12

Threads: 3

Joined: Nov, 2019

Reputation: 0

Replied

Yeah thats what I ran in my injector it gave me getrawmetatable is supported.

  • 0

Posts: 8

Threads: 1

Joined: Sep, 2018

Reputation: 0

Replied

Nevermind, I guess I was wrong.

  • 0

Posts: 12

Threads: 3

Joined: Nov, 2019

Reputation: 0

Replied

You wanna use this

if getrawmetatable then print("Supported!") end

Because what you gave us will try to run getrawmetatable on nothing which won't work.
  • 0

Users viewing this thread:

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