Baidu cloud upload simulation (no code), nocode

Source: Internet
Author: User

Baidu cloud upload simulation (no code), nocode

I didn't want to simulate anything. I wrote a tutorial in my group and analyzed it myself.

Manually simulate it and do not want to write any code (it is a waste of time. Simulating the network is actually very simple. As long as you analyze how to obtain the corresponding value, nothing else will be done ).


1: It is easy to log on to Baidu (I used to write one myself on the Internet (no web control is used )). (Webbrower control is the easiest way to log on)

2: Jump to the Baidu online storage homepage. (The returned value of this webpage contains very important information. It will be obtained after a simple parsing)

3: Upload

4: Upload and submit the URL. (In this way, the upload is successful)


The above rough process.


Details


This is included in the access to pan.baidu.com on the return page. Find it by yourself (you log on)

Get important content

YunData. MYUK =
YunData. MYNAME =
YunData. MYBDSTOKEN =
YunData. MYBDUSS =
YunData. LOGINSTATUS =
YunData. sampling =


You only need to get MYBDSTOKEN and MYBDUSS.


Upload

POST http://c.pcs.baidu.com/rest/2.0/pcs/file? Method = upload & type = tmpfile & app_id = 250528 & BDUSS = pansec_DCb74... (Here is one) HTTP/1.1

I did not place the remaining items here, so I knew it when I caught the package.


Then another URL:

Submit it.

POST http://pan.baidu.com/api/create? A = commit & bdstoken = (above) & channel = chunlei & clienttype = 0 & web = 1 & app_id = 250528 HTTP/1.1


Note that the submitted BODY contains URL-encoded items. You can use Fidder4 to capture packets and check whether the original values are displayed in webform.

Required & isdir = 0 & size = 35 & block_list = % 5B % 22614755dc6fd9fd26a727e7b8019be2a3% 22% 5D & method = post


Here, block_list is actually the MD5 value, which will be included in JSON when returned in the previous connection, so you can use URL encoding for processing ..


All the difficulties are completed. You can use your own codeding. Baidu can find the rest.

Note: You don't need to read it for a newbie. Maybe you don't know what I'm talking about. The newbie will learn how to capture packets first. (There are many fidder tutorials for http)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.