HackTheGame 攻略

落爺英雄遲暮 提交于 2020-05-05 13:38:38

今天下载了游戏HackTheGame,这个游戏是一个基于Windows命令行的黑客游戏,我玩着感觉挺有意思的,于是决定写一组这个游戏的攻略。

游戏下载地址: https://www.hackerforever.com/guest.php?h=hackthegame

各关攻略汇总:http://my.oschina.net/Tsybius2014/blog/685213

游戏本身并不大,HackTheGame.exe可以进入游戏,HackTheGame.htg是游戏帮助,用记事本打开即可查看,不过其中的功能我们在后面的游戏过程中都会用到,所以说在这里就不再做过多说明了。

进入游戏后,需要先选择语言并录入一个用户名,用户名不能多于10个字符(否则系统会嘲讽你一下)。

我选择了英文语言包,Hacker名为Tsybius。

刚进游戏时界面如下:

过了一会儿,左上角的Inbox会有一封新邮件,内容如下:

TITLE : Hi there
FROM : chaozz@fake-mail-address.com
----------------------------------------------------------

Hi there Tsybius,

I have high hopes for you, your computer skills
are way above normal, so I guess it's ok to take
u 2 the next level.

Your first target to get a port scanning tool. I
know a computer on which you can find such a tool.
You will need to hack into that system and get
that tool. 

The filename of that tool is: PortScannerW32.exe
It should be in a folder called HackTools or some-
thing.

Here is some data you will need for this mission:
His IP address: 196.70.138.213
Open port     : 2693
His login     : master
His password  : ilovemywife

First PING his IP address to see if he's online.
Then TELNET to his computer using the IP and Port,
login, steal the file and get the hell out!

!! IMPORTANT !!
-DON'T- forget to remove your telnet logfile from
the TelnetLogs folder. The file you should always
remove be4 you disconnect is: 192.168.010.001

Good luck. If you succeed I will email you again.

chaozz

这里面说了本关的几个要点:

1、你可以用ping命令查看某台主机有无响应

2、你可以用telnet连接远程主机,登录需要IP地址、端口号、用户名和密码

3、本关你要偷取文件 PortScannerW32.exe

4、登出的时候,别忘了清除掉TelnetLogs目录下的登录日志

在本关中,登录的IP地址、端口号、用户名和密码都是随机生成的,需要以具体邮件内容为准。

先用ping命令查看是否能够成功连接到指定主机,如果能,则输入命令 telnet IP地址 端口号,连接远程主机

也可以通过程序左上方的Telnet工具,直接输入IP地址和端口号访问

连接远程主机成功后,首先要输入用户名和密码,就输入邮件中给出的用户名和密码即可。

PS:登录界面的字符画是用image2txt.exe工具生成的,该工具就存放在游戏根目录里的Tool目录中,有兴趣的朋友可以去试试,记住生成后的字符串使用等宽字体(如Consolas)才能保证观看效果。

登录成功后提示,玩家应尽快完成任务,否则有被警察逮捕的危险。

远程主机上的目录树如下:

在目录HackingToolz中,可以找到PortScannerW32.exe,这就是我们要找的东西!

找到左上方四个按钮中的GetFile,在FileName栏中输入要下载的exe文件名,即可开始下载!

剩下的任务就是毁尸灭迹了。用ipconfig命令查看了下自己本机的IP地址:192.168.010.001

在目录TelnetLogs中,每个登录地址都是一个文件,我们用del命令删除192.168.010.001即可

输入命令 disconnect 顺利通关!

过关后输入命令save可以保存游戏,输入命令load可以加载游戏。保存的存档放置在Save目录中,每个用户ID使用一种语言包可以保存唯一的一份存档。

附:HackTheGame第一关配置文件m1.htg

m1.htg
; mission file
; by chaozz.nl
;
*EMAIL
;first the title
Hi there
;then the sender address
chaozz@fake-mail-address.com
;
Hi there {hacker},

