我们如何在vbscript中读取.exe文件。我需要在exe文件中搜索特定的单词。 [英] How we can read .exe file in vbscript. I need to search a specific word in exe file.

查看:59
本文介绍了我们如何在vbscript中读取.exe文件。我需要在exe文件中搜索特定的单词。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在vbscript中读取.exe文件。我需要在exe文件中搜索特定的单词。

How we can read .exe file in vbscript. I need to search a specific word in exe file.

推荐答案

即使在代码中也不能轻易做到这一点。 exe文件采用特定于其运行的平台的格式,并且原始源代码中的任何字符串在对象中可能是可识别的,也可能是不可识别的。您可以做的最好的事情是逐字节扫描文件,寻找您想要的模式。
You cannot easily do this, even in code. An exe file is in a format specific to the platform it runs on, and any strings in the original source code may or may not be recognisable in the object. The best you can do is scan the file byte by byte looking for the pattern that you want.


这篇关于我们如何在vbscript中读取.exe文件。我需要在exe文件中搜索特定的单词。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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