0x1881/dorkgen

There is no license information available for the latest version (v1.9.2) of this package.

Dork generator

v1.9.2 2022-11-18 17:34 UTC

This package is auto-updated.

Last update: 2024-11-18 22:35:48 UTC


README

Google dork generator

Install

composer require 0x1881/dorkgen

Using

require_once __DIR__.'/vendor/autoload.php';

use C4N\DorkGen\Google;

$google = (new Google)->exclude(
    (new Google)->site('instagram.com')->site('facebook.com')
)
->group(
    (new Google)->plain('mark')->and()->plain('zuckerberg')
)
->username('zuck');

echo $google.PHP_EOL; // == return $google->string()
echo $google->dork().PHP_EOL; // == return $google->string()
echo $google->string().PHP_EOL;
echo $google->url().PHP_EOL;
print_r($google->tags());