Skip to content

Instantly share code, notes, and snippets.

View sweetchipsw's full-sized avatar

sweetchip sweetchipsw

View GitHub Profile
// 1. 계산을 위한 문제에 정의된 matrix 여러개 생성
mdict[332d]= [[1]
[1]]
mdict[332e]= [[ 1]
[-1]]
// 2. 유저의 Input (25byte) 을 받고 matrix(0x3e8)에 저장시킴
// userinput 은 \x00 * 25개로 설정
mdict[3e8]= [[0 0 0 0 0]
[0 0 0 0 0]
@sweetchipsw
sweetchipsw / result_pseudo_code.txt
Created September 19, 2020 16:02
blog_matrixvm_3
// 1. 계산을 위한 문제에 정의된 matrix 여러개 생성
mdict[332c]= [[ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
90 91 92 93 94 95 96 97 98 99]
[100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
@sweetchipsw
sweetchipsw / parse_matrixvm_pseudo_code.py
Last active September 19, 2020 16:03
blog_matrixvm_2
from pwn import *
import numpy as np
import string
import json
f = open("prob.mv", "rb")
code = f.read()
f.close()
@sweetchipsw
sweetchipsw / parse_matrixvm.py
Created September 19, 2020 16:02
blog_matrixvm_1
from pwn import *
f = open("prob.mv", "rb")
code = f.read()
f.close()
idx = 0
while True:
print("*"*100)
if (len(code) == idx):
@sweetchipsw
sweetchipsw / keybase.md
Created November 24, 2017 09:26
keybase.md

Keybase proof

I hereby claim:

  • I am sweetchipsw on github.
  • I am sweetchip (https://keybase.io/sweetchip) on keybase.
  • I have a public key whose fingerprint is EEC6 5FD2 1D65 8DE3 7B0F E406 E8B0 CBCE E8B4 C760

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am sweetchipsw on github.
  • I am sweetchip (https://keybase.io/sweetchip) on keybase.
  • I have a public key whose fingerprint is 9833 E1E5 AAB4 D0D7 C357 6D6F 3DD8 02CE 013C 5A45

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am sweetchipsw on github.
  • I am sweetchip (https://keybase.io/sweetchip) on keybase.
  • I have a public key whose fingerprint is E437 C396 AD1E 71E2 CED7 F208 ACCF 0095 B007 C591

To claim this, I am signing this object: