Skip to content

Instantly share code, notes, and snippets.

View cokia's full-sized avatar
🎯
Focusing

hanukoon cokia

🎯
Focusing
View GitHub Profile
#!/bin/bash
NODEOS_ROOT_DIR=/root/geth/eos_data/nodeos
CONFIG_DIR=/root/geth/eos-data/nodeos/config
DATA_DIR=/root/geth/eos-data/nodeos/data
LOG_DIR=/root/geth/eos_data/nodeos/log
## WALLET DIR 은 config.ini 파일 μ•ˆμ˜ datadir 둜 μ •μ˜!!!
## plugin듀도 config.ini 파일 μ•ˆμ— μ •μ˜!!!
## server address 도 config.ini 파일 μ•ˆμ— μ •μ˜!!!
// this code is basic token with pausable
pragma solidity ^0.5.0;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
@cokia
cokia / index.html
Last active April 4, 2019 03:51
Server Shape with blink light
<div class="server">
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<span class="onoff"></span>
<span class="onoff2"></span>
<span class="onoff3"></span>
<div class="hdd"></meter></div>
<div class="hdd2"></meter></div>
<div class="hdd3"></meter></div>
<div class="hdd4"></meter></div>
<div class="hdd5"></meter></div>
@cokia
cokia / hubgit.py
Last active January 26, 2019 12:04
hubgit.py
import glob,zlib
for i in glob.glob("objects/*/*"):
obj = zlib.decompress(open(i,"rb").read())
if 'flag' in obj.lower():
print(obj)
@cokia
cokia / Format.py
Last active January 25, 2019 07:06
ROOTCTF 2018 - FORMAT Write up
t=bytearray(open("Format.PNG","rb").read())
for i in range(len(t)):
if t[i] == 0x10:
t[i]=0x00
elif t[i] == 0x00:
t[i] = 0x10
@cokia
cokia / LoveMeter-Hacking.py3
Created October 29, 2018 02:13
Post Many random korean name to LoveMeter. U can Make a alert for Your Friends! You need to input last 4 letter of the link of your friends!
import requests
import random
URL = 'https://kr.lovemeter.me/save-quiz-response'
response = requests.get(URL)
response.status_code
response.text
c = input()
temp_w = ['μ„œμ—°', 'μ„œν˜„', 'μ„œμœ€', 'λ―Όμ„œ', 'μ§€μš°', 'μ§€λ―Ό', 'μœ€μ„œ', 'ν•˜μœ€', '채원', 'μ€μ„œ', 'μ„œμ—°', 'μ„œμœ€', 'μ§€μš°', 'μ„œν˜„', 'λ―Όμ„œ', 'μœ€μ„œ', '채원', 'ν•˜μœ€', 'μ€μ„œ', 'μ§€μ•„', 'μ„œμœ€', 'μ„œμ—°', 'ν•˜μœ€', 'μ§€μš°', 'μ„œν˜„', 'μ§€μœ ', 'λ―Όμ„œ', 'μœ€μ„œ', '채원', 'μ§€μ•„', 'μ„œμœ€', 'μ„œμ—°', 'μ§€μš°', 'μ§€μœ ', 'ν•˜μœ€', 'μ„œν˜„', 'λ―Όμ„œ', 'ν•˜μ€', 'μ§€μ•„', '닀은','μ„œμœ€', 'μ„œμ—°', 'ν•˜μœ€', 'μ§€μœ ', 'μ§€μš°', 'ν•˜μ€', 'μ§€μ•„', 'μˆ˜μ•„', 'μ„œν˜„', 'ν•˜λ¦°']
temp_m = ['μ„œν›ˆ', 'μ„œν™˜', 'μ„œν›„', 'μ„œμ€€', 'μ„œμ§„', 'μ„œλΉˆ', 'μ„ μš°', 'μ„ ν›„', 'μ„±μš°', '성원', 'μ„±μœ€', 'μ„±ν˜„', 'μ„±ν›ˆ', '성희', 'μ„±μœ¨', 'μ„±ν•œ', 'μ„±ν˜', 'μ„±μ—½', 'μ„±μˆ˜', 'μ„±μž¬', 'μ„±μ§„', 'μ„±μ€€', 'μ„±μ°¬', 'μ„±λ―Ό', 'μ„±λΉˆ', '세원', 'μ„Έμ€€', '솑후', 'μ†‘ν˜', 'μ†‘λΉˆ', 'μˆ˜ν›ˆ', 'μˆ˜ν•œ', '수혁', '수민', 'μŠΉμ—°', 'μŠΉν˜„', 'μŠΉμ™„', '승우', 'μŠΉμ›', '승윀','승호', 'μŠΉν™˜', 'μŠΉν›„', '승일', 'μŠΉμ—½', '승혁', 'μŠΉμ§„', 'μŠΉμ€€', '승민', '승빈', 'μ‹œν˜„', 'μ‹œν›ˆ', 'μ‹œμœ€', 'μ‹œν™˜', 'μ‹œμœ¨', 'μ‹œμš°', 'μ‹œμ›', 'μ‹œν›„', 'μ‹œν˜', 'μ‹œμ€€', 'μ‹œλ―Ό', 'μ‹œλΉˆ', 'μž₯μ™„', 'μž₯원', 'μž₯우', 'μž₯ν›ˆ', 'μž₯우', 'μž₯ν˜„', 'μž₯호', 'μž₯혁', '재영', '재우', 'μž¬μ›', 'μž¬ν›ˆ', 'μž¬ν˜„', '재호', '재혁', 'μž¬μ€€', '재찬', 'μž¬μ„±', '재민', '재빈', '주원', '주호', 'μ£Όν™˜', 'μ£Όν›ˆ', '주혁', 'μ£Όμ°¬', '주빈', 'μ€€μ˜', 'μ€€μ•„',
from flask import Flask
app = Flask(__name__)
if __name__ == '__main__':
app.run()