x213212
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# 安裝虛擬機到伺服器啟動 ## 下載 **VM下載** https://drive.google.com/file/d/0BxviYtvMZsvCWlU1TWYyd1ZMRzA/view?usp=sharing ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415123717_undefined) **vm破解** https://drive.google.com/file/d/0BxviYtvMZsvCb29sNGlrMW00NFk/view?usp=sharing VM安裝與破解 vm沒有意外的話一直下一步就可以了安裝好了後他會要你輸入序號 把vm破解解壓縮 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415224860_undefined) 然後右鍵管理員模式開啟(這樣破解軟體才能取得你的真正硬碟序號 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415292873_undefined) 這組序號你安裝vm的時候會用到 好了之後呢 開啟你的vm ## 虛擬機設置 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415339662_undefined) 你們的會是空的所以點左上角檔案(file) new一個新的虛擬機 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415412040_undefined) 下一步 這時候他會問你 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415423861_undefined) 你的系統一開始要不要掛在iso檔,選第二個選取你的iso檔 這邊我選擇我裝的kali linux (https://www.kali.org/downloads/ 下載iso檔32位元 X86 64位元 X64 這邊選擇Linxu 下面版本選 ubuntu(優幫吐 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415591163_undefined) 你的虛擬機要存在哪 到後面穩定差不多維持在15~16g如果你沒灌東西在裡面的話 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415630186_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415640426_undefined) 這邊會看到最大20g如果選擇上面的選項的話虛擬機硬碟容量最多就20g 如果選擇下面選項的話系統的如果以後超過20g會動態調整 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415731061_undefined) 沒問題的話就finish ## 開機 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415776692_undefined) 成功的話就會看到一台虛擬機產生了 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415791780_undefined) 如果要進行虛擬機硬體作變更的話選擇edit virtial .........裡面可以調記憶體還是掛載硬碟給他 好的話按上面的power on this ..... ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415871864_undefined) 跑跑跑跑跑到這開機安裝介面 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415909031_undefined) 選擇 ## 圖形安裝 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481415956742_undefined) **題外話按ctrl+alt 可以跳出** ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416006192_undefined) 這邊直接原文按continue ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416053325_undefined) 你的位置 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416088794_undefined) 他會根據你的位置來決定的你鍵盤一開始這就我們有英文就好 (你選台灣也沒用垃圾只有英文有拉介面中文那你就是沒用 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416164264_undefined) 跑跑跑 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416176023_undefined) ## 主機名稱 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416236627_undefined) 下一步 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416248083_undefined) ## Root帳密 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416264261_undefined) 避免以後耍腦 每次要用比較危險指令都要在終端機先打su 這邊密碼看你要設多少 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416646479_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416657677_undefined) ## 選擇時區 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416673595_undefined) ## 硬碟空間配置 新手直接選第一個 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416819236_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416828340_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416839298_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416860148_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416875379_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481416934702_undefined) 慢慢等吧腦包 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417293610_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417401250_undefined) 問你要不要從網路來源去下載這更新檔這邊選不要你就下載最新的了腦包 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417413219_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417496352_undefined) ㄎㄎ我IOS舊的不知道在基歪三小直接continue ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417558115_undefined) 安裝grub ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417577547_undefined) 問你要不要把grub裝在第一顆硬碟 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417601065_undefined) 要選第二個 (第二個如果你是用真正的電腦裝的話那意思就是你可以選擇把開機啟動程式裝在其他地方假如你把開機啟動程式grub裝在你的usb上 你沒usb就不能開機了 ㄎㄎ解決方法再把iso檔燒在usb 並用usb開機去修復grub寫在你的開機boots這樣也可以 一般來講一版筆電有uefi 和傳統的 efi兩種模式可以 開機 你可以先去boot 選efi模式開機 再去灌4葉草開機載入程式 電腦可以跑三種作業系統 windows linux 蘋果 這邊不提) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417951719_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417958694_undefined) 等牠裝完清理完畢 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481417993075_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418003606_undefined) 清理占存檔 ## 進入系統 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418090016_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418135330_undefined) 帳號root 我這邊密碼設123123 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418164237_undefined) 這邊直接選擇旁邊menubar第二個 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418191727_undefined) terminal ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418244408_undefined) ㄎㄎ因為是滲透用linxu 裡面內建一堆 到這邊伺服器基本就架起來了 如果要把php放到網站根目錄的話請找第三個file ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418351093_undefined) ## Apache ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418362251_undefined) 選擇computer ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418387432_undefined) 找到var進去然後www ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418409640_undefined) 然後html ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418422871_undefined) 你會發現裡面有一個index,html檔案沒錯你現在電腦上可以連到你的伺服器了 你如果再虛擬機要連到你的伺服器的話打開你的第一個 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418495360_undefined) 我這版本很舊了你們瀏覽器可能是火狐 網址輸入127.0.0.01 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418539019_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418554497_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418627983_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418665496_undefined) 這邊可以看到妳的虛擬機ip 現在回到本機 打開你的瀏覽器連到你的虛擬機吧! 如果出現錯誤請把防火牆關掉 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418806098_undefined) ## Mysql 大家常用的都是phpmysql 新手很容易在linux 會裝錯 我也有時候會爛掉我找到更好的方法能管理mysql 請用你虛擬機瀏覽器到這網站 https://www.adminer.org/ ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418956890_undefined) 下載第二個 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481418987753_undefined) 按左邊你你想看英文就按英文的 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419011301_undefined) 按show All Downloads ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419044939_undefined) 按右邊那小按鈕 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419073131_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419082734_undefined) 複製 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419101466_undefined) 去剛剛放網站資料那邊 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419139112_undefined) 貼上 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419155783_undefined) 改短一點 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419171221_undefined) 現在你的虛擬機瀏覽器和主機瀏覽器選一個輸入網址 http://192.168.220.129/adminer.php ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419215930_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419231640_undefined) 一開始沒設密碼應該是空的 ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419257623_undefined) ![](https://hackpad-attachments.s3.amazonaws.com/hackpad.com_9nzYS8Pwwfy_p.517873_1481419270297_undefined) 進來囉

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully