PentestSuite:MessageGenerator PentestSuite:消息生成器的使用方法

MessageGenerator是一个工具,用于以字节格式或UTF-8格式生成和发送消息。用户可以浏览不同序列号的Socket处理者,启用SSL连接,输入目标地址并选择是否使用UTF-8编码。当使用UTF-8时,工具会检查响应是否能完美转换为UTF-8字符串。若转换不完美,用户可以选择定位问题或忽略。此外,长按开关可直接通过原始Socket发送消息。
摘要由CSDN通过智能技术生成

Message generator 消息生成器

It is the place where you can generate any message in bytes format or in UTF-8 format.
您可以以字节格式或 UTF-8 格式生成任何消息。

Navigate 浏览

Every serial number represents a socket handler. Use ‘previous’ and ‘next’ to navigate through it.
每个序列号都表示一个Socket 处理者。使用"previous"和"next"来浏览它。

SSL SOCKET

Use this switch to enable SSL socket. Normally this switch is turned off and this will directly send the bytes through the normal socket.
使用此开关启用 SSL socket。通常,此开关关闭,这将直接通过正常socket发送字节。

Address 地址

Input the address that you want to send to.
输入要发送到的地址。

Send button 发送按钮

Click 点击

This will trigger the message/bytes to be send.
这将触发要发送的消息/字节被发送。

Request 请求

If currently the ‘UTF-8’ switch for request is checked, then the content will be converted to bytes directly. After that, the bytes will be sent. This process will not generate any error.

If currently the ‘UTF-8’ switch for request is not checked, then the content that represent byte array will be sent.
如果当前请求的"UTF-8"开关被打开了,则内容将直接转换为字节。之后,字节将被发送。此过程不会产生任何错误。

如果当前未打开请求的"UTF-8"开关,则将发送代表 byte 数组的内容。

Response 回复

If currently the ‘UTF-8’ switch for request is checked, then PentestSuite will try to check if the response byte array can be converted to utf-8 string perfectly.
如果当前请求的 ‘UTF-8’ 开关被选中,那么 PentestSuite 将尝试检查响应字节数组是否可以完美地转换为 utf-8 字符串。

What is converted perfectly? 什么是完美转换?

Normally the bytes can always converted to some format string, but it can’t be sure that it will be translated without damage. That means after translation, the target string can’t be translated back to the original bytes.
通常,字节总是可以转换为某种格式字符串,但不能确定它会在没有损坏的情况下被转换。 这意味着转换后,目标字符串无法转换回原始字节。

After this check, PentestSuite will directly display the result if this process is perfect, else it will alert a dialog to show user that the transformation is not perfect.
检查完成后,如果这个过程是完美的,PentestSuite 将直接显示结果,否则它会警告一个对话框,告诉用户转换不完美。

Once you see this dialog, you can still locate the first imperfect byte index by clicking the button ‘locate’. Or you can directly click ‘done’ and omit this problem. No matter what choice you have chosen, your original bytes will not be affected and will keep the original state. It will just show you the situation and do nothing.
看到此对话框后,您仍然可以通过单击“定位”按钮来定位第一个不完美的字节索引。 或者您可以直接单击“完成”并忽略此问题。 无论您选择何种选择,您的原始字节都不会受到影响,并保持原始状态。 它只会向您显示情况,什么也不做。

Long click 长按

And once this switch has been checked and you clicked ‘OK’, PentestSuite will try to send the message directly through the original socket. THE ORIGINAL SOCKET is defined by current message index.
一旦这个开关被选中并且你点击了“确定”,PentestSuite 将尝试直接通过原始套接字发送消息。 原始套接字由当前消息索引定义:

UTF-8 VIEW switch UTF-8 视图开关

Either click it or drag it will work.
单击它或拖动它都会起作用。

From unchecked to checked 从未选中到选中

It will check if current content is in correct format.You will receive its complaint if content format is not correct.
它将检查当前内容的格式是否正确。如果内容格式不正确,您将收到抱怨。

About content format 关于内容格式

Use blank to split these bytes. No greater than ff.
使用空白分割这些字节。 不大于ff。

Then it will check if perfect transformation is possible. If not possible, you will see ‘Transformation failure’. And it’s the same as previous described.
然后它会检查是否可以完美转换。 如果不可能,您将看到“转换失败”。 它与前面描述的相同。

From checked to unchecked 从选中到未选中

No error will be thrown in this process. Since every string could be transformed perfectly into byte array.
在这个过程中不会抛出任何错误。 因为每个字符串都可以完美地转换为字节数组。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值