Exetools  

Go Back   Exetools > General > Source Code

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-06-2014, 02:11
chessgod101's Avatar
chessgod101 chessgod101 is offline
Co-Administrator
 
Join Date: Jan 2011
Location: United States
Posts: 517
Rept. Given: 2,140
Rept. Rcvd 677 Times in 213 Posts
Thanks Given: 581
Thanks Rcvd at 810 Times in 163 Posts
chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699 chessgod101 Reputation: 500-699
Pointers in Delphi

This is a simple example of how one can use pointers in delphi to read variables as a different data type. In this example, we will take an array of 12 bytes and read it as 3 different integers. By using pointers, you can overcome delphi's strict data type limitations and manipulate and write data more flexibly. This example is from a keygen for Unit Converter Pro 3.1.


I have done my best to document this source code in a way that makes it easy to understand. If you have trouble understanding the code, feel free to ask a question and I will do my best to answer it.

Product Website:
Code:
hxxp://www.unitconverterpro.com/download.html
Attached Files
File Type: rar UnitConverterProKeygen.rar (89.5 KB, 102 views)
__________________
"Real knowledge is to know the extent of one's ignorance." Confucius
Reply With Quote
The Following 9 Users Gave Reputation+1 to chessgod101 For This Useful Post:
besoeso (04-07-2014), giv (04-06-2014), Jay (04-06-2014), ontryit (04-19-2014), quygia128 (04-06-2014), serseri_1453 (04-07-2014), uranus64 (04-06-2014), wilson bibe (04-06-2014), XorRanger (04-07-2014)
  #2  
Old 04-06-2014, 23:54
giv's Avatar
giv giv is offline
VIP
 
Join Date: Jan 2011
Location: Romania
Posts: 1,656
Rept. Given: 802
Rept. Rcvd 1,283 Times in 561 Posts
Thanks Given: 218
Thanks Rcvd at 551 Times in 234 Posts
giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299 giv Reputation: 1100-1299
Yep.
Thank you!
I have looked also in the program verification routine.
The serial have 16 chars.
First 8 characters generates the next 8 trough a loop of XOR/AND/SHIFT of bytes of the inverted first 8 bytes .
The resulted DWORD from the function that "translate" the first 8 chars is the second part of the serial.
Nice protection.
Reply With Quote
The Following User Gave Reputation+1 to giv For This Useful Post:
chessgod101 (04-08-2014)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any pointers on this troublesome algorithm? Cryo General Discussion 11 12-05-2016 07:35
Need some pointers with a .Net target Sailor_EDA General Discussion 10 03-03-2010 12:18
x64 Website Pointers Evilcry x64 OS 3 10-01-2009 22:25
Need some pointers lorn General Discussion 8 11-04-2004 13:20


All times are GMT +8. The time now is 16:08.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX
( 1998 - 2021 )