Skip to content

0x1881/DorkGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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