Can parameterized statement stop all SQL injection?

When articles talk about parameterized queries stopping SQL attacks they don’t really explain why, it’s often a case of “It does, so don’t ask why” — possibly because they don’t know themselves. A sure sign of a bad educator is one that can’t admit they don’t know something. But I digress. When I say I … Read more

How do I create formatted javascript console log messages

Yes, you can format the console.log() with something like this: console.log(“%cExtra Large Yellow Text with Red Background”, “background: red; color: yellow; font-size: x-large”); Note the %c preceding the text in the first argument and the style specifications in the second argument. The text will look like your example. See Google’s “Styling Console Output with CSS” … Read more

SSH server zero-day exploit – Suggestions to protect ourselves

Comment from Damien Miller (OpenSSH developer): http://lwn.net/Articles/340483/ In particular, I spent some time analysing a packet trace that he provided, but it seems to consist of simple brute-force attacks. So, I’m not pursuaded that an 0day exists at all. The only evidence so far are some anonymous rumours and unverifiable intrusion transcripts.

How do I patch RHEL 4 for the bash vulnerabilities in CVE-2014-6271 and CVE-2014-7169?

A patch has been provided by Oracle for el4 : https://oss.oracle.com/el4/SRPMS-updates/bash-3.0-27.0.1.el4.src.rpm https://oss.oracle.com/el4/SRPMS-updates/bash-3.0-27.0.2.el4.src.rpm https://oss.oracle.com/el4/SRPMS-updates/bash-3.0-27.0.3.el4.src.rpm https://oss.oracle.com/el4/SRPMS-updates/bash-3.0-27.el4.src.rpm As it is a src RPM, you need to compile then rpmbuild. or use this link to avoid the build http://public-yum.oracle.com/repo/EnterpriseLinux/EL4/latest/i386/getPackage/bash-3.0-27.0.1.el4.i386.rpm http://public-yum.oracle.com/repo/EnterpriseLinux/EL4/latest/i386/getPackage/bash-3.0-27.0.3.el4.i386.rpm I tested it on a 4.9 i386 system, passed the exploit test I have. (Ted)

A previous IT worker probably left some backdoors. How can I eliminate them? [duplicate]

The only way to be absolutely certain is to wipe every system clean and to reinstall from scratch. You will also need to audit all of the locally generated software and configurations to ensure that they do not contain backdoors. This is a non trivial task which comes with a non trivial cost. Beyond that … Read more