Python script -> binary file
nuitka
$ python3 -m nuitka --standalone --onefile dnsrecon.pypyinstaller
ΠΡΠΈΠΌΠ΅Ρ: Python HTTP server -> exe
Python 3
import http.server
import socketserver
PORT = 80
Handler = http.server.SimpleHTTPRequestHandler
with socketserver.TCPServer(("", PORT), Handler) as httpd:
print("serving at port", PORT)
httpd.serve_forever()
"""
ΠΠΎΠΌΠΏΠΈΠ»ΡΡΠΈΡ:
pip3 install pyinstaller
pyinstaller web.py --onefile
"""Python 2
Last updated