Beginner
Scrawlr: Crawls your website for SQL Injection
Scrawlr, short for SQL Injector and Crawler will crawl your website and will analyze the parameters of each individual pages for SQL injection vulnerabilities. Very useful tool for small to medium sized websites. Free for the first 1,500 pages.
From HPs website:
Technical details for Scrawlr
Identify Verbose SQL Injection vulnerabilities in URL parameters
Can be configured to use [...]
Colorful phpinfo();
Just for fun and if you have nothing to do, run this custom phpinfo(); to get a view of the old and dull phpinfo with cool colors.
<?php
ob_start();
phpinfo();
$phpinfo = ob_get_contents();
ob_end_clean();
preg_match_all(‘/#[0-9a-fA-F]{6}/’, $phpinfo, $rawmatches);
for ($i = 0; $i < count($rawmatches[0]); $i++)
$matches[] = $rawmatches[0][$i];
$matches = array_unique($matches);
$hexvalue = ‘0123456789abcdef’;
$j = 0;
foreach ($matches as $match)
{
$r = ‘#’;
$searches[$j] = $match;
for ($i = [...]
Video: PHP, HTML Tutorial // POST, Table, Forms
40 Tips for optimizing your php Code
Original Content Source:
http://reinholdweber.com/?p=3
If a method can be static, declare it static. Speed improvement is by a factor of 4.
echo is faster than print.
Use echo’s multiple parameters instead of string concatenation.
Set the maxvalue for your for-loops before and not in the loop.
Unset your variables to free memory, especially large arrays.
Avoid magic like __get, __set, __autoload
require_once() is [...]
Did you forget that connection string?
No problem! ConnectionStrings.com is here.
–aj
