6/11 OWASP Night
memo
-
x-security project
- iPhoneアプリ脆弱性の自動検知 (XcodeのPlugin)
| # AOJ | |
| # 0052 | |
| # python3 | |
| import math | |
| while True: | |
| n = int(input()) | |
| if n == 0: break | |
| fac = str(math.factorial(n)) |
| # AOJ | |
| # 0071 | |
| # Python3 | |
| n = int(input()) | |
| for i in range(n): | |
| input() | |
| board = [list(input()) for i in range(8)] | |
| sx = int(input()) - 1 |
| # AOJ | |
| # http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0078 | |
| while True: | |
| n = input() | |
| if n == 0: break | |
| board = [[0] * n for i in range(n)] | |
| xp = n / 2 | |
| yp = n / 2 + 1 | |
| for i in range(n ** 2): |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| 注意:sort済みのフォルダに使うとごっちゃになります | |
| """ | |
| import os | |
| import sys |
| #!/usr/bin/env ruby | |
| # log log plot | |
| path = "./log/twitter_degrees-10000.txt" | |
| save_path ="./log/result/1.txt" | |
| # [follow, follower] | |
| data = "" | |
| f = open(path, "r") |
| function sieve(n) { | |
| // make flag list | |
| var num = [false, false]; | |
| for(i=0;i<n-2;i++) { | |
| num.push(true); | |
| } | |
| for(i=2;i<=Math.sqrt(n);i++) { | |
| if(num[i]) { | |
| for(j=i*i;j<n;j+=i){ | |
| num[j] = false; |
| function getRedirectPageUrl() { | |
| var url = location.hash.substring(1); | |
| console.log(url); | |
| try { | |
| if(url.length === 0) return "/"; | |
| url = decodeURIComponent(url); | |
| if(!url.match(/^https?:\/\//)) return "/"; | |
| } catch(e) { | |
| console.log("invalid url"); | |
| } |
| #!/usr/bin/ruby | |
| require 'socket' | |
| class Mysocket | |
| def initialize(host, port) | |
| @host = host | |
| @port = port | |
| end |
6/11 OWASP Night
memo
x-security project
| #!/usr/bin/python | |
| import socket | |
| host = 'rg-ctf.yagihashoo.com' | |
| port = 'secret' | |
| sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| sock.connect((host,port)) | |
| while True: |