Skip to content

Commit c9aa4f2

Browse files
committed
Python vulnerable method example
1 parent ea622eb commit c9aa4f2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from __future__ import print_function
1+
2+
from django.utils import formats
23

34
if __name__ == '__main__':
4-
print('Hello world')
5+
formats.get_format()

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
django==1.6.2
1+
django==1.7
22
ipython==3.2.0
33
qpid-python==0.32.1
44
filebrowser_safe==0.1

0 commit comments

Comments
 (0)