Monday, October 25, 2010

Simple password


title *** simple password by lluct ***
data segment; defined data segment
input db 100 dup (?)
; Definition of the input string, the string must be defined with db length is 100 bytes
cmpare db''5201314'',''$''
; Defined password
msg1 db''PASSWORD RIGHT !'',''$''
; Defined password is correct the information shown
msg2 db''PASSWORD ERROR !'',''$''
; Define a password error message displayed
headmsg db''ENTER YOUR PASSWORD :'',''$''
; Header
data ends; data segment at the end of

code segment; defined code
assume cs: code; provides the contents of cs
assume ds: data; provides the content of ds

start: mov ax, data; process from start start
mov ds, ax; ds set the initial value, data segment address
mov si, 0; index register can set the initial value 0

call enter; call display subroutine carriage return line feed
lea dx, headmsg; output offset of the first message string
call dispchs; call display string subroutine
repeat: mov ah, 01h
; Definition of repeat label, enter a single character for the cycle. Call 1 function: a character from the keyboard and echo
int 21h; finish echo
cmp al, 0dh; input characters and cr (carriage return) to compare
je finish; if equal to Enter to move to finish
mov input [si], al; to al the home sent to the address input of the si (as if this is right)
inc si; si + 1
jmp repeat; unconditional transfer to repeat
finish: mov input [si], 24h; to input completed by the end of the string plus sign ($)
call enter

mov si, 0; source index register can set the initial value 0
mov di, 0; purpose index register set the initial value 0
mov cx, 8; set a password check digit (also me another sign the end)
check: cmp cx, 0; set the median to 0.
je right; If the password checks completed, the transfer to the right
mov bl, input [si]; the input of si in the address data to the bl
mov dl, cmpare [di]; to cmpare of di address data to the dl
cmp dl, bl; dl and bl more
jne error; if not equal, the transfer to the error
inc si; si + 1
inc di; di + 1
dec cx; cx by 1
jmp check; unconditional transfer to check

right: call enter
lea dx, msg1
call dispchs
call enter
jmp exit

error: call enter
lea dx, msg2
call dispchs
mov dl, 07h; output ascii code of the alarm (bell) control character bel (07h)
call dispch
call enter
jmp exit
exit: mov ah, 4ch; 4c number function call: end the current program and returns
int 21h; return to dos

enter proc near; display carriage return line feed subroutine
mov dl, 0dh; output carriage return control character code ascii cr (odh)
call dispch
mov dl, 0ah; output ascii code for line control character lf (0ah)
call dispch
ret; Back
enter endp; subroutine at the end of

dispch proc near; display a single character subroutine
mov ah, 02h; 2 number function call: display output character
int 21h; the completion of the output display
ret
dispch endp

dispchs proc near; display string subroutine
mov ah, 09h; 9 number function call: Display string
int 21h; the completion of the output display
ret
dispchs endp

code ends; code at the end of
end start; end of the assembly

; The above code into a text program such as Notepad, and save. (Such as passwrod.asm)
; Compile: masm password.asm
; Link: link password.obj
; Executive: password.exe

================================================== ===============

With an asterisk password
title *** a simple password is Advanced by lluct ***


