亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? theory.txt

?? 單片機解密的書籍
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
			      Crack Pic 
			======================
			by Dejan Kaljevic 1998.
			mailto:dejan@net.yu
			web: http://www.net.yu/~dejan
			



In this file you will find out more about the theory on which my CrackPic 
software is based.

                      Theory on which CrackPic is based
                   ***************************************

1. Some of the PIC models allow scrambled data reading when they are protected,
according to the formula:

        s = a NXOR b     1.)   where: a = higher 7 bits from 14-bit word 
                                      b = lower 7 bits from 14-bit word 
   
	NXOR Table:

	x y |z
	------
	0 0 |1
	1 0 |0
	0 1 |0
	1 1 |1

2. Program is stored into EPROM. When this EPROM is erased, he has all of its 
bits set to 1, which means that value of all words stored into it is 3fffh. 
During the EPROM programming it is ONLY possible to change 1 into 0, AND NOT 
the other way around.
Combining 1. and 2. You can conclude that to unscramble the word it is enough 
to erase lower 7 bits (b=0), which makes:


	for equation 1. if b=0
	
	s1 = a NXOR 0 = NOT a

	s1 = NOT a	2.)
	----------


	equation 1. can be written as
	
	s = (NOT a) XOR b   3.)
	-----------------


	Combining equations 2 and 3
	s = s1 XOR b 

	b = (s XOR s1) AND 127  4.)	(AND 127 extracts 7th bit)
	======================	

	a = (NOT s1) AND 127
	====================

	The original word is:
	
	w = a*128 + b  

        ********************************************************
        *  w = ((NOT s1) AND 127)*128 + ((s XOR s1 ) AND 127)  *
        ********************************************************	
	

--------------------------------------------------------------------

	"s" is obtained by simple reading the PIC.
	Obtaining "s1" is a problem.

Some PIC`s (16c71,61,.) allow writing into first 64 words, so it is enough  
to write 3f80h (11 1111 1000 000 bin) into every of these words, 
thus making b=0.

The rest of the memory is protected from the writing, so it is necessary 
to find a way to do it somehow.

I accidentally discovered the way to write the following word into the 
rest of the EPROM: (xx xxxx x x 00 0000 bin), thus making b=(x00 0000)bin
(More about you can find in CrackPic.a32 writen in ASM).
 
I cannot reset the highest bit in b, and from the previous equations it is 
obvious that it influences 14th and 7th bit in the original word. This 
means that for a given "s" we can calculate two pairs of different 
combinations for one instruction code (since bit 7 in b can be either 0 or 1):

                                       possible value
          bit                          for the bit

           7       "s"                 14       7        "w"
      --------------------------------------------------------------
                    0                  0        1       code 1
                                       1        0       code 2
                    1                  1        1       code 1
                                       0        0       code 2

Because of that you will get 2 codes of which one is the correct. You will 
have to manually determine the correct instruction, but they differs a 
lot, and it should be easy to filter out wrong ones. I have made software 
(CrackPic.exe) that generate DEX.LST file which contains pairs of 
instructions, and enables you to easy pick the correct ones.

	
                   Some helpfull notes
                  *********************

If 7th bit of "s" equals 0, and you're cracking the PIC that has up to 3fh 
files (16c71,61,84, etc.), than it is probably code 1 0, because 
instructions with 0 1 code works with files 40h - 7fh, which are not 
supported in these PIC`s. Of course, after reading this text anyone can 
use this kind of instruction which has no other purpose but to fool you.

Anyway, this program is not something special, but if you need inverse  
engineering of the PIC`s, and you`re experienced PIC programmer who
can not pay 1000$ - 5000$ to the professionals, I believe that this FREE 
software will be of some use to you ;)
	

*******************************************************************************


				F.A.Q.
