Skip to content

Instantly share code, notes, and snippets.

View imdudu1's full-sized avatar
🏝️

dudu1 imdudu1

🏝️
  • Mac mini Apple M1 16GB
  • 0:0:0:0:0:0:0:1
View GitHub Profile
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%
🌞 Morning 82 commits ███░░░░░░░░░░░░░░░░░░ 14.7%
🌆 Daytime 154 commits █████▊░░░░░░░░░░░░░░░ 27.7%
🌃 Evening 252 commits █████████▌░░░░░░░░░░░ 45.3%
🌙 Night 68 commits ██▌░░░░░░░░░░░░░░░░░░ 12.2%

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:

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).

@imdudu1
imdudu1 / p3_filter_list.py
Created October 13, 2018 07:27
webhacking.kr prob3
#!/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'}
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);
php > var_dump("123");
string(3) "123"
php > var_dump("abcd");
string(4) "abcd"
php > var_dump(123);
int(123)
@imdudu1
imdudu1 / Monster.cpp
Created October 12, 2018 14:58
vftable은 어떤식으로 구현될까? - 1
#include "pch.h"
using namespace std;
class BaseMonsterAction
{
public:
virtual void Attack() { ; }
};
@imdudu1
imdudu1 / bugbug_exploit.py
Created October 12, 2018 12:37
Codegate2016 pwn bugbug
#!/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')
@imdudu1
imdudu1 / workFlow.cpp
Created October 12, 2018 12:07
백준 - 작업순서
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
int V, E;
int s[1001][1001];
int e[1001][1001];
bool visited[1001];