Консультация по Python (конвертация кода в .exe)
Необходимо выполнить описанное в данной статье, кто знаком с Python:
http://e-spohn.com/blog/2011/12/11/ms11–080-privilege-escalation-windows/ (почему то переход по ссылке выдает 404, хотя статья передо мной, посему копирую текст сюда):
"This exploit was written in Python, so we’re going to have to use a trick we learned earlier with PyInstaller to utilize this on a machine that doesn’t already have Python installed. Remember, that we need to setup our Python environment on a Windows machine to compile this exploit (no cross-compile support).
Python environment setup:
1. Install Python
2. Install PyInstaller
3. Install PyWin32 (specific to the version of Python installed above)
PyInstaller compile:
1. Download the python exploit code to c:\Temp\ms11-080.py
2. c:> PATH=C:\
3. c:> cd
4. c:> Python Configure.py
5. c:> Python Makespec.py --onefile c:\Temp\ms11-080.py
(creates \ms11-080\ms11-080.spec)
6. c:> Python Build.py \ms11-080\ms11-080.spec
(creates \ms11-080\dist\ms11-080.exe)
This will work fine for a gui session. Just run the executable from a command line (ms11-080.exe -O ), and a nice red console is spawned, running as SYSTEM."
У меня не получается (в языках программирования не силен). Объяснить, показать что и как. Соответственно не бесплатно.