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.

Source Code To Make A Loader

Featured Replies

Posted

Hi and happy new year for all !

Just to know if there a source code exemple of a loader ( patch memory doing search & replace bytes) ?

no succeed with google, so may be you can help me

thinks for any help

A little bit of searching leads me to:

http://www.tuts4you.com/blogs/download.php?list.28

For S&R source code in MASM Diablo has a very good example:

http://diablo2oo2.di.funpic.de/downloads/dup.search.and.replace.patchengine.sourcecode.rar

I will also move this to the correct forum, Programming and Coding, since it will probably be more appropriate there...

Ted.

There is also a tut on biw reversing by detten

Delphi Src

Procedure Replace(var lpStartAddr:pByte;

lpReplace:pByte;

nReplaceLen:Integer);

var i:Integer;

begin

i := 0;

while i < nReplaceLen do

begin

lpStartAddr^ := lpReplace^;

inc(lpStartAddr,1);

inc(lpReplace,1);

end;

end;

Function Search(lpStartAddr:pByte;

nStartAddrLen:Integer;

lpSearchData:pByte;

nSearchDataLen:Integer):pByte;

var i,j,nMatchingCount:Integer;

pTmp1,pTmp2:pChar;

begin

i := 0;

nMatchingCount := 0;

ResUlt := nil;

while i < nStartAddrLen do

begin

if nMatchingCount >= nSearchDataLen then

begin

dec(lpStartAddr,1);

ResUlt := lpStartAddr;

Exit;

end;

nMatchingCount := 0;

pTmp1 := pChar(lpStartAddr);

pTmp2 := pChar(lpSearchData);

j := 0;

while pTmp1[j] = pTmp2[j] do

begin

inc(nMatchingCount);

inc(j)

end;

inc(lpStartAddr,1);

inc(i);

end;

end;

Are you sure you can write to foreign process like this? :)

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.