Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[DELPHI 7 SOURCE] Simple Layered Encryption

Featured Replies

Posted

I have been working on a EXE protector for a looooooooooooong time and in the process i have coded a lot of test functions, here is a first and very basic version of one of them.

Instead of just sharing the code snippets i put the functions to use by showing it in action.

The example does:

1). Add a new section to a 32-bit .exe

2). Change entry point to new section,

3). Add variables to layer encrypted function and encrypt the 5 layers

4). Write layer encrypted function to new section

When target file is executed the 5 layers is decrypted, on last layer OEP is decrypted and jump is taken to OEP. All is simple xor encryption.

 

Download:

http://rgho.st/6br5xNtkL

 

SimpleLayeredEncryption[DELPHI_7_SRC].rar

I always got Error Invalid .exe.

I compiled the source in Delphi 7.

the target is clean x32 Delphi 7 app. my OS in win 7 x64.

 

Salam.

This is so wrong in so many ways... :kick:

var
  MZ: DWORD;
...
  ReadFile(FileHandle,MZ,2,BytesRead,NIL);
  if MZ<>$5A4D then begin
...

 

  • Author
7 hours ago, kao said:

This is so wrong in so many ways... :kick:


var
  MZ: DWORD;
...
  ReadFile(FileHandle,MZ,2,BytesRead,NIL);
  if MZ<>$5A4D then begin
...

 

Oops, i rewrote a few things before uploading, hadn't slept for a long time :D

 

8 hours ago, icarusdc said:

I always got Error Invalid .exe.

I compiled the source in Delphi 7.

the target is clean x32 Delphi 7 app. my OS in win 7 x64.

 

Salam.

Should be a quick fix looking at kao's reply :P

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.