Skip to content

Instantly share code, notes, and snippets.

View akilab's full-sized avatar

akilab akilab

  • Japan/Osaka
  • 15:27 (UTC +09:00)
View GitHub Profile
@akilab
akilab / debug_stripped.txt
Created August 21, 2016 14:08
Goの実行ファイルのデバッグ情報を削除するためのオプション
# go build -ldflags "-S" -o example.exe
# 最適化無効
# go build -gcflags "-N -l" -o example.exe
@akilab
akilab / tasks.json
Created April 16, 2016 06:14
VisualStudio Code でのGoの実行
{
"version": "0.1.0",
"command": "cmd",
"isShellCommand": true,
"showOutput": "silent",
"args": ["/C"],
"tasks": [
{
"taskName": "Build",
@akilab
akilab / rpcstart.sh
Created October 18, 2015 08:51
Armitage起動
#!/bin/sh
msfrpcd -f -U msf -P test -t Basic
@akilab
akilab / command.txt
Last active October 18, 2015 08:44
Kali Linux 2.0 日本語化
apt-get update
apt-get upgrade
apt-get install uim uim-anthy
apt-get install fonts-ipafont
再起動
設定⇒言語追加⇒再起動
@akilab
akilab / Armitage起動
Created August 22, 2015 10:44
Kali 2.0 Metasploit
Postgres起動
#service postgresql start
RPC起動
#msfrpcd -U msf -P test -f -S -a 127.0.0.1
Armitage起動
#armitage
これで起動できるはず
@akilab
akilab / 日本語入力追加
Last active April 10, 2016 04:44
Kali 2.0 VM image 日本語化
apt-get update
apt-get upgrade
apt-get install -y uim uim-anthy
apt-get install -y fonts-ipafont
# 設定パネルのキーボードから日本語を追加
@akilab
akilab / VisalStudioOnlineDeleteProject
Created March 21, 2014 03:47
VisualStudioオンラインからプロジェクト削除
.\TFSDeleteProject.exe /force /q /collection:https://[AccountName].visualstudio.com/DefaultCollection "TFSProjectName"
#場所
#C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
#PowerShellでのpwdはGet-Location
@akilab
akilab / notouch.sh
Created November 19, 2013 06:02
2分間アクセスが無いファイルを削除したかっただけ
#!/bin/sh
DIR="/var/tmp/"
FILE="noaccess.dat"
CMD="find ${DIR} -name ${FILE} -cmin 2 -delete"
if [ -f "${DIR}${FILE}" ];then
$CMD
fi