HackTheGame 攻略 - 第一關

今天下載了遊戲HackTheGame,這個遊戲是一個基於Windows命令行的黑客遊戲,我玩着感受挺有意思的,因而決定寫一組這個遊戲的攻略。php

遊戲下載地址: https://www.hackerforever.com/guest.php?h=hackthegamedom

各關攻略彙總:http://my.oschina.net/Tsybius2014/blog/685213工具

遊戲自己並不大,HackTheGame.exe能夠進入遊戲,HackTheGame.htg是遊戲幫助,用記事本打開便可查看,不過其中的功能咱們在後面的遊戲過程當中都會用到,因此說在這裏就再也不作過多說明了。字體

進入遊戲後,須要先選擇語言並錄入一個用戶名,用戶名不能多於10個字符(不然系統會嘲諷你一下)。this

我選擇了英文語言包,Hacker名爲Tsybius。.net

剛進遊戲時界面以下:命令行

過了一下子,左上角的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

這裏面說了本關的幾個要點:code

一、你能夠用ping命令查看某臺主機有無響應orm

二、你能夠用telnet鏈接遠程主機,登陸須要IP地址、端口號、用戶名和密碼

三、本關你要偷取文件 PortScannerW32.exe

四、登出的時候,別忘了清除掉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

相關文章
相關標籤/搜索