日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程语言 > php >内容正文

php

网络验证php接口逆向,一个专利查错的逆向(网络验证)

發(fā)布時(shí)間:2023/12/1 php 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 网络验证php接口逆向,一个专利查错的逆向(网络验证) 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

[C#] 純文本查看 復(fù)制代碼bool flag = true;

if (!fileInfo.CreationTime.ToString().Equals(configData.fileCreateTime))//這里是校驗(yàn)License,直接刪除掉

{

MessageBox.Show("認(rèn)證文件已損壞!");

flag = false;

Application.Exit();

}

if (flag)

{

LicenseService licenseService = new LicenseService();

if (licenseService.onlineCheck(configData.sn))

{

configData.lastAccessTime = DateTime.Now.ToString();

File.WriteAllText(Directory.GetCurrentDirectory() + "\\license", DESUtil.Encrypt(JsonUtil.objectToString(configData)));

}

else

{

DateTime d = DateTime.Parse(configData.lastAccessTime);

int days = (DateTime.Now - d).Days;

if (days > 7)

{

flag = false;

MessageBox.Show("已經(jīng)超過(guò)7天沒(méi)有認(rèn)證軟件\r\n請(qǐng)連接互聯(lián)網(wǎng)后重啟軟件");

Application.Exit();

}

}

}

if (flag)//這里是對(duì)比版本的所以沒(méi)有必要?jiǎng)h除掉

{

VersionService versionService = new VersionService();

VersionInfo newVersionInfo = versionService.getNewVersionInfo("vimiLVloKqDbOdTkIrQdAhtZkJFClP14594231815470201");

if (newVersionInfo != null)

{

string text2 = File.ReadAllText(Directory.GetCurrentDirectory() + "\\version");

if (!text2.Equals(newVersionInfo.versionNum))

{

new frmVersion

{

oldVersion = text2,

newVersion = newVersionInfo.versionNum,

downloadUrl = newVersionInfo.fileUrl,

updateInfo = newVersionInfo.updateInfo

}.ShowDialog();

}

}

string text3 = StringCommon.RandomString(50);

File.WriteAllText(Directory.GetCurrentDirectory() + "\\hander", DESUtil.Encrypt(text3));//下面就是啟動(dòng)主程序Patstory了,這個(gè)程序只是個(gè)啟動(dòng)器性質(zhì)的

new Process

{

StartInfo =

{

FileName = Directory.GetCurrentDirectory() + "\\PatStory\\PatStory.exe",

Arguments = text3

}

}.Start();

}

}

}

}

}

總結(jié)

以上是生活随笔為你收集整理的网络验证php接口逆向,一个专利查错的逆向(网络验证)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。