Benign php 76,368 installs Download

oat-sa/extension-tao-outcomelti v5.1.3

“extension to manage LTI outcome for TAO”

Basename is uppercase README.mdFile declares itself demo seed data

Evidence

At least four Markdown-style heading lines PULL_REQUEST_TEMPLATE.md · lines 1–28
1## Ticket:
2
3## What's Changed
4- Introduced a new feature called `foobar`.
5
⋯11 lines
17- [ ] Pull request title and description are meaningful
18
19## TODO
20- [x] Unit tests
21- [x] E2E tests
22- [ ] Update with packages
23
24## Dependencies PRs
25- https://github.com/oat-sa/..
26
27## How to test
28- Explain here how to test or make a small demo to our team how this works
PHP script path suffix OAuthBody.php · lines 1–13
1<?php
2
3// phpcs:disable PSR1.Files.SideEffects
4require_once("OAuth.php");
5require_once("TrivialOAuthDataStore.php");
6
7function getLastOAuthBodyBaseString()
⋯6 lines
Suppresses errors with the PHP @ operator OAuthBody.php · lines 15–21
15:29… Util::get_headers();
16 // print_r($request_headers);
17
18 if (@substr($request_headers['Authorization'], 0, 6) == "OAuth ") {
19 $header_parameters = OAuthUtil::split_header($request_headers['Authorization']);
20
21 // echo("HEADE …
URL-encoded HTTP form content type string OAuthBody.php · lines 30–38
30:40… eaders();
31 // print_r($request_headers);
32
33 // Must reject application/x-www-form-urlencoded
34 $hdr = $request_headers['Content-type'];
35 if (!isset($hdr)) {
36 $hdr = $request_headers['Content-Type'];
37 }
38 …
References PHP raw input stream wrapper OAuthBody.php · lines 73–84
73:28… ("OAuth signature failed: " . $message);
74 }
75
76 $postdata = file_get_contents('php://input');
77 // echo($postdata);
78
79 $hash = base64_encode(sha1($postdata, true));
80
81 if ($hash != $oauth_body_hash) {
82 throw new Exception("OAuth oauth_body_hash mismatch");
83 }
84

Showing the top 5 files — 1 more file (16 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.