디시인사이드 갤러리

갤러리 이슈박스, 최근방문 갤러리

갤러리 본문 영역

영어좀 하시는분들 이것번역좀 부탁드립니다.ㅠㅠ

신랄한손놀림갤로그로 이동합니다. 2009.05.03 20:27:08
조회 180 추천 0 댓글 1

Step 6: Pointers: (PW=098712)
In the previous step I explained how to use the Code finder to handle changing locations. But that method alone
makes it difficult to find the address to set the values you want.
That\'s why there are pointers:

At the bottom you\'ll find 2 buttons. One will change the value, and the other changes the value AND the location of
the value.
For this step you don\'t really need to know assembler, but it helps a lot if you do.

First find the address of the value. When you\'ve found it use the function to find out what accesses this address.
Change the value again, and a item will show in the list. Double click that item. (or select and click on more info) and
a new window will open with detailed information on what happened when the instruction ran.
If the assembler instruction doesn\'t have anything between a \'[\' and \']\' then use another item in the list.
If it does it will say what it think will be the value of the pointer you need.
Go back to the main cheat engine window (you can keep this extra info window open if you want, but if you close it,
remember what is between the [ and ] ) and do a 4 byte scan in hexadecimal for the value the extra info told you.
When done scanning it may return 1 or a few hundred addresses. Most of the time the address you need will be the
smallest one. Now click on manually add and select the pointer checkbox.

The window will change and allow you to type in the address of a pointer and a offset.
Fill in as address the address you just found.
If the assembler instruction has a calculation (e.g: [esi+12]) at the end then type the value in that\'s at the end. else
leave it 0. If it was a more complicated instruction look at the calculation.

example of a more complicated instruction:
[EAX*2+EDX+00000310] eax=4C and edx=00801234.
In this case EDX would be the value the pointer has, and EAX*2+00000310 the offset, so the offset you\'d fill in
would be 2*4C+00000310=3A8.  (this is all in hex, use cal.exe from windows in scientific mode to calculate)

Back to the tutorial, click OK and the address will be added, If all went right the address will show P->xxxxxxx, with
xxxxxxx being the address of the value you found. If thats not right, you\'ve done something wrong.
Now, change the value using the pointer you added in 5000 and freeze it. Then click Change pointer, and if all went
right the next button will become visible.


extra:
And you could also use the pointer scanner to find the pointer to this address

-----------------------------------------------------------
Step 7: Code Injection: (PW=013370)
Code injection is a technique where one injects a piece of code into the target process, and then reroute the
execution of code to go through your own written code

In this tutorial you\'ll have a health value and a button that will decrease your health with 1 each time you click it.
Your task is to use code injection to increase the value of your health with 2 every time it is clicked

Start with finding the address and then find what writes to it.
then when you\'ve found the code that decreases it browse to that address in the disassembler, and open the auto
assembler window (ctrl+a)
There click on template and then code injection, and give it the address that decreases health (If it isn\'t already filled
in correctly)
That will generate a basic auto assembler injection framework you can use for your code.

Notice the alloc, that will allocate a block of memory for your code cave, in the past, in the pre windows 2000
systems, people had to find code caves in the memory(regions of memory unused by the game), but that\'s luckily a
thing of the past since windows 2000, and will these days cause errors when trying to be used, due to SP2 of XP
and the NX bit of new CPU\'s

Also notice the line newmem: and originalcode: and the text "Place your code here"
As you guessed it, write your code here that will increase the  health with 2.
a usefull assembler instruction in this case is the "ADD instruction"
here are a few examples:
"ADD [00901234],9" to increase the address at 00901234 with 9
"ADD [ESP+4],9" to increase the address pointed to by ESP+4 with 9
In this case, you\'ll have to use the same thing between the brackets as the original code has that decreases your
health

Notice:
It is recommended to delete the line that decreases your health from the original code section, else you\'ll have to
increase your health with 3 (you increase with 3, the original code decreases with 1, so the end result is increase
with 2), which might become confusing. But it\'s all up to you and your programming.

Notice 2:
In some games the original code can exist out of multiple instructions, and sometimes, not always, it might happen
that a code at another place jumps into your jump instruction end will then cause unknown behavior. If that
happens, you should usually look near that instruction and see the jumps and fix it, or perhaps even choose to use a
different address to do the code injection from. As long as you\'re able to figure out the address to change from inside
your injected code.
---------------------------------------------------------
Step 8: Multilevel pointers: (PW=525927)
This step will explain how to use multi-level pointers.
In step 6 you had a simple level-1 pointer, with the first address found already being the real base address.
This step however is a level-4 pointer. It has a pointer to a pointer to a pointer to a pointer to a pointer to the health.

You basicly do the same as in step 6. Find out what accesses the value, look at the instruction and what probably is
the base pointer value, and what is the offset, and already fill that in or write it down. But in this case the address
you\'ll find will also be a pointer. You just have to find out the pointer to that pointer exactly the same way as you did
with the value. Find out what accesses that address you found, look at the assembler instruction, note the probable
instruction and offset, and use that.
and continue till you can\'t get any further (usually when the base address is a static address, shown up as green)

