From 08d296240a33a0d3426e2705f0c9cda2f0101369 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Thu, 30 Oct 2008 22:30:32 +0000 Subject: [PATCH] Add the license to the actual .[ch] files and remove the inaccurate readme git-svn-id: file:///home/svn/framework3/trunk@5811 4d416f70-5f16-0410-b530-b9f4589650da --- external/source/reflective_vncdll/README.txt | 10 ------- .../winvnc/vncdll/ReflectiveLoader.c | 30 +++++++++++++++++++ .../winvnc/vncdll/ReflectiveLoader.h | 30 ++++++++++++++++++- 3 files changed, 59 insertions(+), 11 deletions(-) delete mode 100644 external/source/reflective_vncdll/README.txt diff --git a/external/source/reflective_vncdll/README.txt b/external/source/reflective_vncdll/README.txt deleted file mode 100644 index a5254f94c9..0000000000 --- a/external/source/reflective_vncdll/README.txt +++ /dev/null @@ -1,10 +0,0 @@ -This project is a mangled version of RealVNC v3.3.7, it has been modified to work -as a payload with the DLL injection system developed by Jarkko Turkulainen and -Matt Miller. The majority of the changes were made by Matt Miller, with minor -tweaks and packaging by H D Moore. If you have questions about this source code -or would like to extend it, you should contact: - -Matt Miller -H D Moore - -Updates to this project will be made available at metasploit.com \ No newline at end of file diff --git a/external/source/reflective_vncdll/winvnc/vncdll/ReflectiveLoader.c b/external/source/reflective_vncdll/winvnc/vncdll/ReflectiveLoader.c index bf0bd38c86..2784c52ee4 100644 --- a/external/source/reflective_vncdll/winvnc/vncdll/ReflectiveLoader.c +++ b/external/source/reflective_vncdll/winvnc/vncdll/ReflectiveLoader.c @@ -1,6 +1,36 @@ + + //===============================================================================================// // Copyright (c) 2008 Stephen Fewer of Harmony Security //===============================================================================================// +/* + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of Harmony Security nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +*/ #include "ReflectiveLoader.h" //===============================================================================================// // You must implement this to add desired functionality... diff --git a/external/source/reflective_vncdll/winvnc/vncdll/ReflectiveLoader.h b/external/source/reflective_vncdll/winvnc/vncdll/ReflectiveLoader.h index d712f0e3cd..e7f5c13861 100644 --- a/external/source/reflective_vncdll/winvnc/vncdll/ReflectiveLoader.h +++ b/external/source/reflective_vncdll/winvnc/vncdll/ReflectiveLoader.h @@ -1,6 +1,34 @@ //===============================================================================================// // Copyright (c) 2008 Stephen Fewer of Harmony Security //===============================================================================================// +/* + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of Harmony Security nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +*/ #ifndef REFLECTIVELOADER_H #define REFLECTIVELOADER_H //===============================================================================================// @@ -177,4 +205,4 @@ typedef struct } IMAGE_RELOC, *PIMAGE_RELOC; //===============================================================================================// #endif -//===============================================================================================// \ No newline at end of file +//===============================================================================================//