This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| DIR="/var/tmp/" | |
| FILE="noaccess.dat" | |
| CMD="find ${DIR} -name ${FILE} -cmin 2 -delete" | |
| if [ -f "${DIR}${FILE}" ];then | |
| $CMD | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .\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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get update | |
| apt-get upgrade | |
| apt-get install -y uim uim-anthy | |
| apt-get install -y fonts-ipafont | |
| # 設定パネルのキーボードから日本語を追加 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Postgres起動 | |
| #service postgresql start | |
| RPC起動 | |
| #msfrpcd -U msf -P test -f -S -a 127.0.0.1 | |
| Armitage起動 | |
| #armitage | |
| これで起動できるはず |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get update | |
| apt-get upgrade | |
| apt-get install uim uim-anthy | |
| apt-get install fonts-ipafont | |
| 再起動 | |
| 設定⇒言語追加⇒再起動 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| msfrpcd -f -U msf -P test -t Basic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.1.0", | |
| "command": "cmd", | |
| "isShellCommand": true, | |
| "showOutput": "silent", | |
| "args": ["/C"], | |
| "tasks": [ | |
| { | |
| "taskName": "Build", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # go build -ldflags "-S" -o example.exe | |
| # 最適化無効 | |
| # go build -gcflags "-N -l" -o example.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| """ | |
| Anaconda環境を想定 | |
| 参考URL: | |
| https://docs.microsoft.com/en-us/office/vba/api/outlook.olattachmenttype | |
| https://docs.microsoft.com/en-us/office/vba/outlook/concepts/attachments/modify-an-attachment-of-an-outlook-email-message | |
| https://qiita.com/pashango2/items/5075cb2d9248c7d3b5d4#memoryview%E3%81%A7bytes%E3%81%AB%E5%A4%89%E6%8F%9B | |
| """ | |
| import win32com.client | |
| import os.path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| import sys | |
| import win32com.client | |
| import pythoncom | |
| _VERSION_ = 'v0.1.0' | |
| def show_version(): | |
| print("=" * 20) |
OlderNewer