微修正

This commit is contained in:
hagiwara
2016-04-01 15:11:03 +09:00
parent 802f0d67ec
commit 4b95d55ee6
3 changed files with 656 additions and 10 deletions

View File

@@ -6,6 +6,7 @@
Vulnerability scanner for Linux, agentless, written in golang.
[README in Japanese](https://github.com/future-architect/vuls/blob/master/README.ja.md)
We have a slack team. [Join slack team](http://goo.gl/forms/xm5KFo35tu)
[![asciicast](https://asciinema.org/a/3y9zrf950agiko7klg8abvyck.png)](https://asciinema.org/a/3y9zrf950agiko7klg8abvyck)
@@ -58,7 +59,10 @@ Vuls is a tool created to solve the problems listed above. It has the following
----
# step-by-step explanation
# Hello Vuls
This tutorial will let you scan the vulnerabilities on the localhost with vuls.
This can be done in the following steps.
1. Launch Amazon Linux
1. Enable to ssh from localhost
@@ -70,7 +74,7 @@ Vuls is a tool created to solve the problems listed above. It has the following
1. Scan
1. TUI(Terminal-Based User Interface)
## 1. Launch Amazon Linux
## Step1. Launch Amazon Linux
- We are using the old AMI (amzn-ami-hvm-2015.09.1.x86_64-gp2 - ami-383c1956) for this example
- Instance size: t2.medium
@@ -84,7 +88,7 @@ Vuls is a tool created to solve the problems listed above. It has the following
repo_upgrade: none
```
## 2. Generate a ssh-key on local machine
## Step2. Generate a ssh-key on local machine
Create a keypair then append public key to authorized_keys
```bash
@@ -92,7 +96,7 @@ $ ssh-keygen -t rsa
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
```
## 3. Install requirements
## Step3. Install requirements
Vuls requires the following packages.
@@ -122,7 +126,7 @@ Set the OS environment variable to current shell
$ source /etc/profile.d/goenv.sh
```
## 4. Deploy go-cve-dictionary
## Step4. Deploy go-cve-dictionary
go get
@@ -153,7 +157,7 @@ $ go-cve-dictionary server
[Mar 24 15:21:56] INFO Listening on 127.0.0.1:1323
```
## 5. Deploy vuls
## Step5. Deploy vuls
Launch a new terminal, SSH to the ec2 instance.
@@ -162,7 +166,7 @@ go get
$ go get github.com/future-architect/vuls
```
## 6. Config
## Step6. Config
Create a config file(TOML format).
@@ -177,13 +181,13 @@ user = "ec2-user"
keyPath = "/home/ec2-user/.ssh/id_rsa"
```
## 7. Initializing Vuls
## Step7. Initializing Vuls
```
$ vuls prepare
```
## 8. Start Scanning
## Step8. Start Scanning
```
$ vuls scan
@@ -216,7 +220,7 @@ Package/CPE java-1.7.0-openjdk-1.7.0.91-2.6.2.2.63.amzn1 -> java-1.7.0-openj
```
## 9. TUI
## Step9. TUI
Vuls has Terminal-Based User Interface to display the scan result.