HTML中隐写术的实现 [英] implementation of steganography in HTML

查看:127
本文介绍了HTML中隐写术的实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起,如果我的英语不好..
我有一份毕业论文.我的日记是在HTML网页文件中嵌入秘密数据" .
在这种情况下,我的论文有问题.
我会详细解释我的论文.

我有封面对象HTML.在HTML我有标签.例如:
< html>

</html>
我想以ASCII隐藏char"A"是(01000001)
< html></html>
+(01000001)

所以我有隐秘的HTML.
< hTml></htmL>
如果hide = 0
小写字母
其他hide = 1
大写

请帮助我解决论文..我想在编程中使用C#..我在提取HTML标签内的字符时遇到问题.

我希望在这里..有人可以帮助我解决我的问题..解释我如何开始这个问题?

thx

i''m sorry if my english so bad..
i have a thesis for my graduate. My journal is "embedding secret data in HTML web page file".
in this case i have a problem with my thesis.
i''ll explain detail of my thesis.

i have cover object HTML. in HTML i have tags. example:
<html>

</html>
and i want to hide char "A" in ASCII is(01000001)
<html></html>
+(01000001)

so i have stego HTML.
<hTml></htmL>
if hide =0
lowcase
else hide=1
uppercase

please help me to solve my thesis..i want use C# in programming..i have problem in extract characters inside HTML tags.

i wish in here..someone can help me to solve my problem..explain how do i start this problem?

thx

推荐答案

使用 mshtml 以及其他常见的Web项目,

using mshtml along with the other usual Web items,

WebRequest request = WebRequest.Create(URL);
request.Credentials = CredentialCache.DefaultCredentials;
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream dataStream = response.GetResponseStream();
StreamReader reader = new StreamReader(dataStream);
string responseFromServer = reader.ReadToEnd();
reader.Close();
dataStream.Close();
response.Close();

//reads the html into an html document to enable parsing 
IHTMLDocument2 doc = (IHTMLDocument2)new HTMLDocument();
doc.write(new object[] { responseFromServer });
doc.close();

//loops through each element in the document
foreach (IHTMLElement el in (IHTMLElementCollection)doc.all)
{
    string ThisTag = el.tagName;

//check your capitalization here, etc.



我想这会让您入门.



I think that will get you started.


这篇关于HTML中隐写术的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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