Skip to content

Commit 1a620bd

Browse files
Merge pull request #2 from srcclr/dariusf-python-vuln-methods
python vuln methods examples
2 parents ea622eb + 885b9ee commit 1a620bd

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

main.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
from __future__ import print_function
2-
1+
from jwt import algorithms
2+
from django.utils import formats
3+
from rsa import cli
4+
from feedparser import feedparser
5+
from requests import sessions
6+
from lib.Crypto.PublicKey import ElGamal
37
if __name__ == '__main__':
4-
print('Hello world')
8+
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: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
django==1.6.2
2-
ipython==3.2.0
3-
qpid-python==0.32.1
4-
filebrowser_safe==0.1
5-
PyJWT==0.1.1
1+
django==1.7.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)