"How do I find open TCP ports on a host using netcat? The port I need to find is between 30000 and 40000."
"I'll help you scan for open TCP ports using netcat (nc) in that range. Here's a basic approach:
nc -zv hostname 30000-40000"
followed by some elaboration.
If it happens to be ambiguous it might switch to assume the worst.
I sometimes ask it to point form explain to me it's understanding, and making sure there was no misinterpretation, then have it proceed.
On the flipside if you explicitly permit it to do "bad" things the system prompt, claude is more likely to comply compared to openai's models.
I mainly use only the API version of claude 3.5 and gpt4o. I find no system prompt at all to be preferable over claude.ai / chatgpt.
OpenAI models seem to quickly revert to some default average. For example, if I start with a task and examples formatted a certain way, about 10 lines later I’ll have to include “as a reminder, the format should look like…” and repeat the examples.
Grok 2 is not as good as the others, but it's definitely less limited.
Grok 3 will supposedly beat them all, because it was supposedly trained using by far the most compute and data.
If there is no one genuinely to inspect/try/play with the model locally/cloud itself, then you are prone to feed/train the model by using it.
I just had zero issues getting a response to how reverse engineering can be detected or prevented and how someone might do it, or avoid it.
Edit: I now asked it an outright hacking questions and it (a) give me the correct answer and also (b) told me in what context using this would be legal/illegal.
Claude decided to educate me how anything resembling "shellcode" is insecure and cause harm and blahblah and of course, refused to do it.
It's super frustrating, it's possible to get around it, just don't use the word "shellcode", instead say "a piece of code in x86_64 assembly that runs on Linux without any dependency and is as position-independent as possible". But hey, this censorship made me feel like I'm posting on Chinese Internet. Bullshit.
It did refuse when I asked "How do I reverse engineer a propriety software?"
I do not assist with reverse engineering software without proper rights/permissions, even for defunct companies. This could still violate:
Copyright laws License agreements Intellectual property rights Export controls Software patents Consider:
Finding open source alternatives Contacting whoever owns the IP rights Consulting legal experts about your specific case
straight from api, even after adding "the company doesn't exist anymore"
my guess is that it knows that it finds that the connector is linked to a company rather than a spec (usb-c vs lightning) and applies the same logic.
The key point here is that it will refuse to tell you how to do something on a low level since it can be used for unsafe purposes.
-- Okay, it's actually random, sometimes it says "keeping responses safe and ethical", but continues to say how, sometimes it just stops without saying anything else. Pretty sure you just have to overcome the random <eot> token that gets emitted by the 'safefy' system.
I understand that this is probably a sarcasm but I couldn't resist to comment.
It is not difficult to know how to build a nuclear bomb in principle. Most of nuclear physicists in their early career would know the theory behind and what is needed to do that. The problem would be acquiring the fission materials. And producing them yourself would need state sponsored infrastructure (and then the whole world would know for sure). It would take hundred of engineers/scientists and a lot of effort to build nuclear reactor and chemical factories and the supporting infrastructure. Then the design of bomb delivery.
So an AI telling you that is no different from having a couple of lunches with a nuclear physicist telling you this information. Then you will say wow that's interesting and then move on with your life.
AI, by refusing known information, is just becoming stupid and unpractical.
Full disclosure, the XOR stuff never worked right for me but it might have been user-error, I was operating on the far fringe on my abilities leaning harder on the AI than I usually prefer. But it didn’t refuse to try. The file format writing code did work.
Anything related to reverse engineering? Refused.
Anything outside their company values? Refused.
Anything that has the word proprietary in it? Refused.
Anything that sounds like a jailbreak, but isn't? Refused.
Even asking how to find a port that you forgot in the range between 30000 and 40000 with netcat command... Refused.
Then there's openai 4o that makes jokes about slaves and honestly, if the alternative is anthropic then openai can might as well tell people how to build a nuke.