Today, when I sorted out my favorite cartoons, I found that fengyun3 was missing two sets (486 and 487), which is basically intolerable for collectors;
From fengyunyi to 3rd, there should be no less than one set;
I decided to go online and look for a shared forum, but I went around for a long time. Most of them were placed on the online disk.
The Network Disk has expired;
It seems that you can only go online. Fortunately, although it is not very high-definition, you can still check the quality at least.
However, if you haven't downloaded any of the pages, you have to flip them one page at a time, but you still cannot save them by email. You can right-click them, and if you are a software developer
Copying images is too shameful and conspicuous;
I installed IE8 recently. Isn't there a developer tool in it? It is said that it is good, it seems that the test, it should be a trainer;
I. Analyze and obtain the HTML Information
Start Developer Tools by F12
Use the Select Interface Element function (CTRL + B) to select the IMG tag that carries the cartoon;
The HTML Tag \ arrow button is as follows: click the picture in the webpage OK
We can find the IMG Tag id = pic-show-area to see SRC
Http://comictelecom-qy.ktxp.com/comicdata3/f/fy3/487/jy001wsg.jpg
I guess I entered it in the browser,
Http://comictelecom-qy.ktxp.com/comicdata3/f/fy3/487/jy002wsg.jpg
Wood with images
Not that simple
Continue analysis ......
View the SRC of the second cartoon
Http://comictelecom-qy.ktxp.com/comicdata3/f/fy3/487/jy002evl.jpg
Oh! This is the case. Obviously, the last three digits are immediate or irregular.
To prevent theft? I am engaged in enterprise management software, so I don't quite understand it;
Check the source code and find that Id = pic-show-area is dynamically created by a JS.
I am looking for the image URL. I am not very concerned about how this IMG Tag comes out;
Ii. Use Probe
Click Start configuration file and press F5 to refresh the page until the page is loaded.
Such as the result, sort by time, find a similarCode!!!; The following loadpic function takes 15.63 of the time.
In my experience, it is generally impossible to set the SRC function to take a short time ......
3. Discover and analyze scripts
Double-click to enter a JS Code segment and search for PIC-show-area.
Key Points: The SRC set here is found;
$ ("Pic-show-area"). src =Current_pic_server+Hex2bin (PIC [a]);
Everyone should understand this line of code. Use hex2bin to convert the variables in the PIC array into real URLs.
For the PIC array, we can see it in the page source code. I have long seen it, but I can ignore it. If it is called encryption
The PIC array code is as follows:
VaR PIC = new array (); PIC [0] = 'hangzhou'; PIC [1] = 'hangzhou ';
...
4. Write test scripts and execute test scripts
Copy to UE and convert it to/comicdata3/f/fy3/487/jy001wsg.jpg. Is this encrypted ??
OK, we only need to execute a line of code;
Cyclically decode all the PIC strings and place OK in the clipboard;
Now that hex2bin has been provided, let's use it;
In the developer tool, execute multiple lines of scripts here.
The Code is as follows:
VaRS ="";For(VaRI = 0; I <PIC. length; I ++) {S = S + current_pic_server + hex2bin (PIC [I]) +"\ N";} Window. clipboardData. setdata ('Text', S );
Run OK
Paste it to notepad and we will get the following results:
Http://comictelecom-qy.ktxp.com/comicdata3/f/fy3/487/jy001wsg.jpg
Http://comictelecom-qy.ktxp.com/comicdata3/f/fy3/487/jy002evl.jpg
... Omitted
Save to 487.lst
Start, and import the download list of the most Nb-Fast Link in tianchao. the download is successful;
Next I went to collect all my favorites in 486. I was so happy, but I lost my money to the webmaster of the cartoon station. John really didn't have time to copy one page at a time;
If the webmaster asks to remove this article from this cartoon Station, please let me know that my mailbox is in the picture above blogs ......
End. Final
It is a fact that jvavscript is too insecure.
For example, if the disabled button is disabled and the copy is disabled, the data is verified, and everything related to security implemented by JS is useless.
JS is only used to improve user experience, and is not a real secure language, especially when running in a browser, even if you do not use development tools, you can still press in the address bar to execute
So even if Ajax is prevalent today, developers should not forget that JS in the browser is not secure. At least browser users have 100% of control over it, and this technology is easy to master;
This articleArticleWe only develop tools for practice and learning. If someone uses this technology or method to make everything that harms the interests of the website, such as batch downloads, or do other immoral or illegal things that have nothing to do with the author,
Author: Qu bin9-4-4 23:46:07