ºÃÓÑ
ÔĶÁȨÏÞ25
ÌýÖÚ
×îºóµÇ¼1970-1-1
|
// ÐÂÈË·¢Ìû, ûÓÐʲô¼¼Êõ, ÈçÓдíÎóÇë¶à°üº, лл
Ç×Æݵĺ¢×Ó¸ÕÉϳõÖÐ, ¹ºÂòÁËһ̨¸´¶Á»ú, ½á¹û·¢ÏÖÕą̂»úÆ÷ʹÓõĸñʽÊÇSMP¸ñʽ, ÎÞ·¨ÓÃÆÕͨ²¥·ÅÆ÷²¥·Å, À´ÕÒÎÒ¿´Äܲ»Äܽâ¾ö.
Îļþ³¤ÕâÑù:
ת»»ÈÕÖ¾, ûÓÐʲô·¢ÏÖ:
½«Ò»¸öSMPÎļþÍÏÈëWinHex¿´¿´, ÓеãÒâ˼, ΪʲôÕâô¶à0xA7? (ÄÇЩÆæ¹ÖµÄ±³¾°É«±êʶÊÇ֮ǰÄæÏòÒ»¸öÓÎÏ·×ÊÔ´µÄʱºò×öµÄ±ê¼ÇÍüÁËɾµô)
Ïëµ½ÁËÒì»ò¼ÓÃÜ, ʹÓñà¼->ÐÞ¸ÄÊý¾Ý, ¶ÔËùÓÐÊý¾Ý½øÐÐÒì»ò0xA7:
°¡¹þ! ID3¶¼³öÀ´ÁË, Á¢¿Ì±£´æΪMP3¸ñʽ²âÊÔ:
Õý³£²¥·Å! ÔÙÀ´¿´¿´ÅÔ±ßͬÃûµÄHRC¸ñʽÎļþ:
àÅ, ûɶͷÐ÷, ²»»áÒ²ÊÇÒì»ò0xA7°É, ÊÔÊÔÔÙ˵:
»¹ÕæÊÇ! ±£´æΪLRC¸ñʽÎļþ, ·ÅÔÚMP3ͬһĿ¼Ï²âÊÔ:
´ó³É¹¦!
ÐË·ÜÖ®Óà, ÎÒÉÏÂÛ̳ËÑÁËÒ»ÏÂ, ·¢ÏÖ֮ǰËƺõÓв»ÉÙÈ˶¼Ìáµ½ÁËÕâÖÖ¸ñʽ(ÌØÖ¸²å¿¨ÒôÏä/½âÂë°åÖÐʹÓõÄSMP¸ñʽ, ¶ø²»ÊÇÓÎÏ·×ÊÔ´·â°ü), µ«ËƺõûÓÐÌ«¶àµÄ½â¾ö·½°¸.
ÀýÈç: https://www.52pojie.cn/thread-851703-1-1.html
¸öÈ˵Ä˼·ÊÇ: ²å¿¨ÒôÏäͨ³£Ê¹ÓÃÌض¨µÄ½âÂëоƬ, ÕâÀàоƬÓмòµ¥µÄ¿É±à³Ì¹¦ÄÜ, µ«ÎÞ·¨×öµ½¸´ÔÓºÄʱµÄ²Ù×÷(³ý·ÇÏñÉÏÃæÕâ¸öÌû×Ó¶þ¥˵µÄ, ÓеĽâÂëоƬ·½°¸¿ÉÄÜ´øÓÐÓ²¼þ×ÊÔ´, ½øÐÐÕâÖÖ·½°¸ÌØÓеļÓÃÜ, ¾Í±È½ÏÄÑ°ì), ¶ø´ó¶àÊý±£»¤Ó¦µ±ÊǽÏΪ¼òµ¥¿ÉÒÔ¿ìËÙÍê³ÉµÄ.
ÓÚÊÇÓÃͬһÖÖ·½·¨À´¿´¿´ÉÏÃæÕâ¸öÌû×ÓµÄÎļþ:
Ŷ, Õâ´ÎûÓÐ0xA7ÁË, µ«ÊÇΪɶ¶àÁËÕâô¶à0x05603515?
»á²»»áÊÇËĸö×Ö½ÚÒ»×é, µÚÒ»×Ö½ÚÒì»ò0x05, µÚ¶þ×Ö½ÚÒì»ò0x60, µÚÈý×Ö½ÚÒì»ò0x35, µÚËÄ×Ö½ÚÒì»ò0x15, µÚÎå×Ö½ÚÒì»ò0x05 ......?
ÊÔÊÔ°É, WinHexËƺõÖ»ÄܶÔÕû¸öÎļþ½øÐе¥¸ö×Ö½ÚµÄÒì»ò, ÄǾÍÒ»¸öÒ»¸öÀ´:
×¢Òâ»È¦µÄ²¿·Ö, °´Ë³ÐòÒì»òÖ®ºó³É¹¦×é³ÉÁËMP3-ID3µÄÖ¡Í·(ID3./0x49443303), ˼·ÊǶԵÄ!
ÄÇôдһ¸ö¼òµ¥µÄÊÖ¶¯½âÃܹ¤¾ß°É, È˹¤ÕÒµ½ÃÜÔ¿Ö®ºóÊäÈë½øÈ¥½âÃÜ:
[C#] ´¿Îı¾²é¿´ ¸´ÖÆ´úÂë using System;
using System.Collections.Generic;
using System.IO;
namespace SmpXorDecrypt
{
class Program
{
private static byte[] HexStringToByteArray(string hex)
{
if (hex.Length % 2 != 0)
hex = "0" + hex;
List<byte> bytes = new List<byte>();
for (int i = 0; i < hex.Length; i += 2)
bytes.Add(byte.Parse(hex.Substring(i, 2), System.Globalization.NumberStyles.AllowHexSpecifier));
return bytes.ToArray();
}
static void Main(string[] args)
{
try
{
int idx = 0;
byte[] key = HexStringToByteArray(args[0]);
byte[] file = File.ReadAllBytes(args[1]);
string outputExtention = args[2];
for(long i = 0; i < file.Length; ++i)
file[i] ^= key[idx++ % key.Length];
File.WriteAllBytes($"{args[1].Substring(0, args[1].LastIndexOf('.'))}.{outputExtention}", file);
}
catch (Exception ex)
{
Console.WriteLine($"´íÎó: {ex}");
}
}
}
}
ʹÓÃ:
ûÓÐÊä³ö˵Ã÷ת»»³É¹¦, ³ö´í»á½«Òì³£ÐÅÏ¢Êä³öµ½¿ØÖÆ̨.
ÏÂÔØ: Á´½Ó: https://pan.baidu.com/s/1d7DiuJclZl1qvCkMYzU_GA ÌáÈ¡Âë: ifkc
Íê±Ï, ¸Ðл¹Û¿´. |
Ãâ·ÑÆÀ·Ö
-
²ÎÓëÈËÊý 7 | ÍþÍû +1 |
Îá°®±Ò +15 |
ÈÈÐÄÖµ +7 |
ÊÕÆð
ÀíÓÉ
|
SNmw
| |
+ 1 |
+ 1 |
³ÌÐòÔËÐгö´íÔõôÆÆ£¿ ´íÎó: System.IndexOutOfRangeException: Ë÷Òý³¬³öÁË. |
Hmily
| + 1 |
+ 7 |
+ 1 |
¸Ðл·¢²¼Ô´´×÷Æ·£¬Îá°®ÆƽâÂÛ̳ÒòÄã¸ü¾«²Ê£¡ |
1051496412
| |
+ 1 |
+ 1 |
¸Ðл·¢²¼Ô´´×÷Æ·£¬Îá°®ÆƽâÂÛ̳ÒòÄã¸ü¾«²Ê£¡Ð¼¼ÄÜÒÑget¡Ì |
qq364650531
| |
+ 1 |
+ 1 |
¸Ðл·¢²¼Ô´´×÷Æ·£¬Îá°®ÆƽâÂÛ̳ÒòÄã¸ü¾«²Ê£¡ |
Seper
| |
+ 1 |
+ 1 |
ÈÈÐĻظ´£¡ |
heyxiaoniu
| |
+ 1 |
+ 1 |
»¶Ó·ÖÎöÌÖÂÛ½»Á÷£¬Îá°®ÆƽâÂÛ̳ÓÐÄã¸ü¾«²Ê£¡ |
³õÒàÔó
| |
+ 3 |
+ 1 |
ÓÅÐã |
²é¿´È«²¿ÆÀ·Ö
|