/DorkGen

Google dork generator with php

Primary LanguagePHPMIT LicenseMIT

DorkGen

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());