Categories > Exploiting > WRD Exploit API >
Reading from the console (using c# code)
Posted
I'm trying to read from the console, but it doesn't look possible.
( i really just want to send a message to the c# code from lua, so if theres a way to do that, thats fine too. )
hello, please if your there reply to do this
Replied
read from console..?
You mean Console.ReadLine()?
Cancel
Post
Replied
@90103 noooo, when you send something to the console from lua (rconsoleprint("hello")) and i want to read it from c#
(again, i just want lua to send a message to c#)
Cancel
Post
Added
@87922 the reason why is because i want to have tweaks from the exploit appear on the program.
Cancel
Post
Added
@87922 basiclly, you turn on a part of the exploit in-game, it will show up that you turned it on in the actually program.
Cancel
Post
hello, please if your there reply to do this
Replied
@87922 actually, it is probably possible with the use of WebSockets for Exploits.
another method is by hooking the C# application to the console (rconsole)
Cancel
Post
We Hate VOID
Replied
I doubt that'd be possible.
Cancel
Post
Random quote here...
Replied
YOU CANNOT DO THIS. Its litterally impossible.
You can make the string you want to print a variable then parse it as an arg to something else but you wont be able to interact with c# in this case.
To get an input in lua you would do:
io.input()
To get an input in c# you would do:
Console.ReadLine() (something like that forgot)
Cancel
Post
https://github.com/LocalSmail/Finity
discord.gg/ZjDYXYbwkU
Replied
You can do that using writefile in lua and a readalltext in c# (use a filewatcher)
Cancel
Post
im bipolar btw
Replied
@87922
Im aware but it is a way he could do it.
Cancel
Post
https://github.com/LocalSmail/Finity
discord.gg/ZjDYXYbwkU
Replied
Wow, I'm closing this but I am surprised you can't really do this.
I guess thats not what exploits are designed for?
*closing in 2023*
but i will try and find some api kreek or something lol
Cancel
Post
Added
I am gonna lock it now because I'm too lazy. Create a new post if you have a solution :)!
Cancel
Post
hello, please if your there reply to do this
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post