This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # From: https://github.com/nitin42/Python-Automation/blob/master/project15.py | |
| # Brute-Force PDF Password Breaker | |
| # Brute-Forcing the pdf files to break the encryption using dictionary attack | |
| import os | |
| import PyPDF2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /.idea/ | |
| /.git/ | |
| /vendor/ | |
| /var/* | |
| !/var/cache | |
| /var/cache/* | |
| !var/cache/.gitkeep | |
| !/var/lock | |
| /var/lock/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Source: https://www.jodyhatton.com/how-big-is-my-website-how-to-get-a-list-of-all-files-and-folders-directories-using-php/ | |
| */ | |
| $pathLen = 0; | |
| function prePad($level) | |
| { | |
| $ss = ""; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Session | |
| { | |
| private $db = false; | |
| public function __construct() | |
| { | |
| $this->db = new \Medoo\Medoo(); // http://medoo.in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (version_compare(PHP_VERSION, '7.0.0') < 0) { | |
| die('PHP 7 is required; your version is ' . PHP_VERSION); | |
| } | |
| $extensions = get_loaded_extensions(); | |
| $requiredExtensions = [ | |
| 'json', |
NewerOlder