I have worked on a quite a few WordPress projects lately that use Elementor, which is a website builder with a drag-and-drop interface and some other user-friendly bits. In the past, I have typically avoided these kinds of tools for WordPress, because they caused more problems than they solved,...
InformationRoom#Name: BillingProfile: tryhackme.comDifficulty: EasyDescription: Some mistakes can be costly.Write-upOverview#Install tools used in this WU on BlackArch Linux:sudo pacman -S nmap nuclei ffuf pass-station metasploit var ctx =...
InformationRoom#Name: Bypass Disable FunctionsProfile: tryhackme.comDifficulty: InfoDescription: Practice bypassing disabled dangerous features that run operating system commands or start processes.Write-upOverview#Install tools used in this WU on BlackArch Linux:sudo pacman -S nmap ffuf...
Traits were introduced in PHP 5.4 on March 1st, 2012. Traits provide support for horizontal code reuse, but what is meant by horizontal reuse? Should we be using traits? This article explores what traits are and when we should use them as well as when we should not. What is a trait? Anthony...
Coercion is implicit typecasting for scalar types (integer, float, boolean and string). In this article we look at how we can use coercion as an elegant alternative to explicit typecasting. Coercing to integer We can coerce any expression to integer by suffixng |0 – bitwise or operator followed by...
We want to find regular expression delimiters that enable us to avoid inserting additional escape sequences into our patterns. This is ideal when we want to inject foreign patterns where we can't guarantee which characters will be used. Regex grammar Delimiters /foo/i...
We briefly review the major new PHP language syntax introduced in each version since 5.3 – the version that birthed the features that paved the way for the prevailing PHP renaissance. Always Every project. Common Most projects. Uncommon Some...
Correctly merging two arrays into a single array requires thinking about the type of data we have. Is our data flat or does it contain nested arrays? What should happen when both arrays contain the same key? PHP provides three ways to merge arrays. The array union operator: +. The array_merge...