PHP Classes

File: run.php

Recommend this page to a friend!
  Classes of Istvan Dobrentei   PHP Strong Password Validation   run.php   Download  
File: run.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Strong Password Validation
Check if password is week against a dictionary
Author: By
Last change:
Date: 5 years ago
Size: 368 bytes
 

Contents

Class file image Download
<?php
require_once __DIR__ . '/lib/PasswordDetect.php';

$url = 'http://<target url>';
$pd = new PasswordDetect($url);

## ATTACK WITH BRUTE FORCE
#$pd->guessWithBruteForce('admin');

## the post request response, if the login success what is the part of the result
#$pd->setSuccessLoginTest('');

## ATTACK WITH DICTIONARY
#$pd->guessWithDictionary('dictionary.csv');