                ____________________________________________________
               /    ______                 __    __                /|
       	      /    / ____/                / /   /_/               / /
             /    / /_____  _____________/ /________________     / /
            /    / __  / / / / __  /  __/ __  / / __  / ___/    / /
           /     ___/ / /_/ / / / /__  / / / / / / / / ___/    / /
          /    /_____/_____/_/ /_/____/_/ /_/_/_/ /_/____/    / /
         /                                                   / /
        /     Web : www.sunhine2k.de                        / /
       /            www.sunshine.2kx.de                    / /      
      /              					  / /
     /        Mail: Lighten-Sunrise@gmx.de               / /
    /___________________________________________________/ /
    \____________________________________________________/



SecMaker "V2" :
---------------------
It's just a tiny tool which adds zero-padded sections to a PE file, taking care of file-alignment and so on...
Hope you like it and use it. I've tested it with many files and most of them ( > 95%) worked after adding a section to them :-)

Sunshine, August 2k3

P.S Find the secret box...



=========================================================================================================


- HISTORY -

Version 2.0   / August 2k3
---------------------------
- completely rewritten, now in c++
- new layout
- fixed a bug in calculating right values
- ability to choose characteristics

Version 1.01  / June 2k3
--------------------------
- fixed a bug to write correct Virtual Offset
- added a messagebox

Version 1.0   / January 2k2
---------------------------
- first release



-= values for characteristics taken from WINNT.H =-

#define IMAGE_SCN_CNT_CODE                   0x00000020  // Section contains code.
#define IMAGE_SCN_CNT_INITIALIZED_DATA       0x00000040  // Section contains initialized data.
#define IMAGE_SCN_CNT_UNINITIALIZED_DATA     0x00000080  // Section contains uninitialized data.

#define IMAGE_SCN_LNK_INFO                   0x00000200  // Section contains comments or some other type of information.
#define IMAGE_SCN_LNK_REMOVE                 0x00000800  // Section contents will not become part of image.
#define IMAGE_SCN_LNK_COMDAT                 0x00001000  // Section contents comdat.

#define IMAGE_SCN_LNK_NRELOC_OVFL            0x01000000  // Section contains extended relocations.
#define IMAGE_SCN_MEM_DISCARDABLE            0x02000000  // Section can be discarded.
#define IMAGE_SCN_MEM_NOT_CACHED             0x04000000  // Section is not cachable.
#define IMAGE_SCN_MEM_NOT_PAGED              0x08000000  // Section is not pageable.
#define IMAGE_SCN_MEM_SHARED                 0x10000000  // Section is shareable.
#define IMAGE_SCN_MEM_EXECUTE                0x20000000  // Section is executable.
#define IMAGE_SCN_MEM_READ                   0x40000000  // Section is readable.
#define IMAGE_SCN_MEM_WRITE                  0x80000000  // Section is writeable.