Metasploit mailing list archives

VNC Injection payload


From: talha.tariq at gmail.com (Talha)
Date: Wed, 21 Nov 2007 02:50:20 +0000

Hi all,

When using a VNC Injection payload, and obtaining a full access on the
victim machine after an exploit, a command shell is spawned on the
remote machine with a pretty visible blue background. Is there anyway
to stop this ?. I tried modifying the following code in
framework\modules\payloads\stages\windows\vncinject.rb

register_advanced_options(
                        [
                                OptBool.new('DisableCourtesyShell',
                                        [
                                                false,
                                                "Disables the Metasploit Courtesy shell",
                                                false
                                        ])
                        ], VncInject)

changing false parametres to true offcourse, but i cannot seem to hide
the command shell.
Any ideas ?

Thanks and Regards,
Talha



Current thread: