mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-10-26 23:33:45 +01:00 
			
		
		
		
	Added Windows build instructions and icon.
This commit is contained in:
		
							
								
								
									
										17
									
								
								windows_build.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								windows_build.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| Below are notes for creating a Windows executable. | ||||
|  | ||||
| An executable can only be made on a Windows host because the PyInstaller tool (https://www.pyinstaller.org/) does not support cross-compilation. | ||||
|  | ||||
| On a Windows machine, do the following: | ||||
|  | ||||
| 1.) Install Python v3.7.x from https://www.python.org/.  (As of this writing v3.8.0 isn't supported.)  To make life easier, check the option to add Python to the PATH environment variable. | ||||
|  | ||||
| 2.) Using pip, install pyinstaller and colorama: | ||||
|  | ||||
|     pip install pyinstaller colorama | ||||
|  | ||||
| 3.) Create the executable with: | ||||
|  | ||||
|     pyinstaller -F --icon windows_icon.ico ssh-audit.py | ||||
|  | ||||
| 4.) The 'dist' folder will have the resulting ssh-audit.exe. | ||||
							
								
								
									
										
											BIN
										
									
								
								windows_icon.ico
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								windows_icon.ico
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 17 KiB | 
		Reference in New Issue
	
	Block a user
	 Joe Testa
					Joe Testa