Skip to content

Instantly share code, notes, and snippets.

View 💻 Recent coding in languages
Kotlin +421/ -3 ███████▍░░░░░░░░░░░░░ 35.3%
JavaScript +457/ -28 ██████▋░░░░░░░░░░░░░░ 31.9%
Rust +313/ -26 ████▍░░░░░░░░░░░░░░░░ 21.1%
SQL +34/ -46 █▌░░░░░░░░░░░░░░░░░░░ 7.6%
Markdown +4/ -7 ▊░░░░░░░░░░░░░░░░░░░░ 4.1%
View I'm a night 🦉
🌞 Morning 82 commits ███░░░░░░░░░░░░░░░░░░ 14.7%
🌆 Daytime 154 commits █████▊░░░░░░░░░░░░░░░ 27.7%
🌃 Evening 252 commits █████████▌░░░░░░░░░░░ 45.3%
🌙 Night 68 commits ██▌░░░░░░░░░░░░░░░░░░ 12.2%
View keybase.md

Keybase proof

I hereby claim:

  • I am aid95 on github.
  • I am juraffe (https://keybase.io/juraffe) on keybase.
  • I have a public key ASDdGZZGMAepOyQ-puIYTRH3yLiW59iAmkjgq1fMdg5zlAo

To claim this, I am signing this object:

View Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver).md

Mounting VirtualBox shared folders on Ubuntu Server 18.04 LTS (Bionic Beaver)

This guide will walk you through the steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest.

Prerequisites

This guide assumes that you are using the following setup:

You could still make this guide work with other setups (possibly with some modifications to the commands and whatnot).

@aid95
aid95 / p3_filter_list.py
Created Oct 13, 2018
webhacking.kr prob3
View p3_filter_list.py
#!/usr/bin/env python
import urllib
import urllib2
headers_data = {'Cookie': 'YOUR-SESSION-KEY'}
filter_keyword = ['or', '&&', '||', 'and', '(', ')', '%', ' ', '\'', '"', 'union', 'select', 'UNION', 'SELECT']
for keyword in filter_keyword:
post_data = {'answer': '1010100000011100101011111' + keyword, 'id': 'name'}
View wft_type_compare.php
php > var_dump("1" > 1);
bool(false)
// .(dot)의 경우 소수점 역할을 함.
php > var_dump("1.1" > 1);
bool(true)
php > var_dump(".1" > 0);
bool(true)
// 숫자와 .(dot)을 제외한 문자들은 0을 의미
php > var_dump("," == 0);
View php_types.php
php > var_dump("123");
string(3) "123"
php > var_dump("abcd");
string(4) "abcd"
php > var_dump(123);
int(123)
@aid95
aid95 / Monster.cpp
Created Oct 12, 2018
vftable은 어떤식으로 구현될까? - 1
View Monster.cpp
#include "pch.h"
using namespace std;
class BaseMonsterAction
{
public:
virtual void Attack() { ; }
};
@aid95
aid95 / bugbug_exploit.py
Created Oct 12, 2018
Codegate2016 pwn bugbug
View bugbug_exploit.py
#!/usr/bin/env python
from pwn import *
from ctypes import *
context(os='linux', arch='i386')
# SETTING
p = process('./d6e472fe7004da60e99c8bd59453df96')
e = ELF('./d6e472fe7004da60e99c8bd59453df96')
libc = CDLL('libc.so.6')
@aid95
aid95 / workFlow.cpp
Created Oct 12, 2018
백준 - 작업순서
View workFlow.cpp
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
int V, E;
int s[1001][1001];
int e[1001][1001];
bool visited[1001];