On 22.01.2023 23:10, Rick McGuire wrote:
Today in a FaceBook group I'm a member of, someone made a post about a remarkable result obtained
from ChatGPT. I decided I would check it out, using a problem that I struggled with for two
months, then gave up an implemented a less than optimal solution that fixed the problem but was
not exactly secure.
The problem in question was the problem caused when the rexxapi daemon gpt created by a process
with elevated privledges, which prevented processes with non-elevated privledges from connecting
to the rexxapi daemon via the named pipe. I struggled for several months trying figure out the
Windows documenation for the security APIs and a lot of time in StackOverflow trying to find some
examples I could adapt. I came up empty and ended up creating the pipe with no security restrictions.
So, today I asked ChatGPT how to create a named pipe that only users of the same process could
connect to. It immediately gave me a program that created the named pipe using the same code we
were using at first that had the elevated permissions issues. Not what I was looking for, but
impressive nontheless.
I told ChatGPT has issues communicating between processes with elevated permissions. It agreed
with me and produced a new program that I *think* might be exactly what is needed to close the
security hole. I was truly amazed!
This is really *very* impressive!
A couple of months ago a former student experimented with ChatGPT and came up with an interesting
solution in which a calculator ooRexx class got suggested by ChatGPT that was almost operable!
One thing that is still important: to learn and possess the skills e.g. in C++ or ooRexx and all
fields of applications and systems. It is great that such systems can come up with very good and
impressive solutions and proposals (easying many tasks considerably), but still humans need to be
able to understand and assess/control them otherwise humanity becomes helpless and dependent over
time. (It is like with a calculator: if one is not able to understand arithmetics anymore because
people forgo learning arithmetics because calculators exist, then people become helpless, in the
worst case enslaved.)
---rony
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel