?
This file contains hidden or 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
I was cooking and eating curry... |
This file contains hidden or 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
#!/usr/bin/env python2 | |
import binascii | |
import hashlib | |
import re | |
import socket | |
import string | |
import struct | |
import subprocess | |
import time |
This file contains hidden or 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
#!/usr/bin/env python2 | |
import binascii | |
import hashlib | |
import itertools | |
import random | |
import re | |
import socket | |
import string | |
import struct |
This file contains hidden or 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
#!/usr/bin/env python2 | |
import binascii | |
import hashlib | |
import re | |
import random | |
import socket | |
import string | |
import struct | |
import subprocess |
This file contains hidden or 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
#!/bin/sh | |
CAPACITY_PATH="/sys/class/power_supply/BAT1/capacity" | |
capacity=$(cat ${CAPACITY_PATH}) | |
ESC="\e" | |
BK=40 | |
LBK=100 | |
FW=30 | |
LFW=90 |
This file contains hidden or 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
CC = gcc | |
CFLAGS =-c -std=gnu11 -fstack-protector-all -fPIC | |
LDFLAGS = -Wl,-z,now -Wl,-z,relro #-pie | |
sources = tinypad.c pwnio.c | |
objects = $(sources:.c=.o) | |
solution= tinypad | |
.PHONY: clean | |
all: $(sources) $(solution) |
This file contains hidden or 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
class Cell: | |
def __init__(self, *args): | |
self.stock = [*args] | |
def __lshift__(self, value): | |
self.stock.append(value) | |
return self | |
if __name__ == '__main__': |
This file contains hidden or 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
mini: file format elf64-x86-64 | |
Disassembly of section .init: | |
00000000004003c8 <_init>: | |
4003c8: 48 83 ec 08 sub $0x8,%rsp | |
4003cc: 48 8b 05 25 0c 20 00 mov 0x200c25(%rip),%rax # 600ff8 <_DYNAMIC+0x1d8> | |
4003d3: 48 85 c0 test %rax,%rax |