.method public hidebysig instance string
getSN(string pid,
string usr) cil managed
{
// Code size 169 (0xa9)
.maxstack 5
.locals init (string V_0,
string V_1,
string[] V_2)
IL_0000: ldstr ""
IL_0005: stloc.0
IL_0006: ldstr ""
IL_000b: stloc.1
IL_000c: ldarg.1
IL_000d: ldstr "-"
IL_0012: ldstr ""
IL_0017: callvirt instance string [mscorlib]System.String::Replace(string,
string)
IL_001c: stloc.0
IL_001d: ldarg.0
IL_001e: ldloc.0
IL_001f: call instance string wediprn.edinfo::pseq(string)
IL_0024: stloc.0
IL_0025: ldarg.0
IL_0026: ldloc.0
IL_0027: call instance string wediprn.edinfo::mdec(string)
IL_002c: stloc.0
IL_002d: ldc.i4.5
IL_002e: newarr [mscorlib]System.String
IL_0033: stloc.2
IL_0034: ldloc.2
IL_0035: ldc.i4.0
IL_0036: ldloc.0
IL_0037: ldc.i4.0
IL_0038: ldc.i4.2
IL_0039: callvirt instance string [mscorlib]System.String::Substring(int32,
int32)
IL_003e: stelem.ref
IL_003f: ldloc.2
IL_0040: ldc.i4.1
IL_0041: ldstr "-"
IL_0046: stelem.ref
IL_0047: ldloc.2
IL_0048: ldc.i4.2
IL_0049: ldloc.0
IL_004a: ldc.i4.2
IL_004b: ldc.i4.4
IL_004c: callvirt instance string [mscorlib]System.String::Substring(int32,
int32)
IL_0051: stelem.ref
IL_0052: ldloc.2
IL_0053: ldc.i4.3
IL_0054: ldstr "-"
IL_0059: stelem.ref
IL_005a: ldloc.2
IL_005b: ldc.i4.4
IL_005c: ldloc.0
IL_005d: ldc.i4.6
IL_005e: ldc.i4.4
IL_005f: callvirt instance string [mscorlib]System.String::Substring(int32,
int32)
IL_0064: stelem.ref
IL_0065: ldloc.2
IL_0066: call string [mscorlib]System.String::Concat(string[])
IL_006b: stloc.1
IL_006c: ldarg.2
IL_006d: ldc.i4.1
IL_006e: ldc.i4.1
IL_006f: callvirt instance string [mscorlib]System.String::Substring(int32,
int32)
IL_0074: ldstr "X"
IL_0079: ldarg.2
IL_007a: ldarg.2
IL_007b: callvirt instance int32 [mscorlib]System.String::get_Length()
IL_0080: ldc.i4.1
IL_0081: sub
IL_0082: ldc.i4.1
IL_0083: callvirt instance string [mscorlib]System.String::Substring(int32,
int32)
IL_0088: ldstr "L"
IL_008d: call string [mscorlib]System.String::Concat(string,
string,
string,
string)
IL_0092: stloc.0
IL_0093: ldloc.0
IL_0094: ldstr "-EI-"
IL_0099: ldloc.1
IL_009a: call string [mscorlib]System.String::Concat(string,
string,
string)
IL_009f: stloc.1
IL_00a0: ldloc.1
IL_00a1: callvirt instance string [mscorlib]System.String::ToUpper()
IL_00a6: stloc.1
IL_00a7: ldloc.1
IL_00a8: ret
} // end of method edinfo::getSN
public frm_main()
{
this.ls_port = "";
this.ls_dcode = "";
this.ls_shag = "";
string pid = "";
string str2 = "";
string str3 = "";
this.ls_usr = "";
str2 = "-";
edinfo edinfo = new edinfo();
this.InitializeComponent();
if (!File.Exists("edi.xml"))
{
edinfo.newxml();
}
XmlReader reader = XmlReader.Create("edi.xml");
try
{
reader.Read();
}
catch
{
reader.Close();
edinfo.newxml();
reader = XmlReader.Create("edi.xml");
reader.Read();
}
reader.ReadStartElement("system");
reader.ReadStartElement("PID");
str3 = reader.ReadString();
this.gs_pid = str3;
reader.ReadEndElement();
reader.ReadStartElement("SN");
str2 = reader.ReadString();
reader.ReadEndElement();
reader.ReadStartElement("User");
this.ls_usr = reader.ReadString();
reader.ReadEndElement();
reader.ReadStartElement("Location");
this.lsr_loc = reader.ReadString();
reader.ReadEndElement();
reader.ReadStartElement("Phone");
this.lsr_phone = reader.ReadString();
reader.ReadEndElement();
reader.ReadEndElement();
reader.Close();
pid = edinfo.CheckPID(str3);
pid = edinfo.getSN(pid, this.ls_usr);
if (str2 == pid)
{
this.lbreg = true;
this.button2.Text = "注册信息";
}
else
{
this.lbreg = false;
this.lsr_phone = this.lsr_phone.Substring(0, 4) + "******";
}
this.webBrowser.Navigate("http://edi.easipass.com/dataportal/login.do;jsessionid=JchE0ll5uv1LFE5dZThcgq1enrL4gTmsd2vYf3arT5mJmuRmgrN6!1195351749");
}
这些是什么意思啊?请问?
[课程]Linux pwn 探索篇!