Jacky's serialization System Vulnerability

Source: Internet
Author: User
1. Register a user 2. Enter space-album-upload 3. Use oprea to live firefox to modify the source code scripttypetextjavascriptvarswfu; SWFUpload. onloadfunction () {varsettings {flash_url: http: Upload, upload_u

1. Registered users
2. Choose space> album> upload.
3. Use oprea to activate firefox to modify the source code

 
  1. ext/javascript">  
  2. var swfu; 
  3. SWFUpload.onload = function () { 
  4.     var settings = { 
  5.         flash_url : "http://www.xxx.com/shuku/modules/space/include/swfupload/swfupload.swf", 
  6.         upload_url: "http://www.xxx.com/shuku/modules/space/include/swfupload/upload.php", // Relative to the SWF file 
  7.         post_params: { 
  8.             "catid" : "208", 
  9.             "uid" : "320" 
  10.         }, 
  11.         file_size_limit : "2 MB", 
  12.         file_types : "*.jpg;*.jpeg;*.gif;*.png;*.bmp", 
  13.         file_types_description : "Images", 
  14.         file_upload_limit : 100, 
  15.         file_queue_limit : 0, 
  16.         custom_settings : { 
  17.             progressTarget : "fsUploadProgress", 
  18.             cancelButtonId : "btnCancel" 
  19.         }, 
  20.         debug: false, 
  21.   
  22.         // Button Settings 
  23.         button_image_url : "http://www.xxx.com/shuku/modules/space/include/swfupload/upload.gif",  // Relative to the SWF file 
  24.         button_placeholder_id : "spanButtonPlaceholder", 
  25.         button_width: 71, 
  26.         button_height: 21, 
  27.   
  28.         // The event handler functions are defined in handlers.js 
  29.         swfupload_loaded_handler : swfUploadLoaded, 
  30.         file_queued_handler : fileQueued, 
  31.         file_queue_error_handler : fileQueueError, 
  32.         file_dialog_complete_handler : fileDialogComplete, 
  33.         upload_start_handler : uploadStart, 
  34.         upload_progress_handler : uploadProgress, 
  35.         upload_error_handler : uploadError, 
  36.         upload_success_handler : uploadSuccess, 
  37.         upload_complete_handler : uploadComplete, 
  38.         queue_complete_handler : queueComplete, // Queue plugin event 
  39.          
  40.         // SWFObject settings 
  41.         minimum_flash_version : "9.0.28", 
  42.         swfupload_pre_load_handler : swfUploadPreLoad, 
  43.         swfupload_load_failed_handler : swfUploadLoadFailed 
  44.     }; 
  45.     swfu = new SWFUpload(settings); 
  46. } 
  47.   
  48.  


Change file_types *. jpg *. gif to *. * to upload any file.

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.