First of all, I want to say that if this thread doesn't belong here, I'll move it.
So, I've spent around 6 hours total in the last couple of days trying to get chatgpt to help me create a decoder for strings, decoders like base64, hex, url decoder, ACSII/unicorn, and the like. At first I had chatgpt create a simple decoder, so I made a .sh file, pasted the generated code, made it into an executable, bashed it and it gave me line errors. So I copied that and showed it to chatgpt. It then garbles advanced coding talk and then spits out a new revised/fixed script. So I rm the previous .sh and make a new one and paste the fixed script, chmod it, bash it, and it works. I then enter a base64 string to decode and bam, it works.
So I'm like, "Cool! I wonder if there's a way to automatically detect what kind of string is being used and automatically use said tools from before to decode it?" So I ask buddy chatgpt and he's like, "Excellent idea! Here's a code that does just that! Would you like an interactive menu along with that? I can also upgrade the code to...something, something better analyze and decode...something, something."
I think, "Upgrade? Sure! Let's do it!" A few seconds later chatgpt spits out a fresh new script. I make a new .sh, chmod it, bash it, and then i get errors.
Long story short, this whole process repeats multiple times; from fixing errors to upgrades, to new .sh being made, to successful runs to error string decoding, to new and upgraded scripts and then rinse and repeat. Resulting in mass headaches.
If someone has success with chatgpt in creating scripts then hats off to you, I'm still just a newbie and I thought I could get some help from chatgpt and it's quite obvious that for me, taking the shortcut to creating a script without fully knowing what I'm doing is just stupid and lazy.
I am, though, excited at the prospect of creating scripts that are able to execute what I had attempted at or even make a script to do something even more. Honestly I just chose something random to do and I landed on the decoder stuff. I probably won't use chatgpt again though.
So, I've spent around 6 hours total in the last couple of days trying to get chatgpt to help me create a decoder for strings, decoders like base64, hex, url decoder, ACSII/unicorn, and the like. At first I had chatgpt create a simple decoder, so I made a .sh file, pasted the generated code, made it into an executable, bashed it and it gave me line errors. So I copied that and showed it to chatgpt. It then garbles advanced coding talk and then spits out a new revised/fixed script. So I rm the previous .sh and make a new one and paste the fixed script, chmod it, bash it, and it works. I then enter a base64 string to decode and bam, it works.
So I'm like, "Cool! I wonder if there's a way to automatically detect what kind of string is being used and automatically use said tools from before to decode it?" So I ask buddy chatgpt and he's like, "Excellent idea! Here's a code that does just that! Would you like an interactive menu along with that? I can also upgrade the code to...something, something better analyze and decode...something, something."
I think, "Upgrade? Sure! Let's do it!" A few seconds later chatgpt spits out a fresh new script. I make a new .sh, chmod it, bash it, and then i get errors.
Long story short, this whole process repeats multiple times; from fixing errors to upgrades, to new .sh being made, to successful runs to error string decoding, to new and upgraded scripts and then rinse and repeat. Resulting in mass headaches.
If someone has success with chatgpt in creating scripts then hats off to you, I'm still just a newbie and I thought I could get some help from chatgpt and it's quite obvious that for me, taking the shortcut to creating a script without fully knowing what I'm doing is just stupid and lazy.
I am, though, excited at the prospect of creating scripts that are able to execute what I had attempted at or even make a script to do something even more. Honestly I just chose something random to do and I landed on the decoder stuff. I probably won't use chatgpt again though.