*******************************************************************************

      Q: Does CrackPic physically destroys PIC?
      A: NO! CrackPic resets one part of the program stored in PIC. 
         If you have windowed PIC you can delete its contest with a UV lamp, 
         and use it again!
	
      Q: Is Your algorithm applicable on some other Programmer?
      A: Yes,it is, on any one!

      Q: May I use Your algorithm from CrackPic?
      A: Yes, it's completely free if you mention my name somewhere in your 
	 final product.
	(Source can be found in CrackPic.zip at: 
                         http://www.net.yu/~dejan              )

      Q: Do you know how to crack parallel programmed PIC`s (16c54,55,56,etc.)?
      A: Not yet, but while working on them, I have made one interesting 
	 discovery, which maybe can be used to directly  read protected program!


      Q: Can you tell me more about the algorithm you're using?
      A: Yes. You can find more detailed explanations in this file.
 	
      Q: Do you know how to reset that 7th bit?
      A: No. If know that I would publish it right away.
	 I have some ideas about it,  if someone is willing to try...



==========================================================================
                        Theory of other PIC-s
==========================================================================


         Theory of hacking 12-bit data parallel programed PIC-s:
---------------------------------------------------------------------------
                     16c54,16c55,16c56,16c57,16c58
                     *****************************


PASS 1  Getting S
-----------------
Reading code protected parts data will be scrambled by equation:

                  S = a XOR b XOR c		
                  -----------------

	XOR Table:

	x y |z
	------
	0 0 |0
	1 0 |1
	0 1 |1
	1 1 |0

		   MSB      LSB
	Origin W = aaaa bbbb cccc

S 4 bit 		;scrambled data

a    MSB	4 bit	;a,b,c parts from origin W (12bit)
b	4 bit
c    LSB 	4 bit   


PASS 2	Getting S1
------------------
If we write to PIC "1111 1111 0000" (0ff0h)  c=0 !
Reading code protected part data will be scrambled by equation:

	S1 = a XOR b XOR c=0
	S1 = a XOR b
	------------


PASS 3 Getting S2
-----------------
If we write to PIC "1111 0000 0000" (0f00h)  b=0 c=0 !
Reading code protected part data will be scrambled by equation:

	S2 = a XOR b=0 XOR c=0
	S2 = a
	------

Now	a = S2
	b = S2 XOR S1
	c = S1 XOR S  

Now we can get origin W by equation:

    *************************************************************************
    *  W = (S2 AND 15)*256 + ((S2 XOR S1) AND 15)*16 + ((S1 XOR S) AND 15)       * 
    *************************************************************************

You can read explanation of how to write data to protected PIC at the end of  
this file!


           Theory of hacking 14-bit data serial programed PIC-s:
---------------------------------------------------------------------------
              16c61,16c62,16c64,16c65,16c71,16c73,16c74,16c84
	      ***********************************************


PASS 1  Getting S
-----------------
Reading code protected parts data will be scrambled by equation:

        s = a NXOR b     1.)   where: a = higher 7 bits from 14-bit word 
                                      b = lower 7 bits from 14-bit word 
   
	NXOR Table:

	x y |z
	------
	0 0 |1
	1 0 |0
	0 1 |0
	1 1 |1



PASS 2 Getting S1
-----------------
2. Program is stored into EPROM. When this EPROM is erased, he has all of its 
bits set to 1, which means that value of all words stored into it is 3fffh. 
During the EPROM programming it is ONLY possible to change 1 into 0, AND NOT 
the other way around.
Combining 1. and 2. You can conclude that to unscramble the word it is enough 
to erase lower 7 bits (b=0), which makes:


	for equation 1. if b=0
	
	s1 = a NXOR 0 = NOT a

	s1 = NOT a	2.)
	----------


	equation 1. can be written as
	
	s = (NOT a) XOR b   3.)
	-----------------


	Combining equations 2 and 3
	s = s1 XOR b 

	b = (s XOR s1) AND 127  4.)	(AND 127 extracts 7th bit)
	======================	

	a = (NOT s1) AND 127
	====================

	The original word is:
	
	w = a*128 + b  

	********************************************************
	*  w = ((NOT s1) AND 127)*128 + ((s XOR s1 ) AND 127)  *
	********************************************************	



-------------------------------------------------------------------------------

		Theory of writing data to protected PIC-s
	========================================================
	
In order to set bit in EPROM from 0 to 1 you have to apply appropriate amount of 
energy to the Gate of the FET in memory cell.
There are (to my knowledge) three ways to do it:

1.	Applying short length EM wave, like UV light, X-rays, and similar.
	To use UV light, you'll have to access the core of the chip. You can gain
	this access by corroding it with some highly corrosive acid.

	With this method, memory cell is being slowly and permanently erased!

	
2. 	Increasing PIC power supply, but if you overdo it, you can easily
	destroy the chip. (Use no more than 10 - 20V, with a 50-100mA 
	HIGH SPEED LIMITED CURRENT !!!) 

	This method changes memory cell state ONLY during the time the voltage 
	is increased, and this change takes effect almost instantly (because of 
	the difference between  memory cell structure and the structure of the 
	rest of chip logic). When voltage drops back to the normal level, memory 
	cells states also returns to their previous value.

	IT IS IMPORTANT TO TAKE CARE OF THE SUPPLY DIFFERENCE BETWEEN
	YOUR PROGRAMMER AND PIC!!! YOU HAVE TO CONSTRUCT LEVEL TRANSLATORS,
	SO THAT YOUR PROGRAMMER WILL NOT BE DAMAGED !!!

3.	Increasing the temperature of the chip (no more than 140 degrees of 
	Celsius. At 155 to 200 degrees substrate will change its structure,
	and will be permanently  destroyed!

	Remarks for this method are the same as for the previous one 
	(increasing PIC power supply),
	but this method has lesser effect on the memory cell.


	In my opinion this is the best way: 
	-----------------------------------

	First we read protected PIC, and acquire "S" with standard reading.

              To acquire "S1" ("S2"):
	----------------------------------

	First you should try with the voltage change. In most cases it is quite 
	enough to set protected bit in PIC.

	But be aware that during the programming, applying 10 -15 V
	power supply generates too big current that can destroy the chip, so
	you`ll have to supply the chip with limited 50 to 100 mA current.

	If this method gives no result, try this way:

	  Temperature should be constant and about 110 Celsius.
	  Vdd = 6-9 V (limit 100mA)
	  
        Adjust UV light power so that it takes about 10 minutes to erase PIC.
        (You can regulate this by simply changing the distance between UV light
        source and chip)
	
		(Temperature remains 110 degrees of Celsius)
	
	1 Expose between 20 - 30 sec
	2 Interrupt exposure, and with programmer Vdd=6-9 V T=110 C 
	  check is PIC protection bit set.
	3 Repeat steps 1 and 2 until this bit is set.	
	4 Expose for another 5-10 sec
	5 Stop with the exposure (Now it is possible to program the whole PIC)
 	6 With a programmer at a 110 degrees of Celsius temperature and                   
	  Vdd = 6-9 V program the WHOLE PIC with 3f80h for every word.
	7 Slowly cool down the PIC to -10 C to -20 C 
	8 Read PIC at a temperature of -20 C and voltage of 3-4 V,                     
	  unless you have not gone too far with the erasure of the PIC,                    
	  all data will be intact (as before the erasure), even the protection                     
	  bit will be 0! BUT, lower 7 bits in every word will be 0!,                     
	  and we have acquired "s1"!


  Bigger voltage and temperature difference will result in better  
  compensation of single bits erasure non-linearity on whole PIC.


	  By using this equation we can decode the whole PIC:

	  w = ((NOT s1) AND 127)*128 + ((s XOR s1 ) AND 127)
	  ==================================================

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
	  
	IMPORTANT!

I do not consider myself responsible for any kind of damage induced by using 
or not using information's from this file!!!

*******************************************************************************

	If you are going to use my source (or some parts of it) or some of the 
techniques I've described here for some project of yours, will you please 
mention my name somewhere on it.

	If you use software and techniques I've described on some PIC`s 
other than 16c71, or if you know another way how to reset the 7th bit, 
will you please email your experiences to me. Also email me any other PIC 
inverse engineering technique that you may know.

		mailto:dejan@net.yu

	If you want me to publish your results on my site, I will guarantee 
that you'll stay anonymous if you wish so. Also, I will NOT publish anything 
you sent me, if you don't allow me that! 
	 
-------------------------------------------------------------------------------
			Dejan Kaljevic  1998.
			






start_crack_pic:

	_printm	8,0,1eh,'Pass 1: Reading...'
;======================================	pass 1
		call start_pic

		mov edi,bafer_1
		mov ecx,pic_size

__nex_vc:	mov bl,4
		call send_cmd
		call read_data

		shr bx,1
		and bh,not 0c0h
		mov [edi],bx
		add edi,2
		mov bl,6

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩嫩av羞羞动漫久久久 | 在线欧美小视频| 欧美色网一区二区| 国产日产欧美一区二区三区| 一区二区三区四区精品在线视频| 麻豆视频观看网址久久| av不卡一区二区三区| 3d动漫精品啪啪1区2区免费| 国产精品乱人伦中文| 蜜臀91精品一区二区三区| 色94色欧美sute亚洲13| 欧美激情一区二区三区| 免费一级片91| 欧美日韩视频不卡| 亚洲精品视频在线观看网站| 国产精品一区二区免费不卡| 日韩情涩欧美日韩视频| 香蕉加勒比综合久久| 99精品久久只有精品| 国产午夜亚洲精品不卡| 精品一区二区免费看| 在线看日本不卡| 亚洲欧美激情视频在线观看一区二区三区 | 精品国产一二三区| 亚洲成a人在线观看| 色妞www精品视频| 欧美国产在线观看| 国产91对白在线观看九色| 欧美tk—视频vk| 奇米影视一区二区三区小说| 欧美片网站yy| 日日嗨av一区二区三区四区| 在线免费观看成人短视频| 一区二区免费看| 在线欧美小视频| 亚洲一区二区成人在线观看| 在线观看91视频| 亚洲va在线va天堂| 欧美老人xxxx18| 免费一级欧美片在线观看| 欧美一区二区视频免费观看| 日韩va亚洲va欧美va久久| 欧美一区二区二区| 狠狠色狠狠色合久久伊人| 欧美大片拔萝卜| 国内不卡的二区三区中文字幕 | 成人av网址在线观看| 国产精品免费视频观看| 99视频精品免费视频| 亚洲欧美一区二区久久| 欧美三级欧美一级| 日韩高清电影一区| 精品蜜桃在线看| 国产一区二区在线影院| 国产精品美女久久久久久久| 99re亚洲国产精品| 亚洲图片自拍偷拍| 欧美一区二区三区在线| 国产精品99久久久久久有的能看 | 日韩成人午夜电影| 欧美电影免费观看完整版| 国产精品亚洲第一区在线暖暖韩国| 国产欧美日韩另类一区| 91免费视频观看| 日韩高清不卡在线| 国产日韩精品视频一区| 91福利精品第一导航| 日本美女一区二区| 国产精品国产自产拍高清av | 国产成人在线看| 国产精品国产三级国产aⅴ中文| 欧美在线免费观看视频| 蜜桃视频一区二区三区在线观看| 中文字幕 久热精品 视频在线| 91美女在线观看| 免费欧美高清视频| 中文字幕一区二区不卡| 日韩一区二区在线看| 成人福利在线看| 日韩精品1区2区3区| 国产精品久久国产精麻豆99网站| 7777精品久久久大香线蕉| 国产成人免费视频网站高清观看视频| 一区二区三区国产精品| 26uuu精品一区二区| 欧美写真视频网站| 懂色av一区二区三区免费看| 青青草97国产精品免费观看| 国产精品视频线看| 欧美电影免费观看高清完整版 | 国产精品久久午夜夜伦鲁鲁| 欧美久久久久久久久中文字幕| 成人免费高清在线观看| 另类小说一区二区三区| 亚洲国产成人av网| 亚洲欧洲av另类| 亚洲美女屁股眼交| 欧美国产激情二区三区| 精品精品欲导航| 91精品综合久久久久久| 欧美一a一片一级一片| 春色校园综合激情亚洲| 国产一区二区导航在线播放| 日韩成人免费电影| 亚洲高清免费观看| 亚洲在线成人精品| 尤物视频一区二区| 国产精品福利一区二区三区| 国产亚洲精品福利| 久久先锋资源网| 精品国产三级电影在线观看| 欧美一区二区精品在线| 欧美精品在线观看播放| 欧美日韩美少妇 | 成人一级视频在线观看| 国产在线不卡一区| 国产毛片一区二区| 精品中文字幕一区二区| 奇米影视一区二区三区小说| 日本中文一区二区三区| 日本午夜一本久久久综合| 日韩电影在线看| 蜜桃视频一区二区| 国产在线精品视频| 国产成人h网站| 成人精品高清在线| 色一情一乱一乱一91av| 在线亚洲高清视频| 欧美日韩国产乱码电影| 欧美一区二区三区思思人| 欧美va在线播放| 久久日韩精品一区二区五区| 日本一区二区综合亚洲| 中文字幕一区二区三区精华液| 一区二区三区四区国产精品| 亚洲一区二区三区在线看| 国产**成人网毛片九色| 成人免费毛片片v| 99vv1com这只有精品| 欧美日韩激情在线| 亚洲精品在线观看网站| 中文字幕av资源一区| 亚洲在线观看免费视频| 蜜臀av一区二区| 粉嫩av一区二区三区| 欧美视频一区在线| 欧美哺乳videos| 亚洲色图丝袜美腿| 日本欧美一区二区| 成人国产在线观看| 欧美亚洲丝袜传媒另类| 欧美变态口味重另类| 1000精品久久久久久久久| 午夜精品福利一区二区蜜股av| 久久er99精品| 91黄视频在线| 久久综合国产精品| 亚洲男同性视频| 国内精品久久久久影院色| 色婷婷亚洲综合| 欧美精品一区二区久久久| 亚洲精品一卡二卡| 国产精品自拍av| 欧美色图第一页| 国产人妖乱国产精品人妖| 亚洲一区二区三区四区在线| 国产精品自在欧美一区| 欧美日韩成人高清| 亚洲欧洲精品一区二区三区| 日本成人在线看| 91女神在线视频| 久久久久国产精品人| 午夜激情久久久| 成人不卡免费av| 精品欧美久久久| 亚洲va在线va天堂| 一本高清dvd不卡在线观看| 久久综合久久99| 免费看欧美女人艹b| 欧美在线观看视频一区二区三区| 亚洲精品一区二区在线观看| 亚洲va国产天堂va久久en| www.在线欧美| 国产日韩欧美激情| 日本欧美韩国一区三区| 欧美日韩视频在线第一区| 亚洲精品成人在线| 99国产精品久久久| 中文在线一区二区| 成人免费av网站| 国产清纯白嫩初高生在线观看91| 麻豆一区二区99久久久久| 欧美一区二区三区色| 亚洲国产成人av好男人在线观看| 91浏览器在线视频| 亚洲乱码国产乱码精品精小说| 懂色av中文字幕一区二区三区| 久久免费精品国产久精品久久久久| 乱一区二区av| 精品国产乱码久久久久久浪潮|