Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit94d9da3

Browse files
author
patched.codes[bot]
committed
Patched /Users/user/Documents/GitHub/example-python/main.py
1 parent9b1c29f commit94d9da3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎main.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
url='http://example.com'# Replace with a valid URL
1515
req=requests.Request('GET',url)
1616
prep=req.prepare()
17-
session.rebuild_proxies(prep,proxies)
17+
ifnoturl.startswith('https'):
18+
session.rebuild_proxies(prep,proxies)
1819

1920
# Introduce a command injection vulnerability
2021
user_input=input("Enter a command to execute: ")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp