当前位置: 首页 > 知识库问答 >
问题:

__VIEWSTATE,__VIEWSTATEGENERATOR和__EVENTVALIDATION正则表达式不工作

訾高明
2023-03-14

我有一系列HTTP请求采样器,其中我使用正则表达式提取器对uuu VIEWSTATE、uu VIEWSTATEGENERATOR和uu EVENTVALIDATION进行了处理,这些采样器工作正常,还可以获取响应数据。

但是在一个步骤中,我在执行后得到错误“generalError:Invalid viewstate”(仅此步骤),并且我的正则表达式变量显示在错误消息-viewstate:${eventValidation}

我试过很多正则表达式

<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="(.+?)" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="([-;,':\*\/\}\{\=\[\]\)\(0-9a-zA-Z]*)" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="([^'"]+)" />

以上3种类型均失败。

实际记录的uu VIEWSTATE参数值为

/wEPDwUKLTk1MjY2MTc3Mw9kFgJmD2QWAgIDD2QWDgICDw8WAh4EVGV4dAUNUFJBVElLIEdPVVJBVmRkAgQPFgIeB1Zpc2libGVoZAIGDxYCHwAFlwc8YSBocmVmPScjJyBkYXRhLWlkPSc0MDAwKk9yZ1N1bW1hcnkuYXNweCcgIGlkPSdsaW5rMScgY2xhc3M9J3JlcG9ydF9saW5rJyB0aXRsZT0nT3JnYW5pemF0aW9uYWwgRGFzaEJvYXJkJz48ZGl2IGNsYXNzPSdyZXBvcnQtYm94X2FjdGl2ZSc+T3JnYW5pemF0aW9uYWw8ZGl2IGNsYXNzPSdvcmdpbWdfYWN0aXZlJz48L2Rpdj48L2Rpdj48L2E+PGEgaHJlZj0nIycgZGF0YS1pZD0nNDAwMSpQcmFjdGljZU92ZXJ2aWV3LmFzcHgnICBpZD0nbGluazInIGNsYXNzPSdyZXBvcnRfbGluaycgdGl0bGU9J1ByYWN0aWNlIERhc2hCb2FyZCc+PGRpdiBjbGFzcz0ncmVwb3J0LWJveCc+UHJhY3RpY2U8ZGl2IGNsYXNzPSdwcmFpbWcn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biREREQkZ3YFHWN0bDAwJGdyZExvb2t1cFllYXJTaW5nbGUkREREBSBjdGwwMCRncmRMb29rdXBZZWFyU2luZ2xlJERERCRndgUTY3RsMDAkYnRuVmlld1JlcG9ydAUaY3RsMDAkTWFpbkNvbnRlbnQkU3BsaXR0ZXIFQmN0bDAwJE1haW5Db250ZW50JFNwbGl0dGVyJEFTUHhDYWxsYmFja1BhbmVsMSRBU1B4RGFzaGJvYXJkVmlld2VyMQUjY3RsMDAkTWFpbkNvbnRlbnQkQVNQeFBvcHVwQ29udHJvbDEFNGN0bDAwJE1haW5Db250ZW50JEFTUHhQb3B1cENvbnRyb2wxJGRkbEV4cG9ydEdyZCREREQFMGN0bDAwJE1haW5Db250ZW50JEFTUHhQb3B1cENvbnRyb2wxJGJ0bkV4cG9ydEdyZAUxY3RsMDAkTWFpbkNvbnRlbnQkQVNQeFBvcHVwQ29udHJvbDEkQVNQeEdyaWRWaWV3MQVBY3RsMDAkTWFpbkNvbnRlbnQkQVNQeFBvcHVwQ29udHJvbDEkQVNQeEdyaWRWaWV3MSREWEZpbHRlclJvd01lbnWvw9p8AjNAVpNNPO8yCRnMOv+oPcj4lLahyNr23EDC4w==

请注意,上述值包含多个“//”

