mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-22 04:16:11 +00:00
Merge pull request #414 from nomothane/master
Backwards compatibility for Python 2
This commit is contained in:
commit
46cd766d0f
@ -1,7 +1,9 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# https://www.insomniasec.com/downloads/publications/LFI%20With%20PHPInfo%20Assistance.pdf
|
# https://www.insomniasec.com/downloads/publications/LFI%20With%20PHPInfo%20Assistance.pdf
|
||||||
|
# The following line is not required but supposedly optimizes code.
|
||||||
|
# However, this breaks on some Python 2 installations, where the future module version installed is > 0.16. This can be a pain to revert.
|
||||||
|
# from builtins import range
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from builtins import range
|
|
||||||
import sys
|
import sys
|
||||||
import threading
|
import threading
|
||||||
import socket
|
import socket
|
||||||
|
Loading…
Reference in New Issue
Block a user