Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PATH lookup and command line for Windows OS #67

Merged
merged 3 commits into from
Nov 26, 2015

Conversation

newlog
Copy link

@newlog newlog commented Nov 23, 2015

There were two problems when running the lib in windows:

  • PATH env variable was split only with ':' instead of ';'
  • Windows command line was broken due to path spaces and .exe suffix

After this commit library can be successfully run in Windows OS.
Tested on Windows 10 x64 with Nmap 7.

On Linux, changes should not affect execution.

Albert Lopez added 3 commits November 22, 2015 18:39
There were two problems when running the lib in windows:
- PATH env variable was split only with ':' instead of ';'
- Windows command line was broken due to path spaces and .exe suffix

After this commit library can be successfully run in Windows OS.
Tested on Windows 10 x64 with Nmap 7.
@newlog
Copy link
Author

newlog commented Nov 24, 2015

I've tested the library in windows and I've executed the following high-level scans without problems:

GetAliveHosts
GetHostnames
GetOperatingSystems
GetOpenPorts
GetOpenTCPPorts
GetOpenUDPPorts
GetTCPServices
GetUDPServices
GetServices
ExecuteAsyncNmap
ExecuteSyncNmap

@savon-noir
Copy link
Owner

thanks for your pull req. i'll review it asap.

@savon-noir
Copy link
Owner

this will certainly need a repackage on pypi btw :)

@newlog
Copy link
Author

newlog commented Nov 26, 2015

Sounds great! Any doubt, ping me.

savon-noir added a commit that referenced this pull request Nov 26, 2015
Fix PATH lookup and command line for Windows OS
@savon-noir savon-noir merged commit 00ccad5 into savon-noir:master Nov 26, 2015
@savon-noir
Copy link
Owner

merci, super pull-req. ca fait du bien une petite contrib :)

@savon-noir
Copy link
Owner

à l'occasion, je v repackager et je t'ajoute dans le changelog...je dois d'abord jeter un oeil à l'issue sur le deadlock.

a bientot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants