Are you bored with x86? Enjoy this x87 VM.
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
CALL_OBJECT_BYTECODE = bytes.fromhex("21820000" + "000000") # CALL_OBJECT 000000?? | |
KEYS = "1234567890QWERTYUIOPASDFGHJKL{ZXCVBNM_-}" | |
PACKET_LEN = 192 | |
PACKET_HEADER_LEN = 8 | |
FLAG_LEN = 47 | |
flag = "" | |
for flag_i in range(FLAG_LEN): | |
m2ts = open(f"STREAM/{flag_i:05}.m2ts", "rb").read() |
The following code is given (source).
from fielddef import FQFac
q = 115792089210356248762697446949407573529996955224135760342422259061068512044369
GF = FQFac(q)
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
// SPDX-License-Identifier: UNLICENSED | |
pragma solidity ^0.8.13; | |
import "forge-std/Test.sol"; | |
contract SelfDestructSuccessTest is Test { | |
function testSecure() public { | |
Secure secure = new Secure(); | |
Exploit exploit = new Exploit(); | |
secure.f{value: 1 ether}(address(exploit)); |
I hereby claim:
- I am minaminao on github.
- I am minaminao (https://keybase.io/minaminao) on keybase.
- I have a public key whose fingerprint is AAD8 B9A4 548F 2BCF 66A2 DD7F CF82 B03C 4332 6D50
To claim this, I am signing this object:
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
# https://github.com/Kaggle/kaggle-environments/blob/master/kaggle_environments/envs/halite/helpers.py | |
import datetime | |
import math | |
from operator import pos | |
import random | |
import sys | |
import time | |
from collections import deque | |
from heapq import heappop, heappush |
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
import zipfile | |
def encode(): | |
UserEncodingFileName = input() | |
DirectoryName = input() | |
N = int(input()) | |
files = [] | |
for i in range(N): | |
line = input().split() | |
name = line[0] |
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
set -e | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get update | |
apt-get install -y --no-install-recommends ansible git aptitude golang-go tzdata make | |
export GOPATH=/tmp/go | |
mkdir -p ${GOPATH}/src/github.com/isucon/ | |
cd ${GOPATH}/src/github.com/isucon | |
rm -rf isucon6-qualify | |
git clone https://github.com/minaminao/isucon6-qualify.git | |
sed -i -e 's:--disable-phar::' isucon6-qualify/provisioning/image/ansible/02_xbuild.yml |