Defending Against Injection Attacks Through Context-Sensitive String Evaluation

300 word summary: What is the paper about? Defending Against Injection Attacks Through Context-Sensitive String Evaluation introduces CSSE - Context-Sensitive String Evaluation - a way to detect sqlI in php at…

Continue ReadingDefending Against Injection Attacks Through Context-Sensitive String Evaluation

AMNESIA: Analysis and Monitoring for NEutralizing SQL-Injection Attacks

300 word summary: AMNESIA: analysis and monitoring for NEutralizing SQL-injection attacks. Provides a valuable background section on the countermeasures for SQL injection attacks: Defensive ProgrammingGeneral Techniques against SQLiStatic Analysis techniques…

Continue ReadingAMNESIA: Analysis and Monitoring for NEutralizing SQL-Injection Attacks

Updating to php 5.4 and mysql 5.5 in centos 6

To update to php 5.4 and mysql 5.5 in centos 6: 1) install the epel, remi and rpm-forge repos rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 2) edit…

Continue ReadingUpdating to php 5.4 and mysql 5.5 in centos 6

Mysql query to set a featured image on all wordpress posts without a featured image set

If you want to set a featured image on all wordpress posts that dont already have a featured image set, then this mysql query can help: INSERT INTO wp_postmeta (post_id,meta_key,meta_value)…

Continue ReadingMysql query to set a featured image on all wordpress posts without a featured image set