Validating proxy via PHP

This is how we use and curl to validate any proxy simply you pass the url with IP and port number and results will be printed immediately. In PHP we have to request a given URL via the proxy and see if it will respond with the expected result.       First on box debian based you need to run the following command to instal php-curl: sudo apt-get...

Read More
Make use of Digital Ocean and Vultr VPS API with PHP wrapper

Here is my first experience with api wrapper. Digital Ocean and Vultr provides vps services so if you don’t want to log into their panel each time you want to perform an action to the vps node you can call the droplets functions from your own website and have your own control panel. First you will need to create your own client ID and key both can be...

Read More
Sanitize data and prevent SQL injections in php

The reason for adding this blog is sometimes when I code in php I normally forget that data has to be sanitized before executing to prevent or XSS attacks. The simplest way to make SQL injection hard is to use either Mysqli or PDO prepare statements – Examples – as it keeps the SQL and data inputs completely separated. However if you need to use...

Read More
How to protect your WordPress external links

As you notice all external links on my Blog are in order to protect the content from being copied. I tried to find a plug-in that does that but I couldn’t so I modified one that encodes external URLS to so instead of encoding the I will show you how to encrypt it with your own defined key. I will show you how I did it through simple steps if you wish...

Read More
Extracting SSL Fingerprints

I was looking for a script that can extract fingerprint from any SSL certificate provided you have the URL. I have found couple of them but non of them did what I expected exactly so I decided to write my own based on what I have found. The first script is written in Perl where the second in Linux Shell scripting and finally the last one is in PHP. Note that...

Read More
  1. Pages:
  2. 1
  3. 2
  4. 3

Pin It on Pinterest