forked from codelion/example-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
patched.codes[bot]
committed
Aug 1, 2024
1 parent
2441ace
commit ca74b99
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## 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. | ||
|