显示的错误是:0 |/*DX*/({'generalError':'Invalid viewstate.\r\n\t客户端IP:61.12.77.210\r\n\t端口:60301\r\n\t请求者:\r\n\t路径:/PPODevX/orgsumsummary.aspx\r\n\t服务器代理:Mozilla/5.0(Windows NT 6.1;Win64;x64)AppleWebKit/537.36(KHTML,如Gecko)Chrome/68.0.3440.106 Safari/537.36\r\t\r\t验证:<>

如果还需要什么,请告诉我

提前谢谢

当我硬编码__VIEWSTATE时,__VIEWSTATEGENERATOR,__EVENTVALIDATION我得到了正确的响应数据。

请在下面的屏幕截图中找到硬编码结果。

1.HTTP请求参数-硬编码

使用CSS/JQuery提取变量的屏幕截图

1.HTTP请求参数-CSS/JQUERY

2.VIEWSTATE-CSS/JQUERY

3.VIEWSTATEGENERATOR-CSS/JQUERY

4.事件验证-CSS/JQUERY

使用CSS/JQUERY的响应数据

0|/*DX*/({'generalError':'Invalid viewstate. \r\n\tClient IP: 61.12.77.210\r\n\tPort: 17420\r\n\tReferer: \r\n\tPath: /PPODevX/OrgSummary.aspx\r\n\tUser-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\r\n\tViewState: ${VIEWSTATE}'})

共有1个答案

翟浩穰
2023-03-14

使用具有以下配置的CSS/JQuery提取器元素:

 类似资料:
  • 密码不能匹配或包含姓氏。 密码必须至少包含1个特殊字符。 密码必须至少包含1个数字字符。 密码必须至少包含2个字母字符。 密码必须至少包含1个大写字母。 密码不能匹配或包含用户ID。 密码不能匹配或包含名字。 密码不能包含以下字符:! 密码不得超过25个字符。 密码长度必须至少为8个字符。 密码必须至少包含1个小写字母。 这些是

  • 问题内容: 我的问题是:在GWT中使用正则表达式是否有很好的解决方案? 例如,我对String.split(regex)的使用不满意。GWT将代码转换为JS,然后将正则表达式用作JS正则表达式。但是我不能使用Java Matcher或Java Pattern之类的东西。但是我需要这些来进行组匹配。 有没有可能或图书馆? 我尝试了Jakarta Regexp,但是还有其他问题,因为GWT不能模拟该库

  • 问题内容: 我有一个脚本,可以分析电视剧集的文件名(例如show.name.s01e02.avi),获取剧集的名称(从www.thetvdb.com API),然后自动将其重命名为更好的名称(显示名-[01x02 ] .avi) 该脚本可以正常工作,直到您尝试在具有Unicode显示名称的文件上使用该脚本为止(我从未真正考虑过这一点,因为我拥有的所有文件都是英文的,所以大部分都属于) 如何允许正则

  • 我想做一个正则表达式来匹配这些字符串之一:、、、。 我的正则表达式只能接受以下字符串(而不是其他单词): 这是我当前的正则表达式,但它不能按预期工作: 编辑 如果在我的字符串中它们是: 如果它们是其他单词或符号,则返回 false。 谢谢大家。

  • 昨天,我需要向正则表达式添加一个文件路径,创建一个如下所示的模式: 一开始正则表达式不匹配,因为包含几个正则表达式特定的符号,如 或 。作为快速修复,我将它们替换为 和 . 与 . 然而,我问自己,是否没有一种更可靠或更好的方法来清除正则表达式特定符号中的字符串。 Python 标准库中是否支持此类功能? 如果没有,您是否知道一个正则表达式来识别所有正则表达式并通过替代品清理它们?

  • 在 OpenResty 中,同时存在两套正则表达式规范:Lua 语言的规范和 ngx.re.* 的规范,即使您对 Lua 语言中的规范非常熟悉,我们仍不建议使用 Lua 中的正则表达式。一是因为 Lua 中正则表达式的性能并不如 ngx.re.* 中的正则表达式优秀;二是 Lua 中的正则表达式并不符合 POSIX 规范,而 ngx.re.* 中实现的是标准的 POSIX 规范,后者明显更具备通用