nccgroup / Winpayloads

Undetectable Windows Payload Generation
Apache License 2.0
1.56k stars 332 forks source link

Add pywintypes to list of requirements #71

Closed codingo closed 5 years ago

codingo commented 5 years ago

Closes #70 by adding pywintypes to the list of requirements added by setup.sh.

codingo commented 5 years ago

Please note that this isn't fully tested on all environments but does address dependencies for a typical Windows install.

Charliedean commented 5 years ago

The issue https://github.com/nccgroup/Winpayloads/issues/70 looks to be coming from wine. For this fix to work you would need to use wine pip to install pywintypes.

If you would like to create another pull request but add the following to setup.sh:

wine ~/.win32/drive_c/Python27/Scripts/pip.exe install pywintypes
Charliedean commented 5 years ago

FYI:

wine ~/.win32/drive_c/Python27/Scripts/pip.exe install pywintypes You are using pip version 7.0.1, however version 19.0.3 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Collecting pywintypes Could not find a version that satisfies the requirement pywintypes (from versions: ) No matching distribution found for pywintype

Charliedean commented 5 years ago

Looking into this more. This is normally installed in the setup.sh script Here: https://github.com/nccgroup/Winpayloads/blob/master/setup.sh#L45

If this fails for whatever reason - then pywin32 will not install. Im assuming that something is going wrong in the setup and is causing https://github.com/nccgroup/Winpayloads/issues/70