Click Change Value to let the tutorial access the health.
If you think you\'ve found the pointer path click Change Register. The pointers and value will then change and you\'ll
have 3 seconds to freeze the address to 5000

Extra: This problem can also be solved using a auto assembler , or using the pointer scanner
Extra2: In some situations it is recommended to change ce\'s codefinder settings to Access violations when
encountering instructions like mov eax,[eax] since debugregisters show it AFTER it was changed, making it hard to
find out the the value of the pointer

 

 

Extra3: If you\'re still reading. You might notice that when looking at the assembler instructions that the pointer is
being read and filled out in the same codeblock (same routine, if you know assembler, look up till the start of the
routine). This doesn\'t always happen, but can be really useful in finding a
pointer when debugging is troublesome
--------------------------------------------------------
Step 9: Injection++: (PW=31337157)
In this step we\'ll do basically the same as in step 7(Code Injection) but now a little bit more difficult.
Now you have to edit the code that decreases health with a piece of code that sets the health to 1000 if the current
second is equal to or bigger than 30, and 2000 if it\'s smaller

This can be done using a auto assembler s that does some api calls to some routines to get the current time,
but it may be easier to use a C- injection here

Find the address of health and go to the  engine in Cheat Engine (ctrl+alt+a in memory view, or tools->
engine)

then opposed to the other tutorials I\'ll provide you with a big hint (in case you\'ve never coded in C)
----------------
#include <time.h>

struct tm *timep;
time_t c;
c=time(0);

timep=localtime(&c);

if (timep->tm_sec>=30)
  *(int *)addresstochange=1000;
else
  *(int *)addresstochange=2000;
-------------
Here change addresstochange with the address of health. Don\'t forget to add 0x in front of it. So if the address was
0012345 then fill in 0x0012345

Select inject->Inject into current process and it\'ll open an auto assembler  with a call inside it.
Now, just like in step 7 go to the address that decreases health and do autoassembler->template->code injection.
And fill in as code the call instruction you got. Note that the call will change the value of EAX and some flags may
change as well, so if you want to save them, push them before and pop them after.  And remove the original code,
it\'s not used and only makes things
harder.
Click Execute and then click "Hit me" in the trainer.
If all went right the clicking of the button caused your c- to be executed and changed the value of health
according to the current time.

Bonus:
As said before it can also be done with a normal assembler . CE allows you to fill in functionnames for call
instructions so that should make things easier
And you could also just use a dll injection with an aa . E.G:
injectdll(mydll.dll) //dll written in any languge you like

codecave:
call functionofmydll
jmp exit

추천 비추천

0

고정닉 0

0

댓글 영역

전체 댓글 0
등록순정렬 기준선택
본문 보기

하단 갤러리 리스트 영역

왼쪽 컨텐츠 영역

갤러리 리스트 영역

