1. 程式人生 > >1.3 攻擊應用程式Linux試驗

1.3 攻擊應用程式Linux試驗

TurnKeyLinux

介紹

個人理解TurnKeyLinux是一個只有一個應用程式的Linux版本
並用於研究滲透應用程式實驗體

詳細資訊

網站:turnkeylinux.org
(例)應用名稱:WordPress

下載應用Linux

在首頁找到WordPress應用Linux
進去後***MB ISO之類的點選下載

安裝應用Linux

親測有效:

Linux版本:Debian 8.x 64位

第一步

在這裡插入圖片描述
Install to hard disk
[試用]Try without installing(Live CD

demo mode)

Install(安裝)
hard(硬)
disk(磁碟)
Try(試著)
without(外面)
demo(演示)
mode(模式)

看不懂,然後Enter

第二步

在這裡插入圖片描述
The installer can guide you through partitioning a disk or, if you prefer, you can do it manually. With guided partitioning you will still have a chance later to review and customise the results.

if you choose guided partitioning for an entire disk, you will next be asked which disk should be used.

Partitioning method:

installer(安裝程式)
guide(引導)
through(通過)
partitioning(分割槽)
prefer(願意)
manually(手動)
With(隨著)
will(將)
still(仍)
chance(機會)
later(稍後)
review(回顧)
customise(定製) 
results(結果)
choose(選擇)
entire(整個)
asked(問)
which(哪個)
should(應該)
used(使用)
method(方法)

選擇第一個:use entire disk and set up LVM(邏輯卷管理)
選擇 OK

第三步

在這裡插入圖片描述
Before the Logical Volume Manager can be configured, the current partitioning scheme has to be written to disk. These changes cannot be undone.

After the Logical Volume Manager is configured, no additional changes to the partitioning scheme of disks containing physical volumes are allowed during the installation. Please decide if you are satisfied with the current partitioning scheme before continuing.

The partition tables of the following devices are changed:
SCSI1 (0,0,0) (sda)

Write the changes to disks and configure LVM?

Before(之前)
Logical Volume(邏輯卷)
Manager(管理)
configured(配置)
current(當前)
scheme(計劃)
written(寫,過去)
undone(消除)
After(之後)
additional(附加的)
containing(包含)
physical volumes(物理卷)
allowed(允許)
during(在...期間)
decide(確定)
satisfied(感到滿意)
continuing(繼續中)
tables(表)
following(下面)
devices(裝置)

選擇YES

第四步

在這裡插入圖片描述
You may use the whole volume group for guided partitioning, or part of it. If you use only part of it, or if you add more disks later, then you will be able to grow logical volumes later using the VLM tools, so using a smaller part of the volume group at installation time may offer more flexibility.

The minimum size of the selected partitioning recipe is 3.0 GB (or 14%); please note that the packages you choose to install may require more space than this. The maximum available size is 21.5 GB.

Hint: “max” can be used as a shortcut to specify the maximum size, or enter a percentage(e.g. “20%”) to use that percentage of the maximum size.

Amount of volume group to use for guided partitioning:

may(可以)
whole(全部)
volume group(卷組)
part(部分)
only(只)
add(增加)
more(更多)
then(然後)
able(能)
grow(發展)
tools(工具)
smaller(更小)
offer(提供)
flexibility(靈活性)
minimum(最小)
selected(挑選出來的)
recipe(配方)
note(注意)
packages(包)
require(需要)
space(空間)
maximum(最大)
available(可用)
Hint(提示)
shortcut(捷徑)
specify(指定)
enter(進入)
percentage(百分數)
Amount(數量)

百分之九十
選擇YES

第五步

在這裡插入圖片描述
if you continue, the changes listed below will be written to the disks. Otherwise, you will be able to make further changes manually.

The partition tables of the following devices are changed:

The following partitions are going to be formatted:

Write the changes to disks?

listed(列出的)
below(下面)
Otherwise(否則)
further(進一步的)
formatted(格式化)

選擇YES

第六步

在這裡插入圖片描述
It seems that this new installation is the only operating system on this computer. If so, it should be safe to install the GRUB boot loader to the master boot record of your first hard drive.

Warning: If the installer failed to detect another operating system that is present on your computer, modifying the master boot record will make that operating system temporarily unbootable, though GRUB can be manually configured later to boot it.

Install the GRUB boot loader to the master boot record?

GRUB(多作業系統)
seems(似乎)
operating system(作業系統)
if so(如果是這樣)
safe(安全)
boot loader(引導 裝載程式)
loader(裝載)
master boot record(主 引導 記錄)
record(記錄)
hard drive(硬碟)
drive(驅動)
Warning(警告)
failed(失敗,過)
detect(發現)
present(現在,禮物)
modifying(修改)
temporarily unbootable(暫時 無法開機)
though(不過,雖然,儘管)

選擇YES

第七步

在這裡插入圖片描述
Installation is complete. You need to restart the computer in order to use the new installation.

Would you like to restart now?

complete(完成)
restart(重新啟動)
order(整理)

選擇YES

第八步

在這裡插入圖片描述
Please enter new password for the root account.

Password Requirements
must be at least 8 characters long
must contain characters from at least 3 of the
following categories: uppercase, lowercase, numbers, symbols

account(賬戶)
requirements(要求)
must(必須)
least(最少)
characters(字元)
categories(類別)
uppercase(大寫字母)
lowercas(小寫字母)
symbols(符號)

例子:YQWasd883;

密碼重複兩次(你懂得)

在這裡插入圖片描述

MySQL
填MySQL賬號的密碼
重複兩次

在這裡插入圖片描述

Wordpress的賬號密碼
重複兩次

在這裡插入圖片描述

email(郵箱)
address(地址)

輸入郵箱地址
預設即可

在這裡插入圖片描述

Skip

第九步

在這裡插入圖片描述
Enable local system notifications to be forwarded to your regular inbox. Notifications include security updates and system messages.

You will also be subscribed to receive critical security and bug alerts through a low-traffic Security and News announcements newsletter. You can unsubscribe at any time.

enable(使能夠)
local(本地)
notifications(通知)
forwarded(轉發)
regular(定期的)
inbox(收件箱)
include(包含)
security(安全)
updates(更新)
messages(資訊)
also(並且,也,還要)
subscribed(訂閱)
receive(接收)
critical(決定性的)
bug(錯誤)
alerts(警報)
traffic(通訊)
announcements(最新公告)
newsletter(通訊)
unsubscribe(取消訂閱)

不需要
Skip

第十步

在這裡插入圖片描述
By default, this system is configured to automatically install security updates on a daily basis:

For maximum protection, we also recommend installing the latest security updates right now.

This can take a few minutes. You need to be online.

By default(預設情況下)
automatically(自動的)
daily basis(每天)
daily(日常)
basis(基礎)
protection(保護)
recommend(推薦)
latest(最新)
right now(現在立即)
take(需要)
few(很少,幾)
online(聯機)

選擇Install

在這裡插入圖片描述

選擇Advanced Menu

在這裡插入圖片描述

選擇Quit

WPScan攻擊應用程式Linux

  1. TurnKeyLinux開機
  2. Kali開機

在這裡插入圖片描述
WordPressIP地址
意思是在root目錄下建立一個密碼字典,名稱為wordlist.txt

vi /root/wordlist.txt
寫入password
wpscan -u IP地址 -e u --wordlist /root/wordlist.txt

--wordlist後面是密碼字典路徑
在這裡插入圖片描述

這樣就破解成功了