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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品一区二区三区福利| av网站免费线看精品| 国产成人自拍网| 99在线精品一区二区三区| 91国产成人在线| 欧美一区日韩一区| 亚洲国产成人一区二区三区| 亚洲精选视频在线| 免费高清在线一区| 99久久久国产精品免费蜜臀| 欧美日韩久久一区二区| 久久综合资源网| 一区二区三区av电影| 美国精品在线观看| 播五月开心婷婷综合| 91精品国产高清一区二区三区蜜臀 | 欧美xfplay| 日韩毛片一二三区| 久久精品72免费观看| 色偷偷成人一区二区三区91 | 久久国产乱子精品免费女| 成人午夜av电影| 91精品国产欧美一区二区18| 亚洲色图制服诱惑| 精品综合久久久久久8888| 欧美在线观看一区二区| 中文字幕欧美国产| 日本美女一区二区三区视频| 97久久人人超碰| 久久亚洲精品小早川怜子| 性做久久久久久免费观看欧美| 国产91露脸合集magnet| 日韩欧美一级在线播放| 亚洲综合色网站| 成人免费精品视频| 日韩欧美国产午夜精品| 一级女性全黄久久生活片免费| 国产毛片精品视频| 欧美一区二区三区思思人| 一区二区三区国产精华| 成人精品电影在线观看| wwwwxxxxx欧美| 日韩1区2区日韩1区2区| 欧美色综合网站| 亚洲免费看黄网站| 99re这里只有精品首页| 国产午夜亚洲精品午夜鲁丝片 | 日韩一卡二卡三卡四卡| 亚洲精品久久久久久国产精华液| 国产精品资源站在线| 欧美成人乱码一区二区三区| 日韩精品91亚洲二区在线观看| 一本到高清视频免费精品| 国产精品天美传媒沈樵| 国产精品一区不卡| 精品1区2区在线观看| 男女男精品视频| 欧美电影在哪看比较好| 五月婷婷综合激情| 欧美无人高清视频在线观看| 亚洲免费观看在线视频| 91亚洲国产成人精品一区二三| 国产精品美女一区二区三区| 国产不卡视频在线播放| 久久久久九九视频| 国产成人免费视频一区| 国产香蕉久久精品综合网| 国产美女精品一区二区三区| 久久久久久久电影| 国产成人免费在线视频| 亚洲国产精品ⅴa在线观看| 成人免费高清在线| 国产精品初高中害羞小美女文| 成人动漫一区二区三区| 国产精品成人免费| 91欧美一区二区| 一区二区三区精品在线| 欧美剧情片在线观看| 美女视频黄a大片欧美| 精品久久久久久综合日本欧美| 精品夜夜嗨av一区二区三区| 久久伊人蜜桃av一区二区| 国产传媒欧美日韩成人| 国产精品国产三级国产普通话三级 | 欧美精品 国产精品| 青青草原综合久久大伊人精品优势| 欧美一区在线视频| 国产精品自在欧美一区| 国产精品视频一二三| 91美女在线观看| 亚洲香蕉伊在人在线观| 欧美一区二区成人6969| 国产麻豆日韩欧美久久| 亚洲色图一区二区| 欧美日韩国产在线观看| 久久99久久久久| 国产人成亚洲第一网站在线播放| 99久久免费精品高清特色大片| 亚洲伊人伊色伊影伊综合网| 欧美一二三区精品| 粉嫩aⅴ一区二区三区四区| 亚洲另类春色国产| 日韩欧美一卡二卡| 丁香婷婷综合激情五月色| 亚洲免费观看高清| 欧美一级二级在线观看| 成人自拍视频在线观看| 亚洲国产三级在线| 久久久久久久久久久黄色 | 亚洲高清免费视频| 精品久久久久久综合日本欧美| 99麻豆久久久国产精品免费优播| 午夜在线电影亚洲一区| 国产色爱av资源综合区| 91福利在线看| 国产一区二区福利视频| 亚洲精品国产一区二区三区四区在线| 欧美福利一区二区| 国产精品一区免费在线观看| 一区二区在线观看免费| 精品久久久久99| 97国产一区二区| 久久精品久久久精品美女| 国产精品超碰97尤物18| 日韩欧美一级精品久久| 一本大道av一区二区在线播放| 日本中文在线一区| 亚洲欧美日韩综合aⅴ视频| 日韩你懂的在线播放| 色婷婷综合久久久中文一区二区 | 精品日韩一区二区三区免费视频| av网站一区二区三区| 久久成人久久鬼色| 亚洲最新在线观看| 日本一区二区免费在线观看视频| 欧美日韩不卡视频| 97久久精品人人做人人爽| 激情五月婷婷综合| 午夜久久久久久电影| 国产精品白丝在线| 久久这里只有精品首页| 欧美丰满美乳xxx高潮www| 99久久免费国产| 国产精品一区二区三区99| 日本亚洲三级在线| 亚洲综合色成人| 国产精品国产三级国产aⅴ入口 | 丁香啪啪综合成人亚洲小说| 日韩成人精品在线| 亚洲一线二线三线视频| 亚洲欧洲av在线| 国产日产精品1区| 欧美不卡一区二区三区四区| 欧美日韩免费电影| 欧美亚洲动漫制服丝袜| 99久久久精品| 成人免费毛片高清视频| 国产乱码字幕精品高清av | 精品久久久三级丝袜| 欧美丰满嫩嫩电影| 欧美日韩成人综合天天影院| 一本到不卡精品视频在线观看| 丁香婷婷综合五月| 国产成人av福利| 国产精品中文字幕欧美| 国产中文字幕精品| 极品尤物av久久免费看| 青青草91视频| 日本中文字幕一区二区视频| 天天亚洲美女在线视频| 午夜伦理一区二区| 五月婷婷激情综合| 亚洲一区二区三区视频在线| 亚洲精品国产一区二区精华液| 亚洲三级免费观看| 日韩毛片精品高清免费| 亚洲精品视频在线看| 一区二区三区中文免费| 一区二区成人在线视频| 亚洲午夜日本在线观看| 亚洲成人在线免费| 亚洲午夜影视影院在线观看| 亚洲女人的天堂| 欧美国产丝袜视频| 91精彩视频在线| 欧美性大战久久久久久久蜜臀 | 国产日韩欧美a| 久久久久久久久蜜桃| 国产欧美久久久精品影院| 制服丝袜av成人在线看| 久久er精品视频| 亚洲影视资源网| 国产女主播一区| 欧美一级日韩免费不卡| 99re这里只有精品6| 国产成人免费在线视频| 免费成人在线观看| 亚洲第一激情av| 亚洲男同性恋视频| 国产欧美一区二区在线观看|