- Access door
- Input password (Default
1234
) - Press
#
- Input password (Default
- Enter programming mode
- Press
*
- Input admin password (Default
9999
) - Press
#
- Press
- Exit programming mode and Save
- Press
*
in 1 minute
- Press
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Xml; | |
using System.Xml.Schema; | |
using System.Xml.Serialization; | |
/// <summary> | |
/// Base on https://weblogs.asp.net/pwelter34/444961 | |
/// </summary> | |
/// <typeparam name="TKey"></typeparam> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Work for RedMi 2100 firmware 2.0.23 | |
// http://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rm2100/miwifi_rm2100_all_fb720_2.0.23.bin | |
function getSTOK() { | |
let match = location.href.match(/;stok=(.*?)\//); | |
if (!match) { | |
return null; | |
} | |
return match[1]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//--VAR | |
$puts(brd,28-28-28) | |
$puts(brd2,70-70-70) | |
$puts(brd_g1,50-50-50) | |
$puts(brd_g2,35-35-35) | |
$puts(transparent, 0-0-0-0) | |
// Column padding | |
$puts(padding, 16) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set hosts_file=%WINDIR%\System32\drivers\etc\hosts | |
set host=127.0.0.1 fvc_stat.freemake.com | |
find /i "%host%" %hosts_file% > nul | |
if %ERRORLEVEL% == 0 ( | |
echo "%host%" already exist. | |
) else ( | |
(echo. & echo %host%) >> %hosts_file% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wrap putty-serial.vbs to exe | |
Name "PuTTY Serial" | |
Icon "putty.ico" | |
OutFile "putty-serial.exe" | |
InstallDir "$TEMP" | |
RequestExecutionLevel user | |
SilentInstall silent | |
Section |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Source: https://stackoverflow.com/a/8561604/1877620 | |
if (!function_exists('ldap_escape')) { | |
define('LDAP_ESCAPE_FILTER', 0x01); | |
define('LDAP_ESCAPE_DN', 0x02); | |
/** | |
* @param string $subject The subject string | |
* @param string $ignore Set of characters to leave untouched | |
* @param int $flags Any combination of LDAP_ESCAPE_* flags to indicate the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Mcrypt | |
{ | |
/** | |
* @var string Encryption key | |
*/ | |
public $key; |
NewerOlder