2013-04-01ãã1ã¶æéã®è¨äºä¸è¦§
OpenSSHã®Port Forwardingæ©è½ã使ãã¨ãæ¥ç¶å ã®ãµã¼ããçµç±ãã¦LANå ã®ãµã¼ãã«ãªã¢ã¼ãã§ã¢ã¯ã»ã¹ãããã¨ãã§ããã 調ã¹ã¦ã¿ãã¨æ®éã®Port Forwarding以å¤ã«ãããªã¨ã¼ã·ã§ã³ããããã¨ãç¥ã£ãã®ã§ããããã®å 容ãã¡ã¢ã Local Port Forwarding ãâ¦
Last weekend, I challanged Plaid CTF 2013, the popular Capturing the Flag contest, as a team member. The contest was hard but pretty good! I feel it was pity that I couldn't solve any tasks about crypto... I'd like to post the write-up forâ¦
Haskellã®å®è¡ç°å¢ãã¤ã³ã¹ãã¼ã«ããã«ã¯ãhaskell-platformããã±ã¼ã¸ãå©ç¨ããã¨ããã CentOSã®å ´åã¯ãEPELãªãã¸ããªã追å ãããã¨ã§ã¤ã³ã¹ãã¼ã«ãå¯è½ã $ sudo apt-get install haskell-platform # Ubuntu ã®å ´å $ sudo yum install haskell-plaâ¦
ãã¼ããéãã¦ããããã»ã¹ã¾ã§èª¿ã¹ãæ¹æ³ã«ã¤ãã¦ã®ã¡ã¢ã Linuxã®å ´å -aã§LISTENç¶æ ãå«ããã¹ã¦ã®ã½ã±ããã表示ããã-nã§IPã¢ãã¬ã¹ã»ãã¼ãçªå·ããã®ã¾ã¾è¡¨ç¤ºããã-pã§å¯¾å¿ããããã»ã¹ã表示ããã $ sudo netstat -anp Active Internet connectâ¦
ipcalcã³ãã³ãã使ãã¨ã/29ã®ããã«ããªãæªããµããããã«ã¤ãã¦ããµãããããã¹ã¯ãããã¼ããã£ã¹ãã¢ãã¬ã¹ãå容å¯è½ãã¹ãæ°ãªã©ãè¨ç®ã§ããããµãããããã¹ã¯ãããã¬ãã£ãã¯ã¹é·ãæ±ãããã¨ãã§ããã便å©ã $ ipcalc 192.168.0.100/29 Addreâ¦
Haskellãåå¼·ãã¦ãã¦ãããããã¢ããã®é°å²æ°ãããã£ã¦ããã®ã§ãMaybeã¢ããã®ãããªè¨ç®ãPythonã§ãã£ã¦ã¿ãã #!/usr/bin/env python # -*- coding: utf-8 -*- # instance Monad Maybe where # return = Just # fail = Nothing def Maybe(x): returnâ¦
Pythonã§pcapãã¡ã¤ã«ã解æããã«ã¯scapyã便å©ãscapyãç¨ãã¦pcapãã¡ã¤ã«ãé次çã«è§£æããã«ã¯ãä¸è¨ã®ããã«sniffã¡ã½ããã使ãã°ããã from scapy.all import * from datetime import datetime def analyze(pkt): # ãã£ããã£æ¥æã¯pkt.timeããuâ¦
常ã«æåã®è¦ç´ ãæå°å¤ï¼ãããã¯æ大å¤ï¼ã¨ãªããããªãªã¹ããå¿ è¦ãªå ´åããã¼ãæ§é ãç¨ãããã¨ã§æå°å¤ï¼æ大å¤ï¼ã®åãåºããO(1)ãè¦ç´ ã®è¿½å ãO(log n)ã®æéè¨ç®éã§è¡ããã¨ãã§ããã Pythonã§ãã¼ããæ±ãå ´åãheapqã¢ã¸ã¥ã¼ã«ã使ããã impoâ¦
http://nmap.org/ nmapã¯apt-getãyumçã§ã¤ã³ã¹ãã¼ã«ã§ãããã¾ããBackTrack Linuxï¼ã»ãã¥ãªãã£ç³»Linuxãã£ã¹ããªãã¥ã¼ã·ã§ã³ï¼ã«æ¨æºã§å«ã¾ãã¦ããã $ sudo nmap -vv -sSVC -O 192.168.0.0/24 -vvã¯éä¸çµéã®è©³ç´°ãªåºåã-sSVCã¯TCP SYN Scan (S)â¦
http://bgp.he.net/ (Hurricane Electric BGP Toolkit) ä¸ã®ãµã¤ãã§IPã¢ãã¬ã¹ãæ¤ç´¢ãããã¨ã§ã IPã¢ãã¬ã¹ãæå±ããASæ å ± IPã¢ãã¬ã¹ãæå±ãããããã¯ã¼ã¯ã«ã¤ãã¦ã®whoisæ å ± IPã¢ãã¬ã¹ã«å¯¾ããDNSéå¼ãã®çµæ DNSæ£å¼ãã®çµæããã®IPã¢ãã¬ã¹ãâ¦
http://ä¾ã.ãã¹ã/ å½éåãããã¬ãã«ãã¡ã¤ã³ï¼IDN TLDï¼ã®è©ä¾¡ç¨ãã¡ã¤ã³ã¨ã®ãã¨ã ãã§ã«ã.ä¸å½ããªã©ãå®éç¨ããã¦ããããã ã List of Internet top-level domains - Wikipedia, the free encyclopedia # Internationalized country code top-leâ¦
[Python-Dev] The end of 2.7 Python3ã«ã¤ãã¦ã¯ããã¾ã§ã»ã¨ãã©ç®ãåãã¦ããªãã£ãã®ã ãã©ãpython-devã®ã¡ã¼ãªã³ã°ãªã¹ãã§Python2ç³»ã®ã¡ã³ããã³ã¹ãã©ããããã¨ããè°è«ãããã¦ããã®ãè¦ã¦ãæ¹ãã¦Python3ã«ã¤ãã¦èª¿ã¹ã¦ã¿ããã¨æã£ããã¨ãããâ¦
ã³ã³ãã¥ã¼ã¿é¢ä¿ã®æè¡ã«ã¤ãã¦ãæãã¨ãããæ¸ãã¦ããå ´æã§ããæ®æ®µã¯ã»ãã¥ãªãã£ã»ãããã¯ã¼ã¯ç³»ã®ã¨ã³ã¸ãã¢ããã£ã¦ãã¾ããããããã«æ¸ãã¦ããå 容ã¯å人ã®è¦è§£ã§ãããæå±ããçµç¹ã®ç«å ´ãæè¦ã代表ãããã®ã§ã¯ããã¾ããã Tumblrã«ãããâ¦