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 | |
/** | |
* D7 autologin. | |
* Exploits SA-CORE-2014-005 to change your anonymous session into an uid 1 session. | |
* In order to work, first you need to have an anonymous session in the sessions table. | |
* One way to achieve this is to go to the update.php page. | |
* | |
* Usage: php d7-autologin.php http://example.com 127.0.0.1 | |
* |
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 | |
// Module name | |
$module = ''; | |
// List of tables to install | |
$tables = array(''); | |
$schemas = drupal_get_schema_unprocessed($module); | |
foreach ($schemas as $key => $schema) { |
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
The moon is a harsh mistress - Robert A. Heinlein - 5* | |
A canticle for Leibowitz - Walter M. Miller 4* | |
Flowers for Algernon - Daniel Keyes 5* | |
The Forever War - Joe Haldeman - 4* | |
The Stars my destination (also known as Tiger! Tiger!) - Alfred Bester - 5* | |
The Road - Cormac Mc Carthy - 4* | |
God is Dead - Ron Currie Jr. - 4* | |
The world without us - Alan Weisman (not really sci fi, but interesting, anyways) - 4* | |
Animal Farm - George Orwell - 5* | |
1984 - George Orwell - 5* |
NewerOlder