Skip to content

Instantly share code, notes, and snippets.

View kotakanbe's full-sized avatar
🌴
I may be slow to respond.

Kota Kanbe kotakanbe

🌴
I may be slow to respond.
View GitHub Profile
@kotakanbe
kotakanbe / OWASP Dependency Check XML
Created October 26, 2016 06:16
OWASP Dependency Check XML
This file has been truncated, but you can view the full file.
<?xml version="1.0"?>
<analysis xmlns="https://jeremylong.github.io/DependencyCheck/dependency-check.1.3.xsd">
<scanInfo>
<engineVersion>1.4.3</engineVersion>
<dataSource>
<name>NVD CVE 2002</name>
<timestamp>14/10/2016 17:11:02</timestamp>
</dataSource>
<dataSource>
<name>NVD CVE 2003</name>
@kotakanbe
kotakanbe / yum-ps-script.sh
Created June 27, 2019 12:04 — forked from usiusi360/yum-ps-script.sh
「yum ps all」と同様の結果を出力するスクリプト
#!/bin/bash
OS_FLAG=0
which rpm >/dev/null 2>&1 && OS_FLAG=1
which dpkg >/dev/null 2>&1 && OS_FLAG=2
if [ ${OS_FLAG} == "0" ]; then
echo "Unknown OS"; exit 1
fi

Vulsctl Tutorial

Vuls is an agent-less vulnerability scanner for Linux, FreeBSD, Container, WordPress, Programming language libraries, Network devices.

This tutorial explains how to perform a vulnerability scan using Vulsctl, an easy setup tool for Vuls.

  • Scan Host OS (CentOS) vulnerabilities
  • Scan Ubuntu via SSH
  • Application-dependent library vulnerability scan
@kotakanbe
kotakanbe / Vulsctl-tutorial-docker-ja.md
Last active October 29, 2020 07:28
Vulsctl-tutorial-docker-ja

Vulsチュートリアル

Vulsは、Linux / FreeBSD, Container, WordPress, アプリケーション依存ライブラリ、Network機器、ミドルウェアの既知の脆弱性を検知するツールです。

このチュートリアルは、Vulsの簡単セットアップツールである、Vulsctlを用いて

  • HostOS(CentOS)の脆弱性をリモートスキャン
  • SSHでUbuntuをリモートスキャン
  • アプリケーション依存ライブラリ脆弱性スキャン
@kotakanbe
kotakanbe / mohikan_slack_channels.md
Last active October 14, 2023 19:26
モヒカンslack( https://mohikan.slack.com )のチャネルリスト
@kotakanbe
kotakanbe / ipcalc.go
Created September 17, 2015 02:59
get all IP address from CIDR in golang
package main
import (
"net"
"os/exec"
"github.com/k0kubun/pp"
)
func Hosts(cidr string) ([]string, error) {