Skip to content

Commit 1b4fc07

Browse files
author
patched.codes[bot]
committed
Patched README.md
1 parent f9fa7e5 commit 1b4fc07

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

README.md

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,37 @@
1-
# [:] Example Python 2 Project
1+
# Code Documentation
22

3-
An example Python project to demonstrate [srcclr](https://www.srcclr.com) scans.
3+
## File: README.md
44

5-
Check out the [python3](https://github.com/srcclr/example-python/tree/python3) branch for a project that builds with Python 3.
5+
- Extension: .md
6+
- Size: 380 bytes
7+
- Created: 2024-06-13 08:58:02
8+
- Modified: 2024-06-13 08:58:02
69

7-
## Try me!
10+
### Description
11+
Contains an example Python project demonstrating [srcclr](https://www.srcclr.com) scans. Instructions are provided on how to tap srcclr, install srcclr, activate and scan projects.
12+
13+
## File: main.py
814

9-
```
10-
brew tap srcclr/srcclr
11-
brew install srcclr
12-
srcclr activate
13-
srcclr scan --url https://github.com/srcclr/example-python
14-
```
15+
- Extension: .py
16+
- Size: 784 bytes
17+
- Created: 2024-06-13 08:58:02
18+
- Modified: 2024-06-13 08:58:02
19+
20+
### Description
21+
The Python script includes functions that call various methods from external modules. A request session is created with specific proxies, a URL is prepared, proxies are rebuilt, and a command injection vulnerability is introduced upon user input for executing commands.
22+
23+
### Inputs
24+
- User input for a command to execute.
25+
26+
### Outputs
27+
- Command execution result indicating the completion of the executed command.
28+
29+
## File: requirements.txt
30+
31+
- Extension: .txt
32+
- Size: 99 bytes
33+
- Created: 2024-06-13 08:58:02
34+
- Modified: 2024-06-13 08:58:02
35+
36+
### Description
37+
Lists required Python packages with their specified versions for the project.

0 commit comments

Comments
 (0)