Hiawatha webserver PreventSQLi Patterns

'\s*--(\s|')
'\s*(and|or|xor|&&|\|\|)\s*\(?\s*('|[0-9]|`?[a-z\._-]+`?\s*(=|like)|[a-z]+\s*\()
'\s*(not\s+)?in\s*\(\s*['0-9]
union(\s+all)?(\s*\(\s*|\s+)select(`|\s)
select(\s*`|\s+)(\*|[a-z0-9_\, ]*)(`\s*|\s+)from(\s*`|\s+)[a-z0-9_\.]*
insert\s+into(\s*`|\s+).*(`\s*|\s+)(values\s*)?\(.*\)
update(\s*`|\s+)[a-z0-9_\.]*(`\s*|\s+)set(\s*`|\s+).*=
delete\s+from(\s*`|\s+)[a-z0-9_\.]*`?

Extract Links from a Web Page

Command Line

Extracting links from a page can be done with a number of open source command line tools. lynx a text based browser is perhaps the simplest.

lynx -listonly -dump url.example.com

API for the Extract Links Tool

Another option for accessing the extract links tool is to use the API. Rather than using the above form you can make a direct link to the following resource with the parameter of ?q set to the address you wish to extract links from.

https://api.hackertarget.com/pagelinks/?q=websitetotest.com

How To Setup DVWA Using Windows XAMPP

Download and install XAMPP on your computer.

Download DVWA, then extract the zip file to the htdocs folder.

In \xampp\htdocs\dvwa\config directory rename config.inc.php.dist to config.inc.php, and search line

$_DVWA[ 'db_password' ] = 'p@ssw0rd';

and change to (empty password).

Edit \xampp\php\php.ini file, search line

allow_url_include=Off

and change to On.

Then open the XAMPP control panel and start “Apache” and “MySQL” service.

Open the web browser, then go 127.0.0.1/DVWA. Click on “Create/Reset Database” button in browser…

Go!