디시인사이드 갤러리

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

갤러리 본문 영역

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

신랄한손놀림갤로그로 이동합니다. 2009.05.03 20:27:08
조회 169 추천 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/04/22 - -
AD 해커스공무원 1타 강사진 유료 전강좌 100% 무료! 운영자 24/03/25 - -
1807 행정고시 자격요건에 으흐흐흐(119.64) 09.04.08 748 0
1806 2009년 제51회 사법시험 1차 합격자 현황 사시(121.129) 09.04.07 659 0
1804 형님들 이것좀 도와줍쇼.. ..부탁좀 드립니다.. 직업공무원제도.. [3] 유한양햏(112.140) 09.04.05 298 0
1803 뉴비인데요 원론이나 맨큐 이런거안보고 바로 미시경제학 들어가도 될지.. 늅늅입니다(211.230) 09.04.04 246 0
1802 PSAT 말야. [1] (118.217) 09.04.03 359 0
1801 형들 정보체계론과 국제법 사이에서 고민중인데요 [3] dd(211.44) 09.04.03 483 0
1800 순수 문과생인데 행시 경제 공부하려면 수학 어디까지 떼야하는지좀 알려줘 [3] ㅇㅇ(218.151) 09.04.02 846 0
1799 행정고시에 적합한 능력이 뭐죠?? sdf(125.187) 09.04.02 195 0
1798 행시 해외연수요 cjh1065(221.143) 09.04.01 364 0
1797 군대 말이야. 행시 붙고 다녀오면 메리트가 어떤 게 있을까? [3] ㅇㄹㅇ(165.194) 09.04.01 683 0
1796 행정고시 공부 들어가기 전에 어떤 걸 하면 좋을까? [4] ㅇㄹㅇ(165.194) 09.04.01 831 0
1794 일행직이나 재경직 합격자들 말야 보통 근무 스타일이 어때? [4] asdf(222.116) 09.03.31 1366 0
1793 행정법동강 08년 예비순환 듣기 vs 열흘정도 기다린 다음 09년꺼 듣기 [1] 봉느님(210.182) 09.03.31 416 0
1792 설대생들이 하루10시간하면 졸업전까지 행시붙는다고? [1] ㄴㅇㄴ(125.135) 09.03.31 844 0
1791 저저번주 토요일날 입법고시 2차 본사람 있어? f퀼라(203.142) 09.03.30 110 0
1790 서울 행대 진로문제인데 , 고수답변 부탁 [9] 행대학원지망(211.202) 09.03.29 1578 0
1789 횽들 밑에 서연고 라인 아니면 어쩌고 했던 뉴빈데 [7] 예비군0년차(211.176) 09.03.29 614 0
1788 경찰 경정특채나 국정원에 대해서 잘 아는 사람있어? [12] 개념디시(210.221) 09.03.29 1958 0
1787 초중고 행정실장 말이야.. [3] 하아(218.50) 09.03.29 320 0
1784 아이런....교육행시말인데여 [9] 예비고시생(125.129) 09.03.27 1226 1
1783 대학동(신림9동) 고시24 건물 어딨는거야?? [1] 횽들(125.186) 09.03.26 162 0
1782 언어논리 방금전에 처음 풀어봤는데ㅠ [4] 어쩌지(115.161) 09.03.26 646 0
1781 2차 합격하고 3차 떨어지면..... [1] ㅇㅇ(116.121) 09.03.25 821 0
1779 횽들, 진짜 서연고 라인 아니면 행시따위는 아예 넘사벽임? [9] 예비군0년차(211.176) 09.03.25 1541 0
1778 횽들 구체적 규범통제 말인데... [1] 행시뉴비(220.116) 09.03.25 704 0
1777 횽들아!! 교육행정이 일반행정보다 붙기 훨 힘들어 ????????? [4] ddd(218.151) 09.03.25 1028 0
1776 경영정보시스템 사례관리 질문 -_- 패턴퍼펙트갤로그로 이동합니다. 09.03.25 207 0
1775 대학에서 이런거 배우는데 행시에 도움이되나요-_- [4] 123(125.181) 09.03.25 503 0
1774 행시 보통 어떻게 봐? 크뤡크뤡갤로그로 이동합니다. 09.03.24 141 0
1773 아까 도서관에서 디시하고있던 행정고시 갤러발견........ 햏자(119.196) 09.03.23 202 0
1771 교육행정직 괜찮나요?? [1] ㅇㅇ(122.42) 09.03.21 581 0
1770 행시 붙으면 [2] ㅁㄴㅇㄹ(116.126) 09.03.21 455 0
1769 경제 자신있는 사람 도전해봐라 ㅋㅋㅋㅋㅋ [11] (219.248) 09.03.20 1066 0
1766 ㄴㄴㄴ ㅇㅇㅇ(203.243) 09.03.19 81 0
1765 늅늅 고3인데여 [7] 1123(211.104) 09.03.17 323 0
1764 행정고시도 1차 붙고 2차 떨어지면 다시 2차로 도전하는 거에요?? [3] ㅇㅇㅇㅇ(122.42) 09.03.17 886 0
1763 형님들 09새내기가 행시 계획에 대해서 좀 질문드릴게요 ㅜㅜ [10] 09새내기(165.229) 09.03.17 660 0
1761 형들, 광고홍보부같은것좀. [2] 딸마(116.120) 09.03.16 134 0
1760 행시붙으면 무너진 집안 일으킬수 있을까? [3] 12(58.141) 09.03.16 1027 0
1759 사시 vs 행시 [3] 친목갤러갤로그로 이동합니다. 09.03.15 1036 0
1758 여기는 행정직 공부하는 분들만 계신가요... 제임스밀너갤로그로 이동합니다. 09.03.15 76 0
1757 1차 시험 도대체 뭐지? 군필자(123.213) 09.03.14 73 0
1756 아무것도 모르는 꼬꼬마 늅인데요 직렬이라는게 무슨 의미죠? [3] 꼬꼬마색휘(124.5) 09.03.13 290 0
1755 1차 공부는 어떻게하나요? 저는 자료해석이 딸리는데 [1] ㅇㄴㅍㅇ(117.123) 09.03.13 329 0
1754 행시 합격했는데 학벌 딸려서 피해볼까 궁금한 색히들봐라 [7] (61.76) 09.03.13 2267 2
1753 행시 1차가 어렵냐? [3] 리까츄갤로그로 이동합니다. 09.03.13 887 0
1747 행정법좀 알려줘 형들ㅠㅠ [2] 돌돌이(122.35) 09.03.11 271 0
1746 본격적인 행시공부는 3학년까지 다니고 휴학하는게 낫죠? 흐흐(211.54) 09.03.11 145 0
1745 행시봐서 문화부에 입사하고 싶은데요~ [2] 09초짜(211.49) 09.03.11 604 0
1741 형님들 저 올해 대학 들어간 놈인데 행시를 볼려고 해여 [14] 09학번(211.207) 09.03.09 837 0
갤러리 내부 검색
제목+내용게시물 정렬 옵션

오른쪽 컨텐츠 영역

실시간 베스트

1/8

뉴스

디시미디어

디시이슈

1/2