1
0
Fork 0
mirror of https://github.com/swisskyrepo/PayloadsAllTheThings.git synced 2024-03-28 10:20:03 +01:00

Backwards compatibility for Python 2

This commit is contained in:
Ethan 2021-08-11 20:40:39 +01:00
parent 6cba7ceda9
commit 68a4c9296b
No known key found for this signature in database
GPG Key ID: D8E0FECB062BF8C1

View File

@ -1,7 +1,9 @@
#!/usr/bin/python
# 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 builtins import range
import sys
import threading
import socket