data segment; defined data segment
headmsg db'''', 0dh, 0ah
db''+---------------------------------------------- +'', 0dh, 0ah
db''| Simple input password system for asm program |'', 0dh, 0ah
db''| have a fun .^-^. |'', 0dh, 0ah
db''| Poor Programmer: lluct Date: march, 21 2004 |'', 0dh, 0ah
db''+---------------------------------------------- +'', 0dh, 0ah
db 0dh, 0ah,''PLEASE INPUT PASSWORD :'',''$''
; Defined group header
msg1 db''PASSWORD RIGHT !'',''$''
; Defined password information displayed is correct
msg2 db''PASSWORD ERROR !'',''$''
; Define a password error message displayed
cmpare db''5201314'',''$''
; Defined password
input db 100 dup (?)
; Definition of the input string, the string must be defined with db length is 100 bytes
data ends; data segment at the end of

code segment; defined code
assume cs: code; provides the contents of cs
assume ds: data; provides the content of ds

start_program:; program from here
mov ax, data; the data segment address assigned to ax
mov ds, ax; ds set the initial value, data segment address
mov si, 0; index register initial value is 0

call enter; call display subroutine carriage return line feed
lea dx, headmsg; output offset of the first information group
call dispchs; call display string subroutine

repeat_input:; cycle enter a single character
mov ah, 08h; call the 8 functions: keyboard input characters (no echo)
int 21h; finish
mov dl, 2ah; output ascii code * No.
push ax; protection of the original input character
call dispch; call a single character echo subroutine
pop ax; to restore the original input character
cmp al, 0dh; whether the carriage return
je finished_input; is to move to finished_input
mov input [si], al; save a single character
inc si; visit a relative address of the next
jmp repeat_input; unconditional transfer to repeat_input

finished_input:; complete output
mov input [si], 24h; to just enter the end of the string plus sign ($)
call enter

mov si, 0; si buy 0
mov di, 0; di buy 0
mov cx, 8; set the password length detection, to include the end marker
check_password:; detection code
cmp cx, 0; cx to whether 0
je right; is to shift to right
mov bl, input [si]; the input of the address si inside information to a bl
mov dl, cmpare [di]; to cmpare of di address the information to a dl
cmp dl, bl; check whether dl and bl as
jne error; is not transferred to the error on
inc si; si + 1
inc di; di + 1
dec cx; cx by 1
jmp check_password

right:
call enter
lea dx, msg1
call dispchs
call enter
jmp exit

error:
call enter
lea dx, msg2
call dispchs
mov dl, 07h; output ascii code of the alarm (bell) control character bel (07h)
call dispch
call enter
jmp exit

exit: mov ah, 4ch; 4c number function call: end the current program and returns
int 21h; return to dos

enter proc near; display carriage return line feed subroutines
mov dl, 0dh; output ascii carriage return control character code cr
call dispch
mov dl, 0ah; output ascii code for line control character lf
call dispch
ret; Back
enter endp

dispch proc near; display a single character subroutine
mov ah, 02h; 2 number function call: display output character
int 21h; the completion of the output display
ret
dispch endp

dispchs proc near; display string subroutine
mov ah, 09h; 9 number function call: Display string
int 21h
ret
dispchs endp

code ends; code at the end of
end start_program; end of the assembly


; The above code into a text program such as Notepad, and save. (Such as passwd2.asm)
; Compile: masm passwd2.asm
; Link: link passwd2.obj
; Executive: passwd2.exe








Recommended links:



Rising Drug war Kaspersky million reward



SINA Sohu blog moving again PK



Infomation File And DISK Management



Articles about Help Tools



illustrator in the super-powerful hybrid tool (blend-3)



what are THE best pink laptops



Advanced Traceability - to meet the argument



I pirated your personal fight Daolian Thunder Sohu



WMV to QT



My favorite ANTI-VIRUS Tools



IPSEC and SSL VPN are two



"Actual recruitment" Are you afraid of when the "free labor"?



Guide E-Mail Tools



3ds max cattle production throughout Korean beauty Song Hye Kyo



TOD to WMV



MTS to AVI



Thursday, October 14, 2010

"Dragon Century: The Origin of" Game of the background Qunari people



A giant landing

"History will darkspawn described as homely Thedas only the most serious threat, but the majority live outside the country in the dwarf who says that is more like a distant threat, the invasion can not be compared with qunari people. After all, since the hero Garahel Battle of the Ayesleigh after defeating Archdemon has four centuries there have been no Blight 銆?銆?the. But 100 years later, the steel era 6:30, when the far north coast of Par Vollen first qunari Fleet reported the arrival of a war in this new century began.

It is said that these giants of the golden skin is a continent from the east came through Boeric oceans, for most people, qunari are mysterious. Some people think that they are hateful invaders, they fight and destroy the deadly technical ability, almost the collapse of the civilized world. For others, they are pagan, worship a kind of commitment to use force to spread itself to the "minority" race of strange beliefs. Land in the south Ferelden people think they are a legend, is extremely rare after the beginning of peace from the far north of the strange biological.

In qunari have begun to attack Rivain and Seheron, and invasion of the mainland, Thedas other places have not even received their messages appear in the Par Vollen. Qunari people in front of the discipline and technology, these defenders overwhelmed. Our ancestors never seen such a battle, when the sound of artillery, the other party immediately routed. Soldiers dressed in shiny Gangjia the qunari defenders in overcoming all obstacles in any ride. History will call it the first time qunari war, but more like a one-sided massacre, the next less than a decade, qunari Tevinter continue to go deep into the hinterland.

Is on the Thedas It was a dark age, of all nationalities in the common enemies of mankind once again was forced to bring together ... ... This enemy is like darkspawn as its purpose is not to destroy, but eager to conquer a land and its enlighten enlightenment. qunari who proved to be one of the most terrible opponent: "religious fanatics."

2 golden master

"About qunari people how to manage their land occupied by the story of diverse and difficult to trace, in their language using 'kabethari' title to these lands, meaning should be 'those who need educated'.

Some say qunari evil to intimidate the civilian population of people. They separated children and their families, and the adults into the 'academic camp' to learn their religious philosophy. Refused to obey were forced into indentured servitude, or sent to mine site work with ... ... they often die of extreme fatigue and hunger. Dare to resist the cold immediately be put to death. However, many subject to the new owners claim that if they comply with strict codes of conduct qunari people and the law will be treated well, even given a great trust.

Spread under the tragic record of each story, are referred to a program called 'qun' missionary terms. This may be a philosophical or refer to written text, or both, and some people claim, it even resembles qunari the people of God. Ode to light the different people that it dominated the qunari all aspects of life, not only contains the earthly on, and also covers the spiritual, qunari asked the reason people do not strictly follow its teachings.

Those who have worked with these golden monster who left some record of them in these records is a strong biological, higher than the ordinary one, the terrible calm demeanor, his eyes were shining flame like light. Some even claim that they showed some of his good faith, or cruel lack of a clear, a change of faith Seheran people who do not like him that poor people, it seems that these conquerors of religion would give a person some kind of self-discovery. 'In my life to follow God 銆?銆?days, regardless of his way to point where I would not hesitate to follow,' he wrote, 'but faith in qun, I found a meaning to go my own way. As long as all my compatriots can understand qunari gave us what. '

Is said to completely wipe away the best weapon is not a nation but a book. Fortunately, a four times world beating Blight is not so easy to bow out the aggressor nation. Upstart is about to begin the march. "

3 favorites march

"Named after the march past of the noble, upstart march from the church at 7:25 crisis era was launched, this time north of the close fight Thedas have been carried out for nearly a century. In Minrathous (the only major city not occupied Tevinter) Imperial Church to Seheron his troops and regained the territory of the eastern empire, Val Royeaux providential Templar who ordered her to lead the South's military thrust into Rivain. It was the fourth Blight from the largest military mobilization after.

In fact, the church's most powerful military force against qunari from Dr. Ring. It seems from the qunari technology, they show resistance to any magic things with extreme hate being pregnant. They also have the Master, but only the animals than be locked in a little better ... ... when compared with the ring of the Master, Master of the capability is immune to any qunari hope its neck. In the artillery in front of the church to lightning and fireball fired back, and setback its potential.

qunari bring the troops were confined to the northern zone, their number is difficult to compete with humans. Year after year, gradually eroding the church's front qunari. In the process, how to deal with local people who have faith in the human population change is particularly difficult, especially a lot of people have qun flourished under the doctrine of several generations, many of the armed forces deal with this problem is simple to extinction. Church officials then rejected this practice, asking to withdraw convert the north Rivain and Par Vollen, out now Nocen Fields and Marnus Pell's Luanfen is another matter. Yes, many, many people in the Marnus Pell massacre, said that the Veil 銆?銆?there has been a permanent tear, until today the ruins are still full of the bodies shall rest in peace.

No matter the case, to the storm era 7:84 qunari and utterly defeated. Those who were free territories, Rivain is the only one still believe in religion, human land qunari its rulers try to exchange with the outside world peace. So most of the territory of the envoys of mankind together, was signed Llomerryn agreement, in addition to Tevinter empire, all human territories have peaceful relations with qunari concluded. Again, according to the Creator of the willing, both the human victory over the aggressor should be palm as Thedas master status.

But today, this peace remains fragile. "銆?銆?heaven-sent by (Divine): Heaven is a church organization who live in Val Rayeaux huge, magnificent cathedral of the leader. Church of Heaven who are women. The Tevinter Empire has its own heaven-sent by All of them are men, and has its own church - the Imperial Church.

銆?銆?Blight (dry tide): Church admonished the world, it is human arrogance to Darkspawn into our world. Shamans who coveted the power of heaven, but was eventually exiled, to be its own corruption distorted, eventually to form the monster return to this world - the first Darkspawn this shape. they are like a plague-like dwarves kingdom was invaded and occupied the caves and underground channels. When they found the residence of one of the ancient gods, the sleeping dragon, the ancient underground after the wake. Giant Long recovery and the embodiment of devil, leading Darkspawn such as locust terms of its extensive built on the general trend toward the surface, along the extinction of all creatures: namely dry tide. since the last dry tidal campaign has four centuries, but now, Darkspawn gather again from the force.

銆?銆?Creator (Maker): Church worship the Creator. Has hinted that he is a male, the establishment of the Church of the Female Prophets Andraste be considered to be his wife.

Church believe that God is omnipotent and created everything, and he often tired of these creatures. Church believe this is his creation of the defect caused. Until once again proved himself worthy of his human concern, he will not respond to any prayer, any prayer meeting or other such things.

It is said that a long time ago, God created the Fade 銆?銆? this is the first in the world he created. His first child was in the Spirit Fade 銆?銆? God believe that they act the way he created his own ideas. But God created the first children of this aversion, because they can arbitrarily change their world, they lack the soul, only know how to copy people without their own creativity and imagination. Not satisfied because he abandoned Fade, turn created Thedas.

To create the second new creatures in the world can not change its face blossoms. He Veil to the world isolation with the first, he did not realize that his first child to observe these new creatures, and they produced a strong jealous imagination.

New World of Children has built a heaven-sent Emmanuel, which so pleased the Creator. Their world is richer than the spirits, so these organisms can imagine and dream of new things.

The first offense for instance. Evil spirit in the Veil on the other side of the human whisper, they began to worship the old gods driven 銆?銆? Creator of mankind was the main abandoned, and left the Golden City 銆?銆? After a long, Andraste to try to persuade God to forgive him for these children, but Andraste by her husband, who circles Maferath betrayal, and finally burned to death. This is caused by the Creator of mankind once again abandoned the second offense.

Now God left the world. The Church teaches that, when the light of the carols sung in every corner of the world, God will eventually return, and the world into a paradise.

But until that day arrived, he would take care of those who follow Andraste teach believers. When they die, God will bring them to their side. Others will be forever wandering in Fade into, no longer be able to enter God's sight. This state is called the Church to "Oblivion".

銆?銆?Veil: A mortal world will be separated from the supernatural with the Fade boundaries. Whether spiritual or mortal, their bodies are difficult to cross the Road barriers, but the sense of mortal can easily travel in a dream.

Appeared when a large number of dead or powerful magic, where the Veil will be weakened, there is currently no known way to be repaired.

Veil is not an object; it can not be touched or seen. It is used to describe the mortal scholars in the interaction between two different realities as a metaphor.

銆?銆?Fade: Fade is Thedas been separated by a supernatural Veil area. Fade is the spirit of the place of residence, in order to make them comparable to their consciousness in the mortal dream to see the landscape, the spirit of the changing constantly Fade face. In accordance with the Church saying, Fade is the Creator created the first world, where living spirit is his first creation.

In addition to the dwarves, each species will travel in a dream Fade, but at this point the Master will display their magic trapped. Most people do not remember their time in the Fade in, however, be forced to their memories of the Master. Fade in the elimination of a human body they dream is a shock, but not fatal. The man just will wake up. Mortal entity has entered into Fade only once, which led to the first Blight. Master of the ring who are often lyium 銆?銆?help or their Harrowing 銆?0銆?The visit Fade.

Fade in an eternal existence, the black city. If you looked up, you can see the black city, but no one can know how to get there, it is forever floating in the distance.

Church believes that when a person dies, his soul would by Fade into the next reincarnation. Abandon the Creator destined to become forever lost in wandering souls in the Fade.

銆?銆?spirit (spirits): according to the church to say, Fade in the Spirit is the Creator of the first group of children. Because of their lack of soul, God abandoned them - because they can be arbitrarily changed according to their preferences Fade shape, but they lack imagination and creativity, and this is the imitation of the Creator. God created a new area and use Veil to the isolated and Fade, but this piece in the field can not be changed by the new kids. Since these new children have providential Emmanuel, God is satisfied. It is believed that when God created from his new child, Fade in the Spirit began a curious eye for the human, the more vicious spirit that, this vision also mixed with jealousy and desire.

Creator of the first child of the individual who viciously jealous of their hearts. They call mortal, so that they sleep through the Veil of the barrier sense, snooping in their dreams to build the land of their Creator. They covet their inner aura, they can not understand it. They Fade molded into them to see the appearance of human consciousness and reason behind not investigate the case of trying to remove that aura.

A soul can not understand a stationary can not change the world. They can not understand living in a flesh and blood of what it means. Some spirits through the Veil because they desire something that they never got.

"Demon" (Demon) is Fade in a destructive spirit's name. They can take mortal soul in a dream, and ordinary people into hate (Abominations). They can also take animals, dead bodies, and can skillfully use or to give rock and armor to life.

However, not all the same like the evil spirits, and some spiritual good intentions. These spirits cherish mercy, justice and determination of sex. The difference is that with the devil, the spirit of goodwill do not want to get out Fade, and their good intentions does not mean that they will help the mortal world in their own way. But if someone calls them, such as spiritual medicine, they still will try to help.

銆?銆?Old God (Old Gods): Thousands of years ago, the old gods of Thedas by many people, especially the Imperial Master who worship. Master form of dragon worship them. Legend is a God to teach them how to use the old magic.

The Church teaches believers, the old God is true, the city's fall in gold and darkspawn appearance, the Creator of human sin to deceive their imprisonment. Archdemon are believed to be the old gods sleeping darkspawn corrosion.

Now there are temples to worship gods of these old, no one may see. God said to the old Fade in on the people to speak, is that they teach the human magic, and created a dreamer; that those who become a Magister 銆?1銆?people. The temple is considered the first Blight in the demolition, but said that the old gods still exist in some parts of believers.

God said to the old Seven. The first, and that their leader, known as Dumat, Silent Dragon. By scholars said, he was the first to be Archdemon the old gods, and in the first Blight was defeated.

銆?銆?Golden City (Goden City): In accordance with the Church saying, Gold City was built by the Creator, for the reception of dead mortals. This paradise in the world is empire mage destroyed, because they still have a life time came to make it into a black city, the Master will change as the first darspawn.

Now, for the dead is no paradise host them there. Those who worship God will be gathered at his side, others will drift in interest-free to Oblivion. This is not a punishment but an inevitable result of human depravity. Church believes that once the light of the carol singing in the four corners of the world, God will return and rebuild this city and all sectors into the Promised Land.

銆?銆?Lyrium: Lyrium is a rare and dangerous mineral. In the natural state, this mineral can cause human or wizard serious injury to the mental disorder from a variety of injuries, it also make the Master died. Only dwarves know how to deal with this ore, and reduce the risk of making it more available. And ore generation close to give the dwarves a natural resistance to its effects (non-immune). Over time, more than living in the ground dwarf has lost this resistance. Processed ore used for any person, but a long exposure or a test between the improper operation can lead to serious side effects, such strong emotional fluctuations or complete loss of reason.

Dwarves and tranquil 銆?2銆?The processed lyrium enchant on an item. Master of the ring to use it, people in a sober state, from the spiritual dimension into the Fade. Through proper preparation, the Master can also save it magic (mana).

銆?0銆?Harrowing: Harrowing of the Master of the ring held secret religious initiation ceremony, I do not know in advance will be the case, participation by the adult apprentice mage. In order to determine the value of a Master, and his body left in the Master Tower, conscious to the Fade and the temptation to resist the devil. Fade in with the devil in the fight, the Master will not get the extra capacity. But it can be Master of the rings and the church to prove that the mage ability to resist on the evil Master attractive.

If the Master fails this test, they will bear a physical change in their Templar guard was killed. If the Master of the Ring Master will be worried about a Harrowing defeat, he will be tranquility (Tranquil).

銆?1銆?Magister: magister is a few hundred years ago, the magic rule Tevinter empire of the members of the polity. The Church teaches that a group of entities in the form of Magister Zeng Yi Fade and Creator of gold into the city. The results were corrupt city of gold, and led to the formation of darkspawn.

銆?2銆?Tranquil: serene (Tranquil) ceremony (use a brand of magic produced by the lyrium) will sever a link between the Master and Fade - they never dream. A side effect is central to their feelings was completely removed. One above, or a result of the interaction between the devil never take them without fat. Was not warm the hearts of calm. They saved his life, was directly asked if they would be willing to recognize, survive as an aloof and provide help to the existence, than to have another fork in the road on the road much better.

If you find a Master Master of the ring is too weak, unable to take in the face of the threat of evil to survive, then give them peace is actually a charity. A lot of experienced Master of this ceremony, itself had never shown the desire to become a Master, who once became a member of a quiet, they have been relieved to face mortal danger.

A quiet ceremony for the items using lyrium enchant, which provides for the Master of the ring main sources of funding. They do not have the natural resistance of the lyrium, but their concentration is far higher than the average person, when it also in the use of fewer mistakes.







相关链接:



3GP to MOV



Communication must-read of the error of team communication



Hot Printer



Interview with B & Q (China) Vice President, Human Resources Director Miss Hu Weiyan



HP means to maintain the integrity of former coach



CSS Syntax Guide (1) font properties



HTML 5 To Replace Flash?



MPEG TO MOV



Specialist Geography Education



electronic paper technology tomorrow s PAPER



5 bills paid to foreign fixed up ON the boss



Flash To MPEG



My Favorite Helpdesk And Remote PC



After the operator completed three items off our support AVS



Tencent said the PROSECUTION did not rule out the possibility 51.com



My Favorite Telnet Servers



Jsp, servlet talk about Chinese issues



Monday, October 11, 2010

Secretary, Ministry of Industry and consumer ZHANG cordial meeting with President of Central Best In



Recently, the ring thinking (International) Group CEO Fan Min Ying Industry and Ministry of Information Industry and National Consumer Division ZHANG working talks.

Zhang Li Director pointed out that the information in the next three years, the country's "revitalization plan in the textile industry," key support of industry, industry without the support of information can not talk about upgrading. The next three years to support the Ministry of Industry will focus on information technology aspects of the textile enterprises in the construction industry in order to realize the upgrading and adjustment. Huan thinking is a professional textile information building expert, Central Si's upgrade for the entire textile industry has played a positive role in the textile industry is the traditional rose Ye, information awareness compared to other industries Yao Di, but fortunately, the textile industry's entrepreneurs on the information technology knowledge to a certain extent, this is a good starting point. Hope that the ring thinking adhere to the textile industry to upgrade and service the purpose of the economic crisis environment, the companies jointly with the textile industry to overcome the difficulties, to help more textile and garment enterprises to improve management and profits, an early modern type enterprises with core competitiveness.

Fan Min, Director of caring for Zhang expressed thanks and said they did not live up to the national ministries have great expectation on the ring thinking, adhere to service the textile and textile companies in the development of purpose, to help our customers, giving benefits to the community, so that thinking into the textile industry, Central Management Consulting and information technology benchmark.

Best International Group Co., Ltd. is a ring dedicated to textile and apparel industry management software development and management consulting professional group which consists of Shanghai Information Technology Co., Ltd., Central and Wan Civic Si Enterprise Management Consulting (Shanghai) Co., Ltd.. Over the years, Shanghai has been in the ring thinking enterprise information in the field of textile industry hard work, has extensive experience in the textile industry, information technology, deep industry background and strong technical strength. The company has more than 100 professional and technical textile industry, information technology personnel, most of technicians involved in large-scale textile industry management software (ERP) designed and implemented in recent years, has over the Pearl River Delta, Yangtze River Delta, Hong Kong, Macao and Taiwan and other regions more than 40 large and medium sized textile production and trade enterprise management software experience, highly praised by customers. For textile and apparel industry (spinning, weaving, dyeing, finishing, garment, trade, etc.) the professional development management software in today's advanced management ideas and industry characteristics, combined with the product.







Recommended links:



SWF to MP4



MOV to MP4



OGM converter



htc hero android with Style