How to Autosign git commits

Gunnard/ April 7, 2021/ PHP/ 0 comments

In the light of the recent PHP Git server situation, teams are double-downing on signing commits. Signing your commit with your GPG key lets your team know that this code came from the person whose name is on the commit and the code has not been tampered with. Normally you would just use: git commit -S -m’My Git message‘ This

Read More

JetBrains software Teamcity possibly used in Solarwinds hack

Gunnard/ January 7, 2021/ Development, hacking, PHP, Security/ 0 comments

In a New York Times article released on January 6, 2021, JetBrains and their Continuous Integration / Continuous Deployment (CI/C) application Teamcity were confirmed to be used by recently hacked software company SolarWinds.

How can I prevent SQL injection in PHP?

Gunnard/ November 4, 2020/ Development, hacking, PHP, Security/ 0 comments

Preventing SQL injections is a popular topic. #1 on stackoverflow (for php) and also listed on the OWASP top 10. So what is an SQL Injection? The first part “SQL” refers to Sequential Query Language which is used in querying databases like Mysql, Postgres SQL or mariaDB. The term is meant to be used as a generalization for any database

Read More

PHP filter functions

Gunnard/ October 26, 2020/ Development, PHP/ 0 comments

Filtering in PHP is super easy with the built in filter_var() function. Filtering is essential when taking in form input or applying logic to any set of data. This is especially crucial when sanitizing user input in order to prevent XSS and Sql injection attacks. filter_var ( mixed$variable [, int $filter = FILTER_DEFAULT [, mixed$options ]] ) : mixed Grab the code below to see how these functions work and

Read More

Free PHP Malware and Security scanners [Part 1]

Gunnard/ October 8, 2020/ Development, Devops, PHP, Security/ 0 comments

Exakat Exakat is a tool for analyzing, reporting and assessing PHP code source efficiently and systematically. Exakat processes PHP 5.2 to 7.4 and 8.0 code, as well as reporting on security, performance, code quality, migration. –Exakat docs Static analysis of code is a great tool to use whether for unit testing or in this case security vulnerabilities and malware infestations.

Read More

PHP 8.0 Release Candidate Available

Gunnard/ October 2, 2020/ PHP/ 0 comments

“The PHP team is pleased to announce the eighth testing release of PHP 8.0.0, Release Candidate 1.” This RC can be found on the official release site php-8.0.0rc1.tar.bz2 2020-09-29 22:46 13M   php-8.0.0rc1.tar.bz2.asc 2020-09-29 22:46 866   php-8.0.0rc1.tar.gz 2020-09-29 22:46 16M   php-8.0.0rc1.tar.gz.asc 2020-09-29 22:46 866   php-8.0.0rc1.tar.xz 2020-09-29 22:46 10M   php-8.0.0rc1.tar.xz.asc 2020-09-29 22:46 866  

Instagram AR Filters

Gunnard/ January 17, 2020/ PHP/ 0 comments

Instagram AR Filters are taking over. Wheather you are wondering what Disney princess you are or what type of Taco Bell item represents you, there is an AR filter out there for you. How do you use them? AR Filters can be found on a user’s “Story”. The title of the filter will be in the upper left corner. If

Read More

tmux and Vim for PHP Programmers

Gunnard/ February 6, 2019/ Full Stack, Learning, PHP, VIM/ 0 comments

This month’s issue of Php[architect] magazine features my article on using tmux and Vim as a developer. Take a look and for only $6 you can purchase the issue or subscribe starting at as low as $4.99! Check it out and help support a great developer community!