⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
psa-pear
/
pear
/
View File Name :
content-object-delete
#!/usr/bin/env php get('horde_dir', null, 'pear.horde.org') . '/content/'; } require_once $baseDir . 'lib/Application.php'; Horde_Registry::appInit('content', array('cli' => true)); $options = array( new Horde_Argv_Option('-m', '--object-id', array('type' => 'int')), ); $parser = new Horde_Argv_Parser(array('optionList' => $options)); list($opts, $positional) = $parser->parseArgs(); if (!$opts->object_id) { throw new InvalidArgumentException('object_id is required'); } $m = new Content_ObjectMapper($injector->getInstance('Horde_Db_Adapter')); if ($m->delete($opts->object_id)) { echo 'Deleted object with id ' . $opts->object_id . ".\n"; exit(0); } else { echo 'Object #' . $opts->object_id . " not found.\n"; exit(1); }