问题描述
我正在测试一个ASP.NET Web表单,该表单需要从输入中过滤掉空字符.
I am testing an ASP.NET web form which needs to filter out null characters from input.
要测试此功能,实际上如何在html表单中键入一个空字符?我已经尝试过Alt + 0,但是它不起作用.
To test this functionality, how can I actually type a null character in the html form? I've tried Alt+0 but it does not work.
我知道我可以通过使用URL中的%00"在GET请求中进行操作.但是,我想以POST形式进行.
I know I can do it in a GET request by using "%00" in the URL. However, I want to do it in a form POST.
推荐答案
我能够使用TamperData Firefox插件来做到这一点.
I was able to do this using TamperData Firefox plugin.
https://addons.mozilla.org/zh- US/firefox/addon/tamper-data/
在显示"Tamper"弹出窗口时,我键入了%00",在发布参数值"字段中.
When given the Tamper Popup I typed "%00" in the Post Parameter Value field.
仍然,我找不到仅使用键盘输入空字符的方法.
Still, I cannot find a way to type a null character just using the keyboard.
这篇关于如何在网络表单中输入空字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!