Earlier quoted context omitted.
Don't think so. There's clearly the beginning of a while loop near the top of the obfuscated version. There's no loops at all in the 'de-obfuscated' version.
Here's GPT's own explanation what the purpose of that while loop is: --- This code uses JavaScript's `eval` function to obfuscate the code by looping over an array of strings and passing them as arguments to `eval` to create a variable. It also uses an anonymous function to obfuscate the code. The code is deobfuscated by replacing the `eval` function and the anonymous function with their respective strings.
TIL you can de-obfuscate code with ChatGPT
41–50 of 111 posts
Re: TIL you can de-obfuscate code with ChatGPT
#42https://twitter.com/AlexAlexandrius/status/16178852870484254... So, all I've learned is that ChatGPT knows the obfuscated and de-obfuscated versions of code that it itself has generated.
Re: TIL you can de-obfuscate code with ChatGPT
#43i would rather ask it to give me the python source of a program capable to deobfuscate THAT string. anything else is just naive, wishfull thinking and a waste of time. you will have to deobfuscate the code manually anyways but at least you got on HN EDIT: OMG... the obfuscated code was generated by chatgpt AND DOESNT EVEN WORK
Are you just now realizing these LLM’s can’t factually determine if what they output is correct?
Re: TIL you can de-obfuscate code with ChatGPT
#44Earlier quoted context omitted.
I've been using it paired with Ghidra to give me a better idea of what's going on. It helped me create a no-CD crack for an old game.
Silly idea tho would it be helpful in creating the server side code for an online only game? I've seen a project for battlefield 3 tho already have the feeling it's a team effort at minimum?
Re: TIL you can de-obfuscate code with ChatGPT
#45I have to say, I find all the comments dismissing ChatGPT hilarious. I read them in a funny grandpa voice. However, we should look past the insignificant details. The main achievement is that we now have a really capable unstructured text-to-computer interface. We can hook it up to anything and it will give us answers with whatever properties we desire, in whatever shape we can think of.
Re: TIL you can de-obfuscate code with ChatGPT
#46I have to say, I find all the comments dismissing ChatGPT hilarious. I read them in a funny grandpa voice. However, we should look past the insignificant details. The main achievement is that we now have a really capable unstructured text-to-computer interface. We can hook it up to anything and it will give us answers with whatever properties we desire, in whatever shape we can think of.
I know, all those frusty old grumpyboots who actually want the thing to return factually accurate answers and valid code. Just be happy with plausible sounding answers people. Sheesh!
Re: TIL you can de-obfuscate code with ChatGPT
#47Is it correct though? I’ve been toying around with ChatGPT for a few weeks now and I encountered a few situations in which ChatGPT was like 90% accurate at best. Things like suggesting snippets of configuration files or plugin research. It’s good to get an idea and get started somewhere, but I certainly cannot trust it blindly.
It's very similar to the deobfuscated version, but ChatGPT wrote the code in the first place
Re: TIL you can de-obfuscate code with ChatGPT
#48Is it correct though? I’ve been toying around with ChatGPT for a few weeks now and I encountered a few situations in which ChatGPT was like 90% accurate at best. Things like suggesting snippets of configuration files or plugin research. It’s good to get an idea and get started somewhere, but I certainly cannot trust it blindly.
Don't think so. There's clearly the beginning of a while loop near the top of the obfuscated version. There's no loops at all in the 'de-obfuscated' version.
Re: TIL you can de-obfuscate code with ChatGPT
#49Misleading, ChatGPT generated both obfuscated and de-obfuscated code
So what?
alex literally asked chatgpt to come up with a math problem and its solution, both from whole cloth. and you ask so what.
well, everyone should ask "so what?" to alex.
Re: TIL you can de-obfuscate code with ChatGPT
#50I have to say, I find all the comments dismissing ChatGPT hilarious. I read them in a funny grandpa voice. However, we should look past the insignificant details. The main achievement is that we now have a really capable unstructured text-to-computer interface. We can hook it up to anything and it will give us answers with whatever properties we desire, in whatever shape we can think of.