Skip to main content

Posts

Ardan Radio Ardan Radio
Recent posts

c+++ linkage example

type of registers

devilzlinux.blogspot.com When the engineers at Intel designed the original 8086 processor, they had a special purpose in mind for each register. As they designed the instruction set, they created many optimizations and special instructions based on the function they expected each register to perform. Using registers according to Intel's original plan allows the code to take full advantage of these optimizations. Unfortunately, this seems to be a lost art. Few coders are aware of Intel's overall design, and most compilers are too the simplistic or focused on execution speed to use the registers properly. Understanding how the registers and instruction set fit together, however, is an important step on the road to effortless size-coding. Using the registers consistently has other advantages besides size optimization. Like using good variable names, using consistent registers makes code more readable. When they are used properly, the registers have meanings almost as clear as

OverTheWire Natas 9

OverTheWire Natas 9 In mean time waiting for an important result, let me go with  Natas 9 and Natas 10 . The reason I group 2 levels in one post is that Natas 10 is upgraded version of Natas 9 ( there is a more upgraded version that is Natas 16 but i won’t spoil the fun now  ). Less talk, grab password from previous level and login. We greeted with a words search form. There is the source code : < html > < head > < link rel = "stylesheet" type = "text/css" href = "http://www.overthewire.org/wargames/natas/level.css" > </ head > < body > < h1 > natas9 </ h1 > < div id = "content" > < form > Find words containing: < input name = needle > < input type = submit name = submit value = Search > < br > < br > </ form > Output: < pre > <? $key = "" ; if ( array_key_exists ( "needle" , $_REQUEST ) ) {      $key =

md5sum example

5 Practical “md5sum” Command Usage Examples in Linux This tutorial explains Linux “md5sum” command, options and its usage with examples. “md5sum” command is used to compute and check MD5 message digest. This post describes “md5sum” command used in Linux along with usage examples and/or output. Usage: md5sum [OPTION]… [FILE]… The MD5 message-digest algorithm is a widely used cryptographic hash function that produces a 128-bit (16-byte) hash value.Two non identical files will never have the same md5sum value.However, it has since been shown that MD5 is not collision resistant;[3] as such, MD5 is not suitable for applications like SSL certificates or digital signatures that rely on this property. Here’s the listing of example usage of “md5sum” command: 1. To calculate md5sum(md5sum file_path): sanfoundry- > md5sum out.txt fa328c3f84352dc7ff5e32bba2ac833c out.txt Note md5sum command is not usable for the direct

kali linux: signatures were invalid [fixed]

root@kali:~# apt-get update Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB] Err:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease   The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> W: Some index files failed to download. They have been ignored, or old ones used instead. FIX FIRE UP TERMINAL COPY THIS COMMAND AND PRESS ENTER wget -q -O - archive.kali.org/archive-key.asc | apt