Skip to content

Commit

Permalink
Added Cheatsheet_Pyinstaller.txt
Browse files Browse the repository at this point in the history
Added Cheatsheet_Pyinstaller.txt
  • Loading branch information
1nPr0c committed Sep 11, 2014
1 parent 5d7f3eb commit f84024a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Cheatsheet_Pyinstaller.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
python.exe c:\Python27\PyInstaller-2.1\pyinstaller.py --noconsole --onefile c:\Python27\PyInstaller-2.1\ReverseShell.py

[+] Generate the .spec file.
[+] Windows: (You want a single EXE file with your data in it, hence --onefile).

python pyinstaller.py --onefile your_main_file.py

[+] Rebuild your package.

python pyinstaller.py your_main_file.spec

[+]Look for your .exe or your .app bundle in the dist directory.

0 comments on commit f84024a

Please sign in to comment.