CMD.EXE and its shellshock-like qualities

“So did you know there’s a Windows version of Shellshock?” a coworker asked the other day.

“What, Cygwin’s bash?” I asked.

“No, in CMD.EXE.”

I thought for a second, back to some really nasty batch files I’ve seen that do goofy stuff with variables and parenthesis and other reserved characters. Suddenly it made sense. Those cryptic batch files are exploiting the command interpreter to do things that shouldn’t be done. Then I smiled.

Read more

LOAD “*”,8,1 – what it means

LOAD “*”,8,1 – what it means

The smartest guy in the room cited the Commodore command LOAD “*”,8,1 as something he used for years but never understood why it worked except it was the command he used to load games on his Commodore 64.

So I explained it. Now I can explain it to you too.  Read more

WordPress Appliance - Powered by TurnKey Linux