Categories > Exploiting > WRD Exploit API >

Reading from the console (using c# code)

Posts: 6

Threads: 1

Joined: Dec, 2022

Reputation: 0

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. )

  • 0

hello, please if your there reply to do this

Posts: 0

Threads: 0

Joined: ?

Reputation:

Replied

read from console..?

You mean Console.ReadLine()?

  • 1

Posts: 6

Threads: 1

Joined: Dec, 2022

Reputation: 0

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#)

  • 0

Added

@87922 the reason why is because i want to have tweaks from the exploit appear on the program.

  • 0

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.

  • 0

hello, please if your there reply to do this

Cyros

Revision

Posts: 1061

Threads: 49

Joined: Feb, 2021

Reputation: 20

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)

  • 0

We Hate VOID

Posts: 2014

Threads: 198

Joined: Apr, 2021

Reputation: 16

Replied

I doubt that'd be possible.

  • 0

Random quote here...

Posts: 19

Threads: 3

Joined: Oct, 2022

Reputation: 0

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)

  • 0

https://github.com/LocalSmail/Finity

discord.gg/ZjDYXYbwkU

ecstacy_lxnny

yea i'm lxnny

vip

Posts: 941

Threads: 84

Joined: May, 2021

Reputation: 98

Replied

You can do that using writefile in lua and a readalltext in c# (use a filewatcher)

  • 0

im bipolar btw

Posts: 19

Threads: 3

Joined: Oct, 2022

Reputation: 0

Replied

@87922

 

Im aware but it is a way he could do it.

  • 0

https://github.com/LocalSmail/Finity

discord.gg/ZjDYXYbwkU

Posts: 6

Threads: 1

Joined: Dec, 2022

Reputation: 0

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

  • 0

Added

I am gonna lock it now because I'm too lazy. Create a new post if you have a solution :)!

  • 0

hello, please if your there reply to do this

Users viewing this thread:

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