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
document.querySelectorAll('#more > div').forEach((div, index) => { | |
// 連番を含むHTMLを作成 | |
const numberHtml = `${index + 1}<span style="white-space: pre;">\t</span>`; | |
// divの最初に挿入 | |
div.insertAdjacentHTML('afterbegin', numberHtml); | |
}); |
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
bs = "0101010001010111010101010001110101010011110101010101000101010001010101000001011110101010000101101001010000101010101010101010100001111110101010100010101010100010111000011110100000101000101000100001010100001101010101011101010111110101110100100000001010101110100100100101010000101010" | |
cs = ''.join([chr(int(bs[i*8:(i+1)*8], 2)) for i in range(len(bs) // 8)]) | |
print(cs) |
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
extern crate mal; | |
fn nyan() -> Box<[u64; 20]>{ | |
std::thread::sleep_ms(1); | |
Box::new([0x0u64; 20]) | |
} | |
fn nyan2(_: Box<[u64; 16]>){ | |
std::thread::sleep_ms(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
from pwn import * | |
import re | |
# coding=utf-8 | |
context.log_level = "error" | |
i = 6380 | |
flag = "" | |
#conn = process("./wareki") | |
conn = remote("wareki-o-reiwa.seccon.jp", 36294) |
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] | |
name = "memcpy" | |
version = "0.1.0" | |
authors = ["Keishi Kawada <megumish@exploitouri.st>"] | |
edition = "2018" | |
[dependencies] | |
failure = "0.1.3" |
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
### Keybase proof | |
I hereby claim: | |
* I am megumish on github. | |
* I am megumish (https://keybase.io/megumish) on keybase. | |
* I have a public key ASBzyaNTcjHcP0dC3Pl1eHgWFEKBnPWOa-Nrv3LeEfvw8wo | |
To claim this, I am signing this object: |
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
#![deny(missing_docs)] | |
use tokio; | |
use tokio::prelude::*; | |
use tokio::net::{TcpStream, ConnectFuture}; | |
use std::net::ToSocketAddrs; | |
use std::{thread, time}; | |
use futures::prelude::*; | |
use futures::future::FutureResult; |
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
<html> | |
<head> | |
<meta charset="utf-8"/> | |
</head> | |
<body> | |
<h1> I'm the Exploitourist. </h1> | |
<p>My awes0me websites</p> | |
<ul> | |
<li> | |
<a href="http://diary.megumi.sh" /> |
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
//中京と書いてあるbmp画像を生成するプログラムです。 | |
#include<stdio.h> | |
#include"bmpsetting.h" | |
int main(void){ | |
FILE *BMPfp; | |
errno_t error; | |
if (error = fopen_s(&BMPfp, "test.bmp", "wb") != 0) |