КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
ВО... НАДО ТЕМУ СОЗДАТЬ ТУТ ПО ЭТОМУ РАСКОДУ БЕСПЛАТНОМУ???
НА ДРАЙВ2 СДЕЛАЮ... ТОЧНЕЕ НАПИШУ, ЧТО И КЛАРИОНЫ КОДЫ БЕСПЛАТНО ДАМ.
НА ДРАЙВ2 СДЕЛАЮ... ТОЧНЕЕ НАПИШУ, ЧТО И КЛАРИОНЫ КОДЫ БЕСПЛАТНО ДАМ.
.
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
This Code for old Calculator C#:
=============================
using System;
public class Program
{
public static void Main(string[] args)
{
string inputValue = "8182674563902569";
int firstPart = Convert.ToInt32(inputValue.Substring(0, 8), 16);
int secondPart = Convert.ToInt32(inputValue.Substring(8), 16);
int reverseSecondPart = GetReverse(secondPart);
int xor = firstPart ^ reverseSecondPart;
int ret = xor - 0xE010A11;
string result = GetFullBinary(ret.ToString("X"), 8);
Console.WriteLine("result: "+result);
}
private static string GetFullBinary(string str, int count)
{
while (str.Length < count)
{
str = "0" + str;
}
return str;
}
private static int GetReverse(int x)
{
int reverseSecondPart = 0;
for (int i = 0; i < 32; i++)
{
int temp = x >> (31 - i);
temp &= 1;
temp = temp << i;
reverseSecondPart |= temp;
}
return reverseSecondPart;
}
}
=============================
using System;
public class Program
{
public static void Main(string[] args)
{
string inputValue = "8182674563902569";
int firstPart = Convert.ToInt32(inputValue.Substring(0, 8), 16);
int secondPart = Convert.ToInt32(inputValue.Substring(8), 16);
int reverseSecondPart = GetReverse(secondPart);
int xor = firstPart ^ reverseSecondPart;
int ret = xor - 0xE010A11;
string result = GetFullBinary(ret.ToString("X"), 8);
Console.WriteLine("result: "+result);
}
private static string GetFullBinary(string str, int count)
{
while (str.Length < count)
{
str = "0" + str;
}
return str;
}
private static int GetReverse(int x)
{
int reverseSecondPart = 0;
for (int i = 0; i < 32; i++)
{
int temp = x >> (31 - i);
temp &= 1;
temp = temp << i;
reverseSecondPart |= temp;
}
return reverseSecondPart;
}
}
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
change this value and try
string inputValue = "8182674563902569";
string inputValue = "8182674563902569";
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
$erc = '0000000000000000';
$calculator = new calc($erc,'0e010a11');
$result =($calculator->generate()));
print_r($result);
class calc{
private $erc = '';
private $hash = '';
private $key = '';
public function __construct($erc, $hash){
$this->erc = $erc;
$this->hash = $hash;
}
public function generate(){
if (strlen($this->erc) == 16) {
$base = substr($this->erc, 0, 8);
$invert = substr($this->erc, 8, 8);
$hex_invert = base_convert(strrev(str_pad(base_convert($invert, 16, 2),32,'0',STR_PAD_LEFT)),2,16);
$hex_invert = str_pad($hex_invert,8,'0',STR_PAD_LEFT);
$base = str_pad($base,8,'0',STR_PAD_LEFT);
$hex_result = bin2hex(hex2bin($base) ^ hex2bin($hex_invert));
$result = dechex((floatval(base_convert($hex_result, 16, 10)) - floatval(base_convert($this->hash,16, 10)))) ;
$result = strtoupper(str_pad($result,8,'0',STR_PAD_LEFT));
return(array('code'=>1, 'text'=>'sucess', 'key'=>$result, 'erc'=>$this->erc));
}else{
return(array('code'=>0, 'text'=>'Incorrect erc code length', 'key'=>'00000000','erc'=>$this->erc));
}
}
}
========================================================
Here Fixing ur code run with PHP :
********************************************************************************
<?php
$erc = 'ABCE54DA78BCEF89';
$calculator = new calc($erc,'0e010a11');
$result =($calculator->generate());
print_r($result);
class calc{
private $erc = '';
private $hash = '';
private $key = '';
public function __construct($erc, $hash){
$this->erc = $erc;
$this->hash = $hash;
}
public function generate(){
if (strlen($this->erc) == 16) {
$base = substr($this->erc, 0, 8);
$invert = substr($this->erc, 8, 8);
$hex_invert = base_convert(strrev(str_pad(base_convert($invert, 16, 2),32,'0',STR_PAD_LEFT)),2,16);
$hex_invert = str_pad($hex_invert,8,'0',STR_PAD_LEFT);
$base = str_pad($base,8,'0',STR_PAD_LEFT);
$hex_result = bin2hex(hex2bin($base) ^ hex2bin($hex_invert));
$result = dechex((floatval(base_convert($hex_result, 16, 10)) - floatval(base_convert($this->hash,16, 10)))) ;
$result = strtoupper(str_pad($result,8,'0',STR_PAD_LEFT));
return(array('key'=>$result));
}else{
return(array('key'=>'00000000'));
}
}
}
$calculator = new calc($erc,'0e010a11');
$result =($calculator->generate()));
print_r($result);
class calc{
private $erc = '';
private $hash = '';
private $key = '';
public function __construct($erc, $hash){
$this->erc = $erc;
$this->hash = $hash;
}
public function generate(){
if (strlen($this->erc) == 16) {
$base = substr($this->erc, 0, 8);
$invert = substr($this->erc, 8, 8);
$hex_invert = base_convert(strrev(str_pad(base_convert($invert, 16, 2),32,'0',STR_PAD_LEFT)),2,16);
$hex_invert = str_pad($hex_invert,8,'0',STR_PAD_LEFT);
$base = str_pad($base,8,'0',STR_PAD_LEFT);
$hex_result = bin2hex(hex2bin($base) ^ hex2bin($hex_invert));
$result = dechex((floatval(base_convert($hex_result, 16, 10)) - floatval(base_convert($this->hash,16, 10)))) ;
$result = strtoupper(str_pad($result,8,'0',STR_PAD_LEFT));
return(array('code'=>1, 'text'=>'sucess', 'key'=>$result, 'erc'=>$this->erc));
}else{
return(array('code'=>0, 'text'=>'Incorrect erc code length', 'key'=>'00000000','erc'=>$this->erc));
}
}
}
========================================================
Here Fixing ur code run with PHP :
********************************************************************************
<?php
$erc = 'ABCE54DA78BCEF89';
$calculator = new calc($erc,'0e010a11');
$result =($calculator->generate());
print_r($result);
class calc{
private $erc = '';
private $hash = '';
private $key = '';
public function __construct($erc, $hash){
$this->erc = $erc;
$this->hash = $hash;
}
public function generate(){
if (strlen($this->erc) == 16) {
$base = substr($this->erc, 0, 8);
$invert = substr($this->erc, 8, 8);
$hex_invert = base_convert(strrev(str_pad(base_convert($invert, 16, 2),32,'0',STR_PAD_LEFT)),2,16);
$hex_invert = str_pad($hex_invert,8,'0',STR_PAD_LEFT);
$base = str_pad($base,8,'0',STR_PAD_LEFT);
$hex_result = bin2hex(hex2bin($base) ^ hex2bin($hex_invert));
$result = dechex((floatval(base_convert($hex_result, 16, 10)) - floatval(base_convert($this->hash,16, 10)))) ;
$result = strtoupper(str_pad($result,8,'0',STR_PAD_LEFT));
return(array('key'=>$result));
}else{
return(array('key'=>'00000000'));
}
}
}
Последний раз редактировалось rahhal81 31 мар 2024, 05:22, всего редактировалось 1 раз.
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
==================================================================
Трудовая этика не позволяет нам вмешиваться в жизнь других. Он много работал над своим делом и это его доля, и у каждого трудолюбивого человека есть доля. Не смотрите на окружающих, а работайте над развитием себя, пока не добьетесь успеха.
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
Так и скажи, что при декомпиляции видешь одни хешь суммыrahhal81 писал(а): ↑31 мар 2024, 05:18==================================================================
Трудовая этика не позволяет нам вмешиваться в жизнь других. Он много работал над своим делом и это его доля, и у каждого трудолюбивого человека есть доля. Не смотрите на окружающих, а работайте над развитием себя, пока не добьетесь успеха.
.
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
Этот тип системы, японское радио не мой рынок, поэтому я с ним не знаком.
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
вот прога интересная.. знаний хватит её декомпилировать и вытащить исходники кальков? Думаю вряд ли
[/quote]
==================================================================
какая информация тебе нужна
[/quote]
==================================================================
какая информация тебе нужна
КАЛЬКУЛЯТОР АВТОМАГНИТОЛ ТОЙОТА СЕРИЙ NSZT&NSZN 68
ГГГ
Последний раз редактировалось hhanchik 31 мар 2024, 06:38, всего редактировалось 1 раз.
.
Кто сейчас на конференции
Сейчас этот форум просматривают: Bing и 29 гостей