갤러리 리스트
번호 제목 글쓴이 작성일 조회 추천
설문 오픈 마인드로 이성을 만날 것 같은 스타는? 운영자 24/12/02 - -
AD 해커스공무원 1타 강사진 유료 전강좌 100% 무료! 운영자 24/07/27 - -
공지 ☆★☆★☆★☆★ [[공지]] 행시 갤러리 FAQ ☆★☆★☆★☆★ [40] nightfall갤로그로 이동합니다. 11.01.17 236590 60
공지 행정고시 갤러리 이용 안내 [65] 운영자 07.10.25 50579 19
1441036 11 ㅇㅇ(211.227) 12.02 13 0
1441035 금사빠 진짜 어케 고치는 거냐... 행갤러(218.52) 12.02 25 0
1441034 금사빠 진짜 어케 고치는 거냐... 행갤러(218.52) 12.02 22 0
1441033 19살 고3 공무원합격자도 거르는 공무원 직업 행갤러(59.19) 12.02 35 0
1441032 아는분이 세계테마기행을 추천하시네요 행갤러(211.168) 12.01 41 0
1441031 하루 15시간 "공부하는건" 사실 별거 없다 ㅇㅇ(209.250) 12.01 77 2
1441030 행시 지금 초봉 앞자리 5 넘어감? 행갤러(221.168) 12.01 48 0
1441029 직장은 시발놈들아 평생 다니는게 아니라고 개새끼들아.. [1] 행갤러(59.19) 12.01 52 0
1441028 20대 중후반 나만 사는 거 ㅈㄴ 힘드냐??? 행갤러(218.52) 12.01 47 0
1441027 주식을 꼭 "장기투자만" 해야된다는 고정관념을 버려 ㅇㅇ(108.61) 12.01 38 1
1441026 행시형님들 안녕하세요 9급이 ㅇㅇ(211.234) 11.30 70 0
1441025 빡대가리님 "자료해석" 존나 빨리 푸는법 알려드릴게요 ㅇㅇ(45.55) 11.30 65 0
1441024 안녕하세요 빡대가리입니다 ㅇㅇ(14.50) 11.30 31 0
1441023 아 내가 만약 행정고시 합격했다면 접종했을까? 고졸이라 행정고시 끝까지 [1] 드루퀸50백수로부활갤로그로 이동합니다. 11.30 70 0
1441022 뇌병변 장애인이라도 "회계사가" 행시보다 낫다고 하지마라 ㅇㅇ(159.203) 11.30 72 2
1441021 나라가 망해가는건 "20대"들의 잘못이다 ㅇㅇ(45.55) 11.30 40 0
1441020 일어났다 ㅇㅇ(118.235) 11.30 33 0
1441018 길어봐야 "7~80년" 살다 뒤지는 년놈들이 인생 가르치네 ㅇㅇ(209.250) 11.29 42 0
1441017 짱개나 "동남아" 년들은 함부로 키워주는거 아님 ㅇㅇ(209.38) 11.29 44 0
1441016 내세울건 없고 "돈은" 못버니 나이로 부심 부리는거지 ㅇㅇ(209.250) 11.29 38 0
1441015 알바 구별법 [2] ㅇㅇ갤로그로 이동합니다. 11.29 52 0
1441014 요즘 인스타로 맛집 올리는게 취미임. 은근 잘된다. 행갤러(211.200) 11.28 47 0
1441013 최고의 복수는 "6789급" 공무원보다 10배 벌면 됨 ㅇㅇ(209.38) 11.28 92 1
1441012 20대 789급 공무원들이 "늙은신입" 패죽이고싶다매? ㅇㅇ(159.203) 11.28 86 0
1441011 5급은 1차도 빡센가요? [4] 행갤러(58.29) 11.27 173 0
1441010 Psat 시험 토익없으면 점수안뜸?? 행갤러(118.235) 11.27 59 0
1441009 근데 학벌충논리도 좀 이상함 (124.57) 11.27 61 1
1441008 행정고시 꼴찌로 붙는게 어려움? 가천대 정도급 교수 임용되는게 어려움? [2] 행갤러(112.169) 11.27 143 0
1441007 부산 부전동 1인실 독서실 행갤러(61.39) 11.27 83 0
1441005 랍비가 "주식을" 존나 잘하는 이유 ㅇㅇ(209.250) 11.27 77 1
1441004 니가 20대에 "789급" 공무원하면서 고통스럽게 사는 이유 [1] ㅇㅇ(209.38) 11.27 132 0
1441003 너도 이젠 내일모레면 50이니 벌써 결혼도 했을 테고 아니 그보다 영어도 드루퀸50백수로부활갤로그로 이동합니다. 11.27 80 0
1441002 니가 보는 세상이 힘들고 "어렵다고" 남들도 그렇진 않단다 ㅇㅇ(144.202) 11.26 50 0
1441001 20대 애들은 "전체" 세대한테 미움받을 짓만 골라서하네 ㅇㅇ(209.97) 11.26 60 0
1440998 확실히 요즘 20대 공무원들은 "조현병" 걸린애들이 대다수구나 ㅇㅇ(209.38) 11.25 119 1
1440997 낙선으로 이미 "국민의 표로" 처벌 받은 것이다 ㅇㅇ(198.13) 11.25 54 0
1440994 수천억을 번 부자들이 "돈보다" 중요한걸 찾으라는 조언은 무시해라 ㅇㅇ(144.202) 11.25 65 0
1440993 내가 "천재가" 되고난 후 가장 먼저 든 생각은 ㅇㅇ(159.203) 11.25 95 0
1440992 5억 아파트에 "월수입이" 200이면 생활수준 처참하단다 ㅇㅇ(209.250) 11.24 85 0
1440981 미국 이민가서 살려고 "하루10시간씩" 영어공부하는 애가 ㅇㅇ(209.97) 11.24 76 0
1440980 하루100만원이상 버는 사람도 "압박감" 이겨내면서 사는데 ㅇㅇ(198.13) 11.24 75 0
1440979 외국 여성들이 "한국 남자와" 결혼하고 싶은 이유 ㅇㅇ(144.202) 11.24 86 0
1440978 행시 패스하면 학벌 무력화 시킬수 있음? [1] ㅇㅇ(118.235) 11.24 124 0
1440977 행정고시 패스 후 세종청사에 계신데 이미 고공단 진입을 했거나 진입을 앞 [1] 드루퀸50백수로부활갤로그로 이동합니다. 11.24 160 0
1440976 너는 원래 한달 "100만원짜리" 인간이었다 ㅇㅇ(209.250) 11.24 73 1
1440975 내가 50 가까이 먹으면서 유일하게 대화가 잘 통한다고 느낀 여자는 내 드루퀸50백수로부활갤로그로 이동합니다. 11.24 76 0
1440972 인간의 기본적인 "동기와" 경제적 유인 ㅇㅇ(209.250) 11.23 105 0
1440971 돈이 많아지면 행정고시 이딴것도 이력서에 한 줄용일 뿐..ㅋ [1] 행갤러(59.19) 11.23 122 1
뉴스 [포토] 최다니엘, 멋진 슈트핏 디시트렌드 12.02
갤러리 내부 검색
제목+내용게시물 정렬 옵션

오른쪽 컨텐츠 영역

실시간 베스트

1/8

뉴스

디시미디어

디시이슈

1/2