I hereby claim:
- I am xenomuta on github.
- I am xenomuta (https://keybase.io/xenomuta) on keybase.
- I have a public key whose fingerprint is CB18 D26F F2B7 E21E 65E2 33EA A74E 8AA7 41C1 3953
To claim this, I am signing this object:
| ;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
| ;by doppelganger ([email protected]) | |
| ;This file is provided for your own use as-is. It will require the character rom data | |
| ;and an iNES file header to get it to work. | |
| ;There are so many people I have to thank for this, that taking all the credit for | |
| ;myself would be an unforgivable act of arrogance. Without their help this would | |
| ;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
| ;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |
| # Python Port of https://gist.github.com/richinseattle/1cafd9368890ecf3d8e1dbbc18f2fe38 | |
| from ctypes import HRESULT, windll, POINTER, byref | |
| from ctypes.wintypes import HANDLE, LPCWSTR, UINT, LPCSTR | |
| from enum import IntEnum | |
| from comtypes.hresult import S_OK | |
| class AMSI_RESULT(IntEnum): | |
| AMSI_RESULT_CLEAN = 0, | |
| AMSI_RESULT_NOT_DETECTED = 1 |
| import sys | |
| import windows | |
| import windows.winproxy | |
| import windows.generated_def as gdef | |
| class AMSIProxy(windows.winproxy.ApiProxy): | |
| APIDLL = "Amsi" | |
| default_error_check = staticmethod(windows.winproxy.no_error_check) | |
| """ |
I hereby claim:
To claim this, I am signing this object:
| section .text | |
| global _start | |
| _start: | |
| xor eax, eax ; init eax 0 | |
| xor ebx, ebx ; init ebx 0 | |
| xor esi, esi ; init esi 0 | |
| jmp _socket ; jmp to _socket | |
| _socket_call: |
| console.time("Tiempo de computo"); | |
| var total = 0, unicos = 0, rangos = [], min = 99999999999, max = 0; | |
| function alReves (num) { | |
| for (var rev = 0;; rev = rev * 10 + (num % 10), num = parseInt(num / 10)) | |
| if (num <= 0) return rev; | |
| } | |
| var lineas = require("fs").readFileSync("seed.txt", "utf-8").toString().split(/\n/); | |
| for (var linea in lineas) { | |
| var rango = lineas[linea].split(/\s+/) | |
| if (rango.length < 2) break; |
| section .text | |
| global _start | |
| _start: | |
| xor eax, eax | |
| xor ebx, ebx | |
| xor esi, esi | |
| jmp _socket | |
| _socket_call: |
| /* | |
| cdr_fifo_mongodb: A quick and dirty hack that consists of configuring asterisk’s | |
| cdr_custom.conf to write to a named pipe, which will be then read by node and | |
| then written into mongodb. | |
| good alternative to cdr_mongodb, 'cause I couldn't make it work stable for 1.8 | |
| */ | |
| var config = { | |
| "dburl": "asterisk", /* user:pass@host/db */ | |
| "collections": ["cdr"], | |
| "fifo": "/var/log/asterisk/cdr-custom/cdr_fifo.csv", |