电骡 server.met 服务器列表读取工具

为了让我的电骡能够在内网获得高ID,我开了一个VPN,但我只想让电骡走VPN,而不想让所有的程序走VPN,所以我需要将电骡服务器列表中的服务器地址加入路由表,这样我就需要一个小工具来把电骡服务器列表列出来。然而我找来找去都没有找到这样的工具,于是本着自己动手丰衣足食的精神,自己动手写了这个小工具。

写好后本着共产主义的精神,将此小工具放出。

戳右边链接下载源码–>dumpservermet.c

示例输出

gs@gs-laptop:~$ ./dumpservermet .aMule/server.met
server: #1
	address: 83.233.30.128:4500
	tags count: 21
		tag 1, type = 2
			name(1): {0x01}
			string(15): Master Server 2
		tag 2, type = 2
			name(1): {0x01}
			string(15): Master Server 2
		tag 3, type = 2
			name(1): {0x0B}
			string(16): www.StormSex.net
		tag 4, type = 2
			name(1): {0x0B}
			string(16): www.StormSex.net
		tag 5, type = 3
			name(1): {0x0D}
			uint32_t: 2
		tag 6, type = 3
			name(1): {0x0E}
			uint32_t: 0
		tag 7, type = 3
			name(5): users
			uint32_t: 76115
		tag 8, type = 3
			name(5): files
			uint32_t: 14226962
		tag 9, type = 3
			name(1): {0x0C}
			uint32_t: 1107
		tag 10, type = 3
			name(1): {0x90}
			uint32_t: 242434322
		tag 11, type = 3
			name(1): {0x87}
			uint32_t: 800000
		tag 12, type = 3
			name(1): {0x88}
			uint32_t: 7500
		tag 13, type = 3
			name(1): {0x89}
			uint32_t: 10000
		tag 14, type = 2
			name(1): {0x91}
			string(4): 17.0
		tag 15, type = 2
			name(1): {0x91}
			string(4): 17.0
		tag 16, type = 3
			name(1): {0x92}
			uint32_t: 6139
		tag 17, type = 3
			name(1): {0x94}
			uint32_t: 48832
		tag 18, type = 3
			name(1): {0x95}
			uint32_t: 283739686
		tag 19, type = 3
			name(1): {0x96}
			uint32_t: 4060021360
		tag 20, type = 8
			name(1): {0x97}
			uint16_t: 4500
		tag 21, type = 8
			name(1): {0x98}
			uint16_t: 4514
server: #2
	address: 88.80.28.48:4321
	tags count: 21
		tag 1, type = 2
			name(1): {0x01}
			string(16): !-= Porn Pit =-!
		tag 2, type = 2
			name(1): {0x01}
			string(16): !-= Porn Pit =-!
		tag 3, type = 2
			name(1): {0x0B}
			string(26): !-= www.FreeSexBay.com =-!
		tag 4, type = 2
			name(1): {0x0B}
			string(26): !-= www.FreeSexBay.com =-!
		tag 5, type = 3
			name(1): {0x0D}
			uint32_t: 0
		tag 6, type = 3
			name(1): {0x0E}
			uint32_t: 0
		tag 7, type = 3
			name(5): users
			uint32_t: 62229
		tag 8, type = 3
			name(5): files
			uint32_t: 15074334
		tag 9, type = 3
			name(1): {0x0C}
			uint32_t: 1253
		tag 10, type = 3
			name(1): {0x90}
			uint32_t: 242301071
		tag 11, type = 3
			name(1): {0x87}
			uint32_t: 300000
		tag 12, type = 3
			name(1): {0x88}
			uint32_t: 5000
		tag 13, type = 3
			name(1): {0x89}
			uint32_t: 10000
		tag 14, type = 2
			name(1): {0x91}
			string(4): 17.0
		tag 15, type = 2
			name(1): {0x91}
			string(4): 17.0
		tag 16, type = 3
			name(1): {0x92}
			uint32_t: 6139
		tag 17, type = 3
			name(1): {0x94}
			uint32_t: 18668
		tag 18, type = 3
			name(1): {0x95}
			uint32_t: 1396216281
		tag 19, type = 3
			name(1): {0x96}
			uint32_t: 3422487152
		tag 20, type = 8
			name(1): {0x97}
			uint16_t: 4321
		tag 21, type = 8
			name(1): {0x98}
			uint16_t: 4335

取服务器地址样例输出

gs@gs-laptop:~$ ./dumpservermet .aMule/server.met | grep address
	address: 83.233.30.128:4500
	address: 88.80.28.48:4321
	address: 95.211.78.239:7697
	address: 188.40.142.140:4661
	address: 94.75.216.6:4666
	address: 60.172.80.197:8080
	address: 83.233.30.55:4500
	address: 95.211.78.232:9715
	address: 123.146.124.33:4242
	address: 88.191.228.66:7111
	address: 193.169.86.73:4184
	address: 212.63.206.35:4242
	address: 178.86.3.184:4184
	address: 88.191.81.111:7111
This entry was posted in 我的东西 and tagged , , , , , . Bookmark the permalink.

4 thoughts on “电骡 server.met 服务器列表读取工具

发表评论

电子邮件地址不会被公开。

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>