forked from codelion/example-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestfile
More file actions
42 lines (29 loc) · 1.29 KB
/
testfile
File metadata and controls
42 lines (29 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
## Table of Contents
- [README.md](#README.md)
- [html.js](#html.js)
- [main.py](#main.py)
- [requirements.txt](#requirements.txt)
- [testfile](#testfile)
- [.github/workflows/main.yml](#.githubworkflowsmain.yml)
## File: README.md
- Contains a sample README file for an example Python project.
- Demonstrates how to run a source code scan using srcclr.
## File: html.js
- JavaScript code file for rendering HTML content.
- Includes React components for building an HTML template.
- Utilizes PropTypes and libraries like lodash and serialize.
- Responsible for setting up various meta tags, links, and styles.
## File: main.py
- Python script that executes various functions and interacts with the requests library.
- Includes code vulnerable to command injection for educational purposes.
- Demonstrates how to rebuild proxies and prepare requests.
- Executes a user-input command using subprocess.
## File: requirements.txt
- Lists Python dependencies required for the project.
- Includes packages like Django, PyJWT, and requests.
## File: testfile
- An empty file.
## File: .github/workflows/main.yml
- GitHub Actions workflow file for performing PR reviews using Patchwork.
- Triggers on pull requests to the master branch.
- Installs `patchwork-cli` and runs `PRReview` command with specified parameters.