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

Commit885b9ee

Browse files
author
Jonathan Tan Chiu Joo
committed
Updated python examples
Updated python example to allow the example scanning to show vulnerablemethods. Added examples to demonstrate call chains. Changed pythonimports to include very popular libraries like requests (53m downloads)and pycrpyto (25m downloads).
1 parent38d060e commit885b9ee

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

‎main.py‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
1+
fromjwtimportalgorithms
22
fromdjango.utilsimportformats
3-
3+
fromrsaimportcli
4+
fromfeedparserimportfeedparser
5+
fromrequestsimportsessions
6+
fromlib.Crypto.PublicKeyimportElGamal
47
if__name__=='__main__':
58
formats.get_format()
9+
algorithms.HMACAlgorithm.prepare_key()
10+
cli.VerifyOperation.perform_operation()
11+
feedparser.parse()
12+
sessions.SessionRedirectMixin.resolve_redirects()
13+
ElGamal.generate()

‎requirements.txt‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
django==1.7.1
2-
ipython==3.2.0
3-
qpid-python==0.32.1
4-
filebrowser_safe==0.1
5-
PyJWT==0.1.1
2+
PyJWT==0.4.2
3+
rsa==3.0
4+
feedparser==5.1.1
5+
requests==2.2.1
6+
pycrypto==2.4

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp