我把网页内容保存下来,把没用的全部删掉,现在网页上面只剩下一个两个框框,用于输入账户和密码,在登录的时候发现post信息中还是会出现随机数据,现在有点迷糊了,这个随机的数据是怎么生成的?大家能帮我看看么??
网页代码如下,
<!DOCTYPE html><html xml:lang="en" lang="en" style="height: 100%; "><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>EasyHits4U.com - Your Traffic Exchange, 1:1 Exchange Ratio, Manual Surfing, Innovative Referral Program. FREE Traffic!</title></head><body style="position: relative; min-height: 100%; top: 0px; "><table cellpadding="0" cellspacing="0" border="0" valign="top" width="19%"> <tbody><tr> <td width="235" valign="top" class="left_column"><form action="http://www.easyhits4u.com/account.cgi" method="post"> <input type="hidden" name="f" value="logon"> <input type="hidden" name="manual" value="1"> <input type="hidden" name="fb_id" value=""> <input type="hidden" name="fb_token" value=""> <!-- <input type="hidden" name="google_code" value=""> --> <div style="width:175px; padding-left:16px; padding-right:0px; font-size:11px; padding-top:8px; ">Username or Email:<br> <input type="text" name="username" size="30" class="login" value="" style="border: 1px solid rgb(109, 191, 109); "><br> Password:<br> <input type="password" name="password" class="login" value="" style="border: 1px solid rgb(109, 191, 109); "><br> <div align="center"> <input type="image" id="enter_btn" alt="Enter" title="Enter"> <div id="fb-root"></div></div> </div></form></td> </tr></tbody></table>
大家觉得这个随机数是怎么加上去的,谢谢了,问过其他人,有说是从js中计算出来,在加上去的,可是我修改过的网页已经没有连接js文件了,它一样可以生成随机数据。
我抓取到的post的信息如下,其中最后一行就是要发送的数据,包括用户名,密码,最后面的x,y就是随机数据,现在不知道这两个数据是怎么来的。。
POST /account.cgi HTTP/1.1Accept: text/html, application/xhtml+xml, */*Accept-Language: zh-CNUser-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)Content-Type: application/x-www-form-urlencodedAccept-Encoding: gzip, deflateHost: www.easyhits4u.comContent-Length: 74Connection: Keep-AliveCache-Control: no-cacheCookie: __utma=225169166.1156721560.1380158546.1380158546.1380158546.1; __utmb=225169166.4.10.1380158546; __utmc=225169166; __utmz=225169166.1380158546.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); relmaxtops38332=13801585478980.6372889952738617f=logon&manual=1&fb_id=&fb_token=&username=test&password=11111111&x=53&y=4
回复讨论(解决方案)
可能JS动态添加的,你看下提交调用方法,用浏览器开发工具看下,提交后表单的HTML
你说的是查看提交后显示的网页代码么?

The official account web page update cache, this thing is simple and simple, and it is complicated enough to drink a pot of it. You worked hard to update the official account article, but the user still opened the old version. Who can bear the taste? In this article, let’s take a look at the twists and turns behind this and how to solve this problem gracefully. After reading it, you can easily deal with various caching problems, allowing your users to always experience the freshest content. Let’s talk about the basics first. To put it bluntly, in order to improve access speed, the browser or server stores some static resources (such as pictures, CSS, JS) or page content. Next time you access it, you can directly retrieve it from the cache without having to download it again, and it is naturally fast. But this thing is also a double-edged sword. The new version is online,

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

This article demonstrates efficient PNG border addition to webpages using CSS. It argues that CSS offers superior performance compared to JavaScript or libraries, detailing how to adjust border width, style, and color for subtle or prominent effect

The article discusses the HTML <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

The article discusses the HTML <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

This article explains the HTML5 <time> element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

The article discusses the HTML <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version
Recommended: Win version, supports code prompts!

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)
