嗨..我发现这个隐写代码,我运行它..但我不知道它是什么类型的方法..我想知道这是什么类型的方法。这是LSB方法吗?谁有人可以帮忙? [英] hi.. i found this steganography code and i run it..but i dont know what type of method it is..i want to know what types of method is this. it is LSB method? anyone can help?

查看:70
本文介绍了嗨..我发现这个隐写代码,我运行它..但我不知道它是什么类型的方法..我想知道这是什么类型的方法。这是LSB方法吗?谁有人可以帮忙?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是代码..感谢查看



this is the code..thanks for view

Dim PlainText As String = TextBox2.Text
                Dim PlainTextByteArray(PlainText.Length) As Byte
                For i As Integer = 0 To (PlainText.Length - 1)
                    PlainTextByteArray(i) = CByte(AscW(PlainText.Chars(i)))
                    Application.DoEvents()
                Next
                Dim PicAndText(PicBytes + PlainText.Length + SentinelString.Length) As Byte
                For t As Long = 0 To (PicBytes - 1)
                    PicAndText(t) = PicByteArray(t)
                Next
                Dim count As Integer = 0
                For r As Long = PicBytes To (PicBytes + (SentinelString.Length) - 1)
                    PicAndText(r) = SentinelString(count)
                    count += 1
                Next
                count = 0
                For q As Long = (PicBytes + SentinelString.Length) To (PicBytes + SentinelString.Length + PlainText.Length - 1)
                    PicAndText(q) = PlainTextByteArray(count)
                    count += 1
                Next
                SaveImage.ShowDialog()
                Dim NewFileName As String = SaveImage.FileName
                My.Computer.FileSystem.WriteAllBytes(NewFileName, PicAndText, True)

解决方案

看看你找到它的位置。

它应该描述代码是什么,以及代码是什么。如果你很幸运,它将描述它是如何做到的。



否则,我们必须查看随机代码并完成以上所有操作。它中有Application.DoEvents,这意味着它没有很好地设计为...
Look where you found it.
It should have a description of what the code is, and what it does. If you are lucky, it will have a description of how it does it.

Otherwise, we would have to look though random code and work all of the above out. And it has Application.DoEvents in it, which means it is not well designed to start with...


nope,它只是简单地将文本隐藏在图像中在sentinel字符串之前的文件结尾
nope, it's just simply placing the text-to-hide inside the image at the end of the file prior to sentinel string


这篇关于嗨..我发现这个隐写代码,我运行它..但我不知道它是什么类型的方法..我想知道这是什么类型的方法。这是LSB方法吗?谁有人可以帮忙?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