![]() |
|
|
#31 (permalink) | |
|
Regular
|
Quote:
|
|
|
|
|
|
#32 (permalink) |
|
Eat my wikidust
Staff Member
|
3c 3f 70 68 70 0a 64 65 66 69 6e 65 28 27 48 45 58 5f 53 45 50 41 52 41 54 4f 52 27 2c 20 27 20 27 29 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 68 65 78 5f 65 6e 63 6f 64 65 28 24 74 65 78 74 29 0a 7b 0a 20 20 24 74 65 78 74 20 3d 20 73 74 72 5f 73 70 6c 69 74 28 24 74 65 78 74 2c 20 31 29 3b 0a 20 20 24 6f 75 74 20 3d 20 27 27 3b 0a 20 20 66 6f 72 65 61 63 68 20 28 20 24 74 65 78 74 20 61 73 20 24 62 79 74 65 20 29 0a 20 20 7b 0a 20 20 20 20 24 63 68 61 72 20 3d 20 64 65 63 68 65 78 28 6f 72 64 28 24 62 79 74 65 29 29 3b 0a 20 20 20 20 69 66 20 28 20 73 74 72 6c 65 6e 28 24 63 68 61 72 29 20 3c 20 32 20 29 0a 20 20 20 20 20 20 24 63 68 61 72 20 3d 20 22 30 24 63 68 61 72 22 3b 0a 20 20 20 20 24 6f 75 74 20 2e 3d 20 24 63 68 61 72 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 69 6d 70 6c 6f 64 65 28 48 45 58 5f 53 45 50 41 52 41 54 4f 52 2c 20 73 74 72 5f 73 70 6c 69 74 28 24 6f 75 74 2c 20 32 29 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 68 65 78 5f 64 65 63 6f 64 65 28 24 74 65 78 74 29 0a 7b 0a 20 20 24 74 65 78 74 20 3d 20 70 72 65 67 5f 72 65 70 6c 61 63 65 28 27 2f 5b 5e 61 2d 66 30 2d 39 5d 2f 69 27 2c 20 27 27 2c 20 24 74 65 78 74 29 3b 0a 20 20 24 74 65 78 74 20 3d 20 73 74 72 5f 73 70 6c 69 74 28 24 74 65 78 74 2c 20 32 29 3b 0a 20 20 24 6f 75 74 20 3d 20 27 27 3b 0a 20 20 66 6f 72 65 61 63 68 20 28 20 24 74 65 78 74 20 61 73 20 24 62 79 74 65 20 29 0a 20 20 7b 0a 20 20 20 20 24 6f 75 74 20 2e 3d 20 63 68 72 28 69 6e 74 76 61 6c 28 68 65 78 64 65 63 28 24 62 79 74 65 29 29 29 3b 0a 20 20 7d 0a 20 20 72 65 74 75 72 6e 20 24 6f 75 74 3b 0a 7d 0a 0a 24 70 6f 73 74 20 3d 20 3c 3c 3c 45 4f 46 0a 48 6f 70 65 66 75 6c 6c 79 20 74 6f 20 6d 61 6b 65 20 69 74 20 65 61 73 69 65 72 20 66 6f 72 20 74 68 6f 73 65 20 6f 66 20 79 6f 75 20 77 68 6f 20 5b 69 5d 64 6f 6e 27 74 5b 2f 69 5d 20 67 65 74 20 74 68 69 73 2c 20 74 68 69 73 20 69 73 20 61 20 50 48 50 20 73 63 72 69 70 74 20 49 20 77 72 6f 74 65 20 74 68 61 74 20 77 69 6c 6c 20 61 6c 6c 6f 77 20 65 61 73 79 20 65 6e 63 6f 64 69 6e 67 20 61 6e 64 20 64 65 63 6f 64 69 6e 67 2e 20 55 70 6c 6f 61 64 20 74 6f 20 61 20 77 65 62 73 65 72 76 65 72 20 6f 66 20 79 6f 75 72 20 63 68 6f 69 63 65 2e 0a 0a 59 65 61 68 2c 20 73 6f 72 72 79 2c 20 49 20 68 61 76 65 20 61 20 68 61 62 69 74 20 6f 66 20 70 6f 73 74 69 6e 67 20 74 68 65 20 73 6f 6c 75 74 69 6f 6e 73 20 74 6f 20 74 68 72 65 61 64 73 20 6c 69 6b 65 20 74 68 69 73 20 65 6e 63 6f 64 65 64 20 77 69 74 68 20 74 68 65 20 76 65 72 79 20 63 68 61 6c 6c 65 6e 67 65 20 74 68 65 79 20 70 72 65 73 65 6e 74 2e 20 43 61 6e 20 77 65 20 64 6f 20 42 61 73 65 36 34 20 6e 65 78 74 3f 20 42 61 73 65 36 34 20 69 73 20 66 75 6e 2e 20 41 6e 64 20 61 20 68 65 6c 6c 20 6f 66 20 61 20 6c 6f 74 20 65 61 73 69 65 72 20 74 6f 20 69 6d 70 6c 65 6d 65 6e 74 20 69 6e 20 50 48 50 2e 0a 0a 50 6f 69 6e 74 2c 20 74 68 65 72 65 20 61 72 65 20 61 20 6c 6f 74 20 6f 66 20 6f 6e 6c 69 6e 65 20 63 6f 6e 76 65 72 74 65 72 73 20 69 66 20 79 6f 75 20 64 6f 6e 27 74 20 66 65 65 6c 20 6c 69 6b 65 20 72 6f 6c 6c 69 6e 67 20 79 6f 75 72 20 6f 77 6e 2e 20 4d 79 20 68 61 74 20 6f 66 66 20 74 6f 20 61 6e 79 6f 6e 65 20 77 68 6f 20 77 72 6f 74 65 20 61 20 73 6e 69 70 70 65 74 20 6f 66 20 41 73 73 65 6d 62 6c 65 72 20 61 6e 64 20 75 73 65 64 20 74 68 61 74 20 74 6f 20 64 6f 20 74 68 65 69 72 20 65 6e 63 6f 64 69 6e 67 20 61 6e 64 20 64 65 63 6f 64 69 6e 67 2e 0a 0a 2d 2d 44 61 6e 6e 79 20 3a 6e 69 6e 6a 61 3a 0a 45 4f 46 3b 0a 0a 69 66 20 28 20 69 73 73 65 74 28 24 5f 53 45 52 56 45 52 5b 27 52 45 51 55 45 53 54 5f 55 52 49 27 5d 29 20 29 0a 7b 0a 20 20 2f 2f 20 72 75 6e 6e 69 6e 67 20 76 69 61 20 77 65 62 0a 20 20 0a 20 20 69 66 20 28 20 69 73 73 65 74 28 24 5f 50 4f 53 54 5b 27 65 6e 63 6f 64 65 27 5d 29 20 29 0a 20 20 7b 0a 20 20 20 20 65 63 68 6f 20 68 65 78 5f 65 6e 63 6f 64 65 28 24 5f 50 4f 53 54 5b 27 74 65 78 74 27 5d 29 3b 0a 20 20 7d 0a 20 20 65 6c 73 65 20 69 66 20 28 20 69 73 73 65 74 28 24 5f 50 4f 53 54 5b 27 64 65 63 6f 64 65 27 5d 29 20 29 0a 20 20 7b 0a 20 20 20 20 65 63 68 6f 20 27 3c 70 72 65 3e 27 20 2e 20 68 74 6d 6c 73 70 65 63 69 61 6c 63 68 61 72 73 28 68 65 78 5f 64 65 63 6f 64 65 28 24 5f 50 4f 53 54 5b 27 74 65 78 74 27 5d 29 29 20 2e 20 27 3c 2f 70 72 65 3e 27 3b 0a 20 20 7d 0a 20 20 0a 20 20 65 63 68 6f 20 27 3c 66 6f 72 6d 20 61 63 74 69 6f 6e 3d 22 27 20 2e 20 62 61 73 65 6e 61 6d 65 28 5f 5f 46 49 4c 45 5f 5f 29 20 2e 20 27 22 20 6d 65 74 68 6f 64 3d 22 70 6f 73 74 22 3e 27 3b 0a 20 20 3f 3e 0a 20 20 3c 74 65 78 74 61 72 65 61 20 72 6f 77 73 3d 22 33 30 22 20 63 6f 6c 73 3d 22 38 30 22 20 6e 61 6d 65 3d 22 74 65 78 74 22 3e 3c 2f 74 65 78 74 61 72 65 61 3e 3c 62 72 20 2f 3e 0a 20 20 3c 62 72 20 2f 3e 0a 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 22 73 75 62 6d 69 74 22 20 6e 61 6d 65 3d 22 65 6e 63 6f 64 65 22 20 76 61 6c 75 65 3d 22 45 6e 63 6f 64 65 22 20 2f 3e 0a 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 22 73 75 62 6d 69 74 22 20 6e 61 6d 65 3d 22 64 65 63 6f 64 65 22 20 76 61 6c 75 65 3d 22 44 65 63 6f 64 65 22 20 2f 3e 0a 20 20 3c 3f 70 68 70 0a 20 20 65 63 68 6f 20 27 3c 2f 66 6f 72 6d 3e 27 3b 0a 7d 0a 65 6c 73 65 0a 7b 0a 20 20 2f 2f 20 72 75 6e 6e 69 6e 67 20 76 69 61 20 43 4c 49 20 28 61 6c 6c 6f 77 73 20 6d 65 20 74 6f 20 61 63 74 75 61 6c 6c 79 20 70 6f 73 74 20 6d 79 20 70 6f 73 74 29 0a 20 20 2f 2f 20 65 63 68 6f 20 68 65 78 5f 65 6e 63 6f 64 65 28 24 70 6f 73 74 29 3b 0a 20 20 65 63 68 6f 20 68 65 78 5f 65 6e 63 6f 64 65 28 66 69 6c 65 5f 67 65 74 5f 63 6f 6e 74 65 6e 74 73 28 5f 5f 46 49 4c 45 5f 5f 29 29 20 2e 20 22 5c 6e 22 3b 0a 7d 0a 0a
Edit: Wow, I feel like such a nerd for a post that long. Edit2: Fixed redundancy. |
|
|
|
|
#33 (permalink) |
|
Regular
|
you want to know what it really funny, seeing all of the actual real telephone numbers that are accidentally popping up in here with the skype program, LOL, and I'm not going to post, as I don't know it these are just random numbers and letters people are pushing on their keyboards, or these numbers and letters actually means something......
|
|
|
|
|
#34 (permalink) |
|
Eat my wikidust
Staff Member
|
54 68 65 20 6f 64 64 73 20 61 72 65 20 61 63 74 75 61 6c 6c 79 20 71 75 69 74 65 20 68 69 67 68 2c 20 65 73 70 65 63 69 61 6c 6c 79 20 77 69 74 68 20 43 68 61 72 6c 69 65 27 73 20 70 6f 73 74 20 77 68 69 63 68 20 69 73 20 68 65 78 20 65 6e 63 6f 64 65 64 20 69 6e 20 68 65 78 2c 20 72 65 73 75 6c 74 69 6e 67 20 69 6e 20 68 69 67 68 20 61 6d 6f 75 6e 74 73 20 6f 66 20 30 78 33 31 2d 30 78 33 39 20 6d 65 61 6e 69 6e 67 20 6d 6f 72 65 20 6e 75 6d 62 65 72 73 2e
01000001 01101110 01100100 00100000 01000111 01100001 01101110 01111001 01101101 01100101 01100100 01100101 00101110 00101110 00101110 00100000 01110010 01100101 01101101 01100101 01101101 01100010 01100101 01110010 00100000 01110100 01101000 01100001 01110100 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100000 01110100 01100001 01101011 01100101 01110011 00100000 01110101 01110000 00100000 00110100 01111000 00100000 01100001 01110011 00100000 01101101 01110101 01100011 01101000 00100000 01110011 01110000 01100001 01100011 01100101 00100000 01110111 01101000 01100101 01101110 00100000 01100011 01101111 01101110 01110110 01100101 01110010 01110100 01100101 01100100 00100000 01110100 01101111 00100000 01000001 01010011 01000011 01001001 01001001 00100000 01100011 01101111 01101101 01110000 01100001 01110010 01100101 01100100 00100000 01110100 01101111 00100000 01101000 01100101 01111000 00100000 00111011 00101101 00101001 45 64 69 74 3a 20 49 27 6d 20 64 69 67 67 69 6e 27 20 74 68 65 20 74 6f 70 69 63 20 55 52 4c 3a 20 68 74 74 70 3a 2f 2f 77 77 77 2e 61 64 69 73 63 2e 6f 72 67 2f 66 6f 72 75 6d 2f 35 34 36 38 36 35 32 30 36 38 36 35 37 38 36 31 36 34 36 35 36 33 36 39 36 64 36 31 36 63 32 30 37 34 36 38 37 32 36 35 36 31 36 34 2d 74 31 37 37 31 70 32 2e 68 74 6d 6c --Danny
|
|
|
|
|
#35 (permalink) | |
|
Regular
|
Quote:
|
|
|
|
|
|
#36 (permalink) |
|
Eat my wikidust
Staff Member
|
49 20 70 6f 73 69 74 69 76 65 6c 79 20 6c 6f 76 65 20 69 74 20 77 68 65 6e 20 70 65 6f 70 6c 65 20 61 72 65 20 63 6f 6d 70 6c 65 74 65 6c 79 20 63 6c 75 65 6c 65 73 73 20 77 68 65 6e 20 6f 74 68 65 72 73 20 73 74 61 72 74 20 74 68 65 73 65 20 74 68 72 65 61 64 73 2e
--Danny
|
|
|
|
|
#40 (permalink) |
|
Eat my wikidust
Staff Member
|
Alright, I'll give this one away for babymikey. This is how our code in this thread works:
48656c6c6f20576f726c64 The above string is the hex-encoded version of "Hello World". Hexadecimal is a way of representing binary numbers in a base close to what humans can process within a concise amount of space. Hex is basically a different base - base-16 in this case. That means that to count in hex, you'd go: 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 And so on, and so forth. The advantage of hex is that the number of digits it has is a power of two (2 raised to the power of 4, or 2 × 2 × 2 × 2, = 16). Now, the way computers turn 1s and 0s into text is based on a code called ASCII. It's basically a numerical code that translates binary numbers into characters. There are exactly 256 ASCII characters, 127 of which are considered "printable", or suitable for actual text formatting. Only this range of 127 characters is used for English text, while binary code uses all 256 characters. Think of ASCII as one of those plain substitution number codes you used as a kid, you know, where 1 = A, 2 = B, 3 = C, and so on. In decimal ASCII: 64 = A (roughly, I don't remember exactly) 65 = B ... 97 = a 98 = b Converting that to hexadecimal, we get 64 decimal = 40 hex, and 97 decimal = 61 hex. Also note that hex is always expressed with an even number of digits, so each character will be 2 digits even if the first one is a zero. Of course, converting manually this isn't a fun process, because you would need an ASCII reference chart and would be encoding characters by hand. Because ASCII is a universal standard for computers, nearly every programming language has support for getting numerical codes for a character, and hex converters are trivial to code in just about any language. I chose to write mine in PHP, but you could easily write one in Javascript, C, Java, Python, Ruby, or just about anything else. Hope that makes a little bit of sense now. To finish, here's the original encoded message I posted in this message, character by character: 48 => H 65 => e 6c => l 6c => l 6f => o 20 => (space) 57 => W 6f => o 72 => r 6c => l 64 => d --Danny
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|