找回密码
 加入
搜索
查看: 2909|回复: 3

如何读取PUBWIN日志中的卡号

[复制链接]
发表于 2009-9-16 21:51:11 | 显示全部楼层 |阅读模式
登陆PUBWIN后生成的Client.log 文件.如何读取下里面的登陆卡号.内容以下
2009-07-08 10:21:33 250 INFO  启动客户版 2009-07-08 10:21:33
2009-07-08 10:21:33 250 ERROR Genvf CreateFile(2)
2009-07-08 10:21:33 313 ERROR CGenfs:225:2
2009-07-08 10:21:33 360 INFO  版本号:6.0.000.000.035.0804031639
2009-07-08 10:21:33 360 INFO  类型:Auto Update , by Servlet ,Genvf
2009-07-08 10:21:33 500 INFO  BGN CHintVideo::GetContext, AdPosition:1
2009-07-08 10:21:33 500 INFO  BGN CHintVideo::FirstPlayLockAd
2009-07-08 10:21:33 1188 INFO  END CHintVideo::FirstPlayLockAd
2009-07-08 10:21:33 1188 INFO  OnWMGraphNotify:13
2009-07-08 10:21:34 1266 INFO  OnWMGraphNotify:14
2009-07-08 10:21:34 1360 INFO  OnWMGraphNotify:1
2009-07-08 10:21:36 3438 ERROR Open Failed When Read Config.dat:2
2009-07-08 10:21:37 5141 INFO  菜单命令重启
2009-07-08 10:21:37 5203 ERROR SoapClientAgent req_ChangeState:Unknown exception
2009-07-08 10:21:38 5391 INFO  BGN CHintVideo::GetContext, AdPosition:6
2009-07-08 10:21:38 5391 INFO  保存动态信息到内存文件 BGN
2009-07-08 10:21:38 5391 INFO  保存动态信息到内存文件 END
2009-07-08 10:21:40 8203 INFO  菜单-重起,ExitWindowsEx前
2009-07-08 10:21:40 8203 ERROR CreateFile genvf(2)
2009-07-08 10:21:40 8203 INFO  菜单-重起,ExitWindowsEx后
2009-09-08 08:46:38 797 INFO  启动客户版 2009-09-08 08:46:38
2009-09-08 08:46:38 813 INFO  服务器IP地址:192.168.0.232
2009-09-08 08:46:38 1328 INFO  版本号:6.0.000.000.035.0804031639
2009-09-08 08:46:38 1328 INFO  类型:Auto Update , by Servlet ,Genvf
2009-09-08 08:46:39 2266 INFO  BGN CHintVideo::GetContext, AdPosition:1
2009-09-08 08:46:39 2266 INFO  Context:        AdID=1520PolicyID=10804AdName=gongyi0314tvc15.wmvAdTimeLength=15AdFileSize=685470AdBeginPos=Md5=R+jeq2zRNTmPOEllPP9Idg==Advertiser=广告商名称1beginCode=endCode=NetBusy=0LinkUrl=ChildAdID=0
2009-09-08 08:46:39 2438 INFO  BGN Download
2009-09-08 08:46:39 2438 INFO  BGN CHintVideo::FirstPlayLockAd
2009-09-08 08:46:40 2719 INFO  END Download
2009-09-08 08:46:45 8406 INFO  END CHintVideo::FirstPlayLockAd
2009-09-08 08:46:45 8406 INFO  OnWMGraphNotify:13
2009-09-08 08:46:45 8547 INFO  OnWMGraphNotify:14
2009-09-08 08:46:46 8688 ERROR Open Failed When Read Config.dat:2
2009-09-08 08:46:46 8703 INFO  客户机WEB服务地址:https://192.168.0.232:8443/NetCafe/services/CltService
2009-09-08 08:46:48 11078 INFO  控制台列表: 192.168.0.224; 192.168.0.223; 192.168.0.232;
2009-09-08 08:46:48 11094 INFO  获取配置成功 [50,1535,0,0,0,0,15,3,3,1,1,20416,32,1062,0,0,0,0,4,1][177760,0][192.168.0.232,(null),192.168.119.197,(null),,,WORKGROUP,sunnet,1,(null),(null),,,,6418300562,新天地网吧,A029,2009-09-07 08:43:05,(null),(null),,(null),(null),(null),(null),(null),(null),(null),81340892,440921198508084516]
2009-09-08 08:46:49 12063 ERROR CSniffer InitArpInfo:31
2009-09-08 08:46:49 12078 INFO  BGN SYSTEM_OP_TIMER_INIT_INSTANCE
2009-09-08 08:46:49 12578 INFO  装载Pubclt成功
2009-09-08 08:46:49 12578 ERROR 装载Pubclt接口函数失败
2009-09-08 08:46:49 12578 ERROR ClientEventFilter.dll装载失败
2009-09-08 08:46:49 12578 INFO  启用资产管理
2009-09-08 08:46:49 12578 INFO  SaveToCfgForXunShan BGN
2009-09-08 08:46:49 12578 INFO  IsVirtualDisktop:0, WindowsHandle:131234, BarCode:6418300562, BarName:新天地网吧, UserType:0, IsDebug:0
2009-09-08 08:46:49 12578 INFO  SaveToCfgForXunShan END
2009-09-08 08:46:51 14406 INFO  Load HintSock.dll Success
2009-09-08 08:46:51 14406 INFO  Communicate Type is:0
2009-09-08 08:46:51 14453 ERROR Didn't get the PubWinSendData SetVersionEx address!
2009-09-08 08:46:51 14453 ERROR Didn't get the PubWinSendData SetSecuCommand address!
2009-09-08 08:46:51 14453 INFO  END CSecurity::InstallHint
2009-09-08 08:46:51 14547 INFO  Load wwm.dll Success
2009-09-08 08:46:52 14938 INFO  启用虚拟桌面:0, 启用游戏菜单:0
2009-09-08 08:46:52 15156 INFO  取到的实名卡卡号是:0081340892
2009-09-08 08:46:52 15156 INFO  保存动态信息到内存文件 BGN
2009-09-08 08:46:52 15156 INFO  保存动态信息到内存文件 END
2009-09-08 08:46:52 15156 INFO  END SYSTEM_OP_TIMER_INIT_INSTANCE
2009-09-08 08:46:52 15531 INFO  BGN CHintVideo::GetContext, AdPosition:6
2009-09-08 08:46:52 15531 ERROR CHintVideo::GetContext (HTTP/1.1 602 No Corresponding Ad. At Current Time)
2009-09-08 08:46:52 15531 INFO  保存动态信息到内存文件 BGN
2009-09-08 08:46:52 15531 INFO  保存动态信息到内存文件 END
2009-09-08 08:46:57 20391 INFO  Local Hard Info:AuthenticAMD AMD Athlon(tm) 64 X2 Dual Core Processor 4800+;AuthenticAMD AMD Athlon(tm) 64 X2 Dual Core Processor 4800+|2048M|ASUSTeK Computer INC. G-SURF365|OKSTOR   iStorage         SCSI Disk Device;ST3160815AS|NVIDIA NVIDIA GeForce 8600 GT
2009-09-08 08:46:57 20672 ERROR GetCpuFanSpeed fail:40002
2009-09-08 08:46:57 20672 ERROR m_pGetVideoCardTemperature fail:40002
2009-09-08 08:49:30 173078 INFO  解除挂机失败:40212
2009-09-08 08:49:43 186094 INFO  解除挂机失败:40212
2009-09-08 08:49:59 202500 INFO  保存动态信息到内存文件 BGN
2009-09-08 08:49:59 202500 INFO  保存动态信息到内存文件 END
2009-09-08 08:49:59 202516 INFO  保存动态信息到内存文件 BGN
2009-09-08 08:49:59 202516 INFO  保存动态信息到内存文件 END
2009-09-08 08:50:30 232906 INFO  获取当前用户消费信息, 用户编号:81340892, 开始时间:2009-09-07 07:02, 结束时间:2009-09-07 08:46, 使用时间:104(分钟), 预付款:12, 消费金额:12, 套餐类型:普通模式, 计费方式:固定费用, 优惠套餐:, 现金预付款:0, 支付方式内容:储值支付, 客户模式:单机
2009-09-08 08:50:47 250313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:50:47 250313 INFO  TCP Connection--192.168.20.29:1122
2009-09-08 08:50:53 256328 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:50:53 256328 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:51:47 310313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:51:47 310313 INFO  TCP Connection--192.168.20.29:1132
2009-09-08 08:51:53 316313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:51:53 316313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:52:00 322797 INFO  获取当前用户消费信息, 用户编号:81340892, 开始时间:2009-09-07 07:02, 结束时间:2009-09-07 08:48, 使用时间:106(分钟), 预付款:12, 消费金额:12, 套餐类型:普通模式, 计费方式:固定费用, 优惠套餐:, 现金预付款:0, 支付方式内容:储值支付, 客户模式:单机
2009-09-08 08:52:47 370313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:52:47 370313 INFO  TCP Connection--192.168.20.29:1144
2009-09-08 08:52:53 376313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:52:53 376313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:53:47 430313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:53:47 430313 INFO  TCP Connection--192.168.20.29:1152
2009-09-08 08:53:53 436313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:53:53 436313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:54:47 490313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:54:47 490313 INFO  TCP Connection--192.168.20.29:1161
2009-09-08 08:54:53 496313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:54:53 496313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:55:47 550313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:55:47 550313 INFO  TCP Connection--192.168.20.29:1169
2009-09-08 08:55:53 556313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:55:53 556313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:56:47 610313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:56:47 610313 INFO  TCP Connection--192.168.20.29:1177
2009-09-08 08:56:53 616313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:56:53 616313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:57:47 670313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:57:47 670313 INFO  TCP Connection--192.168.20.29:1187
2009-09-08 08:57:53 676313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:57:53 676313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:58:47 730313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:58:47 730313 INFO  TCP Connection--192.168.20.29:1195
2009-09-08 08:58:53 736313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:58:53 736313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 08:59:47 790313 ERROR CSniffer InitArpInfo:31
2009-09-08 08:59:47 790313 INFO  TCP Connection--192.168.20.29:1204
2009-09-08 08:59:53 796313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 08:59:53 796313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:00:47 850313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:00:47 850313 INFO  TCP Connection--192.168.20.29:1212
2009-09-08 09:00:53 856313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:00:53 856313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:01:47 910313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:01:47 910313 INFO  TCP Connection--192.168.20.29:1221
2009-09-08 09:01:53 916313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:01:53 916313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:02:47 970313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:02:47 970313 INFO  TCP Connection--192.168.20.29:1231
2009-09-08 09:02:53 976313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:02:53 976313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:03:47 1030313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:03:47 1030313 INFO  TCP Connection--192.168.20.29:1239
2009-09-08 09:03:53 1036313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:03:53 1036313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:04:47 1090313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:04:47 1090313 INFO  TCP Connection--192.168.20.29:1248
2009-09-08 09:04:53 1096313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:04:53 1096313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:05:47 1150313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:05:47 1150313 INFO  TCP Connection--192.168.20.29:1256
2009-09-08 09:05:53 1156313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:05:53 1156313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:06:47 1210313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:06:47 1210313 INFO  TCP Connection--192.168.20.29:1265
2009-09-08 09:06:53 1216313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:06:53 1216313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:07:47 1270313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:07:47 1270313 INFO  TCP Connection--192.168.20.29:1274
2009-09-08 09:07:53 1276313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:07:53 1276313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:08:47 1330313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:08:47 1330313 INFO  TCP Connection--192.168.20.29:1283
2009-09-08 09:08:53 1336313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:08:53 1336313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:09:47 1390313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:09:47 1390313 INFO  TCP Connection--192.168.20.29:1291
2009-09-08 09:09:53 1396313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:09:53 1396313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:10:47 1450313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:10:47 1450313 INFO  TCP Connection--192.168.20.29:1300
2009-09-08 09:10:53 1456313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:10:53 1456313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:11:47 1510313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:11:47 1510313 INFO  TCP Connection--192.168.20.29:1308
2009-09-08 09:11:53 1516313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:11:53 1516313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:12:47 1570313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:12:47 1570313 INFO  TCP Connection--192.168.20.29:1317
2009-09-08 09:12:53 1576313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:12:53 1576313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:13:47 1630313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:13:47 1630313 INFO  TCP Connection--192.168.20.29:1326
2009-09-08 09:13:53 1636313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:13:53 1636313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:14:47 1690313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:14:47 1690313 INFO  TCP Connection--192.168.20.29:1334
2009-09-08 09:14:53 1696313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:14:53 1696313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:15:47 1750313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:15:47 1750313 INFO  TCP Connection--192.168.20.29:1343
2009-09-08 09:15:53 1756313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:15:53 1756313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:16:40 1802750 INFO  获取当前用户消费信息, 用户编号:81340892, 开始时间:2009-09-07 07:02, 结束时间:2009-09-07 09:12, 使用时间:130(分钟), 预付款:12, 消费金额:12, 套餐类型:普通模式, 计费方式:固定费用, 优惠套餐:, 现金预付款:0, 支付方式内容:储值支付, 客户模式:单机
2009-09-08 09:16:47 1810313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:16:47 1810313 INFO  TCP Connection--192.168.20.29:1353
2009-09-08 09:16:53 1816313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:16:53 1816313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:17:47 1870313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:17:47 1870313 INFO  TCP Connection--192.168.20.29:1363
2009-09-08 09:17:53 1876313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:17:53 1876313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:18:47 1930313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:18:47 1930313 INFO  TCP Connection--192.168.20.29:1371
2009-09-08 09:18:53 1936313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:18:53 1936313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:19:47 1990313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:19:47 1990313 INFO  TCP Connection--192.168.20.29:1379
2009-09-08 09:19:53 1996313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:19:53 1996313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:20:41 2044266 INFO  获取当前用户消费信息, 用户编号:81340892, 开始时间:2009-09-07 07:02, 结束时间:2009-09-07 09:16, 使用时间:134(分钟), 预付款:12, 消费金额:12, 套餐类型:普通模式, 计费方式:固定费用, 优惠套餐:, 现金预付款:0, 支付方式内容:储值支付, 客户模式:单机
2009-09-08 09:20:47 2050313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:20:47 2050313 INFO  TCP Connection--192.168.20.29:1390
2009-09-08 09:20:53 2056313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:20:53 2056313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
2009-09-08 09:21:29 2092156 INFO  获取当前用户消费信息, 用户编号:81340892, 开始时间:2009-09-07 07:02, 结束时间:2009-09-07 09:17, 使用时间:135(分钟), 预付款:12, 消费金额:12, 套餐类型:普通模式, 计费方式:固定费用, 优惠套餐:, 现金预付款:0, 支付方式内容:储值支付, 客户模式:单机
2009-09-08 09:21:47 2110313 ERROR CSniffer InitArpInfo:31
2009-09-08 09:21:47 2110313 INFO  TCP Connection--192.168.20.29:1400
2009-09-08 09:21:53 2116313 ERROR CSniffer::GetDestIPMac: Can't get dest mac
2009-09-08 09:21:53 2116313 ERROR CSniffer ShakeHand GetDestIPMac 192.168.0.232:5
 楼主| 发表于 2009-9-16 21:53:14 | 显示全部楼层
我就是用AU3读取出  用户编号:81340892  里面的  81340892  这个卡号.源码应如何编写.
发表于 2009-9-16 21:57:44 | 显示全部楼层
$a = '2009-..., 用户编号:81340892, 开始时间...客户模式:单机'
$a = StringRegExp($a, '编号:(\d+),', 3)
MsgBox(0, 0, $a[0])
发表于 2009-9-16 23:12:12 | 显示全部楼层
楼上的方法完全正确.
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-16 02:39 , Processed in 0.075192 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表