Hacking with ChatGPT: Ideal Tasks and Use-Cases

Four tactics and example prompts for hacking

rez0 shares 4 tactics and example prompts he’s using when hacking:

  • Write data-processing scripts
  • Make minified js code easier to read
  • Translate a json POST request into an x-www-form-urlencoded POST request
  • Coding error debugging

Which tasks work best?

The sweet spot is when you need a task completed that is small or medium in size, would take more than a couple minues to do, but for which there isn’t an existing good tool. And if it’s not something ChatGPT can do directly, asking it to write a script to complete the task is a great way to still get a working solution.

ChatGPT is great at both generating and explaining code, but watch out for hallucinations in response to technical queries. My tip: preface any questions with “If you don’t know the answer, reply that you don’t know”.