mubix/post-exploitation — pull request #2 by SherifEldeeb (2012-10-22 09:03:29+00:00)
Title: added "custom-made" plink.exe to win32bins\network 

- Added a custom plink.exe that does NOT require the server key to be present
on the machine, and will NOT ask to add the server key to the registry
also.
- This is provided as a replacement for the provided "ssh.exe" which
requires cygwin to be installed; plink has no dependencies.

================================================
I compiled that plink.exe following these steps (if you don't feel like running an alien bin on your machines):

1- Download putty source code, open in VS2012
2- Add the following line to "putty.h":
.......... #define SECURITY_WIN32
3- Opened "wincons.c" and modified the function `verify_ssh_host_key` to always return 1