学校未开源网络登陆器移植到linux的问题
偶学校居然把网络改成拨号式的登陆上网了,而且是包月方式要冲值才能用.学校只发布了WIN下的程序,也不公布源码.LINUX下拨号程序无法登陆,在WIN使用过程中,网络认证计费客户端登陆程序 V3.25 好象有申请IP的过程,怀疑其中有VLAN的东东...具体的因为不会分析程序,说不清楚.SORRY
偶想写个LINUX下的版本,应该怎么操作?具体要做些什么事情,要用些什么软件?
因为一直在看系统方面的书,对网络方面没有怎么研究,所以不知道应该怎么入手,在linux下不上网又太不方便了.....
如果嫌麻烦的话,还请说个步凑嘛,偶自己好弄....如果再像学系统那样漫天的翻书,偶实在忙不过来(也学不过来),只能麻烦大牛们指点指点了.
[ 本帖最后由 lsym 于 2006-8-19 21:56 编辑 ]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
>>
>>
>>从理论上来讲,只要能分析透认证数据协议,就可以伪造认证通讯数据,从而重新
>>改写客户端。这样的话,就不用反汇编。分析认证数据协议,需要对该通讯过程十分
>>了解。简单的数据分析,可以丛标准的802.1x协议入手,看的快的话,一天就可以
>>弄通。另外,认证过程是不会在乎客户端是使用什么语言书写的。
>>
>>
抓包只是找到了程序网络部分的连接,要看程序本身的运行情况的话得反汇编看,考耐心了...呵呵
>>
>>
>>简单看了一下,211.95.165.2的地址含有SolarWinds Network Management
>>光看你贴得那几个包还看不出来具体的实现过程,你如果准备破解,建议多分析一下包。
>>
>>
=====================================================================
No: 56
Timestamp: 13:29:24:987
MAC source address: 00030D0E9124
MAC dest address: 0007B352F800
Frame type: IP
Protocol: UDP->61440
Source IP address: 172.16.114.229
Dest IP address: 211.95.165.2
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 62
Packet data:
0000: 00 07 B3 52 F8 00 00 03 0D 0E 91 24 08 00 45 00 ...R.......$..E.
0010: 00 30 6D 93 00 00 40 11 75 D2 AC 10 72 E5 D3 5F .0m...@.u...r.._
0020: A5 02 F0 00 F0 00 00 1C AB 4B 01 0D DB 03 01 00 .........K......
0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ..............
=====================================================================
=====================================================================
No: 57
Timestamp: 13:29:24:987
MAC source address: 00:07:B3:52:F8:00
MAC dest address: 00:03:0D:0E:91:24
Frame type: IP
Protocol: UDP->61440
Source IP address: 211.95.165.2
Dest IP address: 172.16.114.229
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 68
Packet data:
0000: 00 03 0D 0E 91 24 00 07 B3 52 F8 00 08 00 45 00 .....$...R....E.
0010: 00 36 A5 87 40 00 1F 11 1E D8 D3 5F A5 02 AC 10 .6..@......_....
0020: 72 E5 F0 00 F0 00 00 22 21 25 02 0D DB 03 FB 2E r......"!%......
0030: 01 00 00 00 01 00 95 03 E8 F0 00 00 00 00 AC 10 ................
0040: 72 E5 F0 00 r...
=====================================================================
=====================================================================
No: 58
Timestamp: 13:29:25:027
MAC source address: 00:03:0D:0E:91:24
MAC dest address: 00:07:B3:52:F8:00
Frame type: IP
Protocol: UDP->61440
Source IP address: 172.16.114.229
Dest IP address: 211.95.165.2
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 370
Packet data:
0000: 00 07 B3 52 F8 00 00 03 0D 0E 91 24 08 00 45 00 ...R.......$..E.
0010: 01 64 6D 94 00 00 40 11 74 9D AC 10 72 E5 D3 5F .dm...@.t...r.._
0020: A5 02 F0 00 F0 00 01 50 8E 17 03 01 00 1F 9F C6 .......P........
0030: 97 2E 35 4C EB 6C 26 F8 7A F3 B0 20 C7 EF 30 35 ..5L.l&.z.. ..05
0040: 33 31 31 35 31 30 36 31 38 00 00 00 00 00 00 00 311510618.......
0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0060: 00 00 1F 01 9F C5 9A 20 A4 68 62 1F A1 63 EF C1 ....... .hb..c..
0070: 74 3E 36 DC E3 67 20 40 24 38 01 AC 10 72 E5 00 t.6..g @$8...r..
0080: 00 00 00 00 00 00 00 00 00 00 00 2F 84 77 37 CB .........../.w7.
0090: 7F 3A F5 01 00 00 00 00 57 4F 4B 41 4F 00 00 00 .:......WOKAO...
00A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00B0: 00 00 00 00 00 00 00 00 D3 5F A5 C8 AC 10 72 01 ........._....r.
00C0: D3 5F 81 A1 00 00 00 00 00 00 00 00 94 00 00 00 ._..............
00D0: 05 00 00 00 01 00 00 00 28 0A 00 00 02 00 00 00 ........(.......
00E0: 53 65 72 76 69 63 65 20 50 61 63 6B 20 32 00 00 Service Pack 2..
00F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0160: 01 61 02 0C F0 47 C6 97 01 00 00 03 0D 0E 91 24 .a...G.........$
0170: 00 00 ..
=====================================================================
=====================================================================No: 59
Timestamp: 13:29:25:027
MAC source address: 00:07:B3:52:F8:00
MAC dest address: 00:03:0D:0E:91:24
Frame type: IP
Protocol: UDP->61440
Source IP address: 211.95.165.2
Dest IP address: 172.16.114.229
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 195
Packet data:
0000: 00 03 0D 0E 91 24 00 07 B3 52 F8 00 08 00 45 00 .....$...R....E.
0010: 00 B5 B3 87 40 00 1F 11 10 59 D3 5F A5 02 AC 10 ....@....Y._....
0020: 72 E5 F0 00 F0 00 00 A1 53 9A 04 00 00 05 03 72 r.......S......r
0030: 09 00 00 FE 24 21 00 FF FF FF FF FF 00 00 00 00 ....$!..........
0040: 00 44 72 63 6F D3 5F A5 02 62 03 AC 10 72 E5 01 .Drco._..b...r..
0050: 2E B0 05 09 00 00 00 00 00 D3 5F A5 00 FF FF FF .........._.....
0060: 80 00 00 00 00 D3 5F A5 C0 FF FF FF C0 00 00 00 ......_.........
0070: 00 D3 5F A5 80 FF FF FF E0 00 00 00 00 D3 5F A5 .._..........._.
0080: B0 FF FF FF F0 00 00 00 00 D3 5F A5 A8 FF FF FF .........._.....
0090: F8 00 00 00 00 D3 5F A5 A4 FF FF FF FC 00 00 00 ......_.........
00A0: 00 D3 5F A5 A2 FF FF FF FE 00 00 00 00 D3 5F A5 .._..........._.
00B0: A1 FF FF FF FF 01 00 00 00 00 00 00 00 00 00 00 ................
00C0: 00 00 00 ...
=====================================================================
=====================================================================No: 60
Timestamp: 13:29:25:317
MAC source address: 00:03:0D:0E:91:24
MAC dest address: 00:07:B3:52:F8:00
Frame type: IP
Protocol: UDP->61440
Source IP address: 172.16.114.229
Dest IP address: 211.95.165.2
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 80
Packet data:
0000: 00 07 B3 52 F8 00 00 03 0D 0E 91 24 08 00 45 00 ...R.......$..E.
0010: 00 42 6D 95 00 00 40 11 75 BE AC 10 72 E5 D3 5F .Bm...@.u...r.._
0020: A5 02 F0 00 F0 00 00 2E FF 58 FF 9F C6 97 2E 35 .........X.....5
0030: 4C EB 6C 26 F8 7A F3 B0 20 C7 EF 00 00 00 44 72 L.l&.z.. .....Dr
0040: 63 6F D3 5F A5 02 62 03 AC 10 72 E5 01 2E 3D 01 co._..b...r...=.
0050:
=====================================================================No: 61
Timestamp: 13:29:25:317
MAC source address: 00:07:B3:52:F8:00
MAC dest address: 00:03:0D:0E:91:24
Frame type: IP
Protocol: UDP->61440
Source IP address: 211.95.165.2
Dest IP address: 172.16.114.229
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 60
Packet data:
0000: 00 03 0D 0E 91 24 00 07 B3 52 F8 00 08 00 45 00 .....$...R....E.
0010: 00 2C 03 88 40 00 1F 11 C0 E1 D3 5F A5 02 AC 10 .,..@......_....
0020: 72 E5 F0 00 F0 00 00 18 71 E5 07 01 10 00 06 00 r.......q.......
0030: 3D 01 FD 85 A0 00 AC 10 72 E5 FF FF =.......r...
=====================================================================
=====================================================================No: 110
Timestamp: 13:29:56:362
MAC source address: 00:03:0D:0E:91:24
MAC dest address: 00:07:B3:52:F8:00
Frame type: IP
Protocol: UDP->61440
Source IP address: 172.16.114.229
Dest IP address: 211.95.165.2
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 80
Packet data:
0000: 00 07 B3 52 F8 00 00 03 0D 0E 91 24 08 00 45 00 ...R.......$..E.
0010: 00 42 6D B7 00 00 40 11 75 9C AC 10 72 E5 D3 5F .Bm...@.u...r.._
0020: A5 02 F0 00 F0 00 00 2E D2 58 FF 9F C6 97 2E 35 .........X.....5
0030: 4C EB 6C 26 F8 7A F3 B0 20 C7 EF 00 00 00 44 72 L.l&.z.. .....Dr
0040: 63 6F D3 5F A5 02 62 03 AC 10 72 E5 01 2E 6A 01 co._..b...r...j.
0050:
=====================================================================No: 111
Timestamp: 13:29:56:362
MAC source address: 00:07:B3:52:F8:00
MAC dest address: 00:03:0D:0E:91:24
Frame type: IP
Protocol: UDP->61440
Source IP address: 211.95.165.2
Dest IP address: 172.16.114.229
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 60
Packet data:
0000: 00 03 0D 0E 91 24 00 07 B3 52 F8 00 08 00 45 00 .....$...R....E.
0010: 00 2C 4D 9B 40 00 1F 11 76 CE D3 5F A5 02 AC 10 .,M.@...v.._....
0020: 72 E5 F0 00 F0 00 00 18 0E E4 07 01 10 00 06 00 r...............
0030: 6A 01 33 87 A0 00 AC 10 72 E5 FF FF j.3.....r...
=====================================================================
=====================================================================No: 191
Timestamp: 13:30:03:662
MAC source address: 00:07:B3:52:F8:00
MAC dest address: 00:03:0D:0E:91:24
Frame type: IP
Protocol: UDP->61440
Source IP address: 211.95.165.2
Dest IP address: 172.16.114.229
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 60
Packet data:
0000: 00 03 0D 0E 91 24 00 07 B3 52 F8 00 08 00 45 00 .....$...R....E.
0010: 00 20 DE A1 40 00 1F 11 E5 D3 D3 5F A5 02 AC 10 . ..@......_....
0020: 72 E5 F0 00 F0 00 00 0C 86 1B 4D 26 B5 3A 50 10 r.........M&..
0030: 80 00 19 D8 00 00 AC 10 70 9A E0 E0 ........p...
=====================================================================
=====================================================================No: 192
Timestamp: 13:30:03:662
MAC source address: 00:03:0D:0E:91:24
MAC dest address: 00:07:B3:52:F8:00
Frame type: IP
Protocol: UDP->61440
Source IP address: 172.16.114.229
Dest IP address: 211.95.165.2
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 78
Packet data:
0000: 00 07 B3 52 F8 00 00 03 0D 0E 91 24 08 00 45 00 ...R.......$..E.
0010: 00 40 6D E5 00 00 40 11 75 70 AC 10 72 E5 D3 5F .@m...@.up..r.._
0020: A5 02 F0 00 F0 00 00 2C DD 96 FE 4A 01 ED 98 1B .......,...J....
0030: AF 5D 72 A9 81 27 A5 46 9A D9 82 18 0A 7F 44 72 .]r..'.F......Dr
0040: 63 6F D3 5F A5 02 62 03 AC 10 72 E5 01 2E co._..b...r...
=====================================================================
=====================================================================No: 239
Timestamp: 13:30:27:406
MAC source address: 00:03:0D:0E:91:24
MAC dest address: 00:07:B3:52:F8:00
Frame type: IP
Protocol: UDP->61440
Source IP address: 172.16.114.229
Dest IP address: 211.95.165.2
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 80
Packet data:
0000: 00 07 B3 52 F8 00 00 03 0D 0E 91 24 08 00 45 00 ...R.......$..E.
0010: 00 42 6E 0C 00 00 40 11 75 47 AC 10 72 E5 D3 5F .Bn...@.uG..r.._
0020: A5 02 F0 00 F0 00 00 2E A6 58 FF 9F C6 97 2E 35 .........X.....5
0030: 4C EB 6C 26 F8 7A F3 B0 20 C7 EF 00 00 00 44 72 L.l&.z.. .....Dr
0040: 63 6F D3 5F A5 02 62 03 AC 10 72 E5 01 2E 96 01 co._..b...r.....
0050:
=====================================================================
=====================================================================No: 240
Timestamp: 13:30:27:406
MAC source address: 00:07:B3:52:F8:00
MAC dest address: 00:03:0D:0E:91:24
Frame type: IP
Protocol: UDP->61440
Source IP address: 211.95.165.2
Dest IP address: 172.16.114.229
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 60
Packet data:
0000: 00 03 0D 0E 91 24 00 07 B3 52 F8 00 08 00 45 00 .....$...R....E.
0010: 00 2C B1 B6 40 00 1F 11 12 B3 D3 5F A5 02 AC 10 .,..@......_....
0020: 72 E5 F0 00 F0 00 00 18 AC E2 07 01 10 00 06 00 r...............
0030: 96 01 69 88 A0 00 AC 10 72 E5 FF FF ..i.....r...
=====================================================================
=====================================================================No: 245
Timestamp: 13:30:32:514
MAC source address: 00:07:B3:52:F8:00
MAC dest address: 00:03:0D:0E:91:24
Frame type: IP
Protocol: UDP->61440
Source IP address: 211.95.165.2
Dest IP address: 172.16.114.229
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 60
Packet data:
0000: 00 03 0D 0E 91 24 00 07 B3 52 F8 00 08 00 45 00 .....$...R....E.
0010: 00 1E A2 B9 40 00 1F 11 21 BE D3 5F A5 02 AC 10 ....@...!.._....
0020: 72 E5 F0 00 F0 00 00 0A 3B 5C 4D 24 A9 C5 50 10 r.......;M$..P.
0030: 80 00 39 0A 00 00 AC 10 6C E7 FF FF ..9.....l...
=====================================================================
=====================================================================No: 482
Timestamp: 13:30:36:810
MAC source address: 00:07:B3:52:F8:00
MAC dest address: 00:03:0D:0E:91:24
Frame type: IP
Protocol: UDP->61440
Source IP address: 211.95.165.2
Dest IP address: 172.16.114.229
Source port: 61440
Destination port: 61440
SEQ: ---
ACK: ---
Packet size: 60
Packet data:
0000: 00 03 0D 0E 91 24 00 07 B3 52 F8 00 08 00 45 00 .....$...R....E.
0010: 00 1E 2E BC 40 00 1F 11 95 BB D3 5F A5 02 AC 10 ....@......_....
0020: 72 E5 F0 00 F0 00 00 0A 3B 5C 4D 24 51 C4 50 10 r.......;M$Q.P.
0030: 80 00 44 48 00 00 AC 10 6C 7B E0 E0 ..DH....l{..
=====================================================================
>>
>>
>>建议先分析他的数据实现原理,然后就可以按照他们的数据处理流程进行编写拨号软件了.
>>有些ISP为了防止使用代理以及账号被盗,会对客户端多网络接口进行检查,并对验证数
>>据传送进行一些非常规加密措施。而且还要要求客户端和认证服务器定时联系更新计费数
>>据库。
>>
>>
接上,看格式好象是用VC写的
这个是它的程序