I have high hopes for you, your computer skills
are way above normal, so I guess it's ok to take
u 2 the next level.

Your first target to get a port scanning tool. I
know a computer on which you can find such a tool.
You will need to hack into that system and get
that tool. 

The filename of that tool is: PortScannerW32.exe
It should be in a folder called HackTools or some-
thing.

Here is some data you will need for this mission:
His IP address: {attack_ip}
Open port     : {attack_port}
His login     : {random_login}
His password  : {random_password}

First PING his IP address to see if he's online.
Then TELNET to his computer using the IP and Port,
login, steal the file and get the hell out!

!! IMPORTANT !!
-DON'T- forget to remove your telnet logfile from
the TelnetLogs folder. The file you should always
remove be4 you disconnect is: {own_ip}

Good luck. If you succeed I will email you again.

chaozz
*END EMAIL
;
;
*INFECT_WITH_VIRUS
0
;
*STEAL_FILE
PortScannerW32.exe
*END STEAL_FILE
;
*DESTROY_FILE
0
*END DESTROY_FILE
;
;
*FOLDER_STUCTURE
;+  = a folder
;-- = a file in that folder
;
--autoexec.bat
--command.com
--config.sys
--io.sys
--msdos.sys
+Windows
--Win.com
--bgates.txt
+HackingToolz
--PortScannerW32.exe
+Documents
--Secret.doc
--Passwords.doc
--My Homework.txt
--Taxes.doc
+TelnetLogs
--{own_ip}
--{random_ip}
--{random_ip}
--{random_ip}
--{random_ip}
--{random_ip}
--{random_ip}
--{random_ip}
+Pictures
--Naked.jpg
*END FOLDER_STRUCTURE
;
;now show what the command looks like when you TELNET into it
*TELNET_LOGIN_SCREEN
$$$$$$$$$$$$$$$$$$$$$$$$$*"           ^""**$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$e$$$$$$$$beee,       "*$$$$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$P""     "*$$$$""$b.       "$$$$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$"            "$F   *$$$c      ^*$$$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$P              dP     ^$$$$c      ^*$$$$$$$$$$
$$$$$$$$$$$$$$$$$$$"              J$      $$$$$$b       "$$$$$$$$$
$$$$$$$$$$$$$$$$$P       .eeee.  4$      $$$$$$$$b       ^$$$$$$$$
$$$$$$$$$$$$$$$$F      .d$$$$$$$b$"     d$$$$$$$$$r       ^$$$$$$$
$$$$$$$$$$$$$$$P      d$$$$$$$$$$%     J$$$$$$$$$$$        3$$$$$$
$$$$$$$$$$$$$$$      $$$$$$$$$$$F     4$" "$$$$$$$$         $$$$$$
$$$$$$$$$$$$$$F     $$$$$$$$$$$P     .$%   ^*$$$$$$         $$$$$$
$$$$$$$$$$$$$$F    4$$$$$$$$$$$eeeeee$$.     ^$c            $$$$$$
$$$$$$$$$$$$$$F    $$$$               "$b      "$c         J$$$$$$
$$$$$$$$$$$$$$$    $$$%                 *$c      *$.     .d$$$$$$$
$$$$$$$$$$$$$$$b   '$P                   ^$$.     ^$$$$$$$$$$*$$$$
$$$$$$$$$$$$$$$$$.  *$$$$$$$$"""""""$$$$$$$$$b      "$$$$$$$"4$$$$
$$$$$$$$$$$$$$$$$$e  $$$$$$$%       $$$$$$$$$$$c      *$$$P" $$$$$
$$$$$$$$$$$$$$$$$$$$b.*$$$$$        ^$$$$$$$$$$$$$$$$$$$P"  4$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$.         "**$$$$$$$$$$$*""    4$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.                            d$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$c                        .d$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$c.              ,ee$$$$$$$$$$$$$
-Welkom master, good to see you again!
*END TELNET_LOGIN_SCREEN

END

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!