This file contains 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
ret = [ 0 for _ in range(40000)] | |
for i in range(26): | |
for j in range(800): | |
try: | |
px = img.getpixel((j,i)) | |
except: | |
continue | |
ret[i * 800 + j ] = math.floor((px[2] & 0xf ) * 4 * 4 ) | (px[1]&0xf) | |
This file contains 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
first stage documents: | |
LM_IFG_536R.docx.docx - 9724ee7a6baf421ac5a2a3c93d32e796e2a33d7d75bbfc02239fc9f4e3a41e0 | |
Boeing_PMS.docx - a3eca35d14b0e020444186a5faaba5997994a47af08580521f808b1bb83d6063 | |
Senior_Design_Engineer.docx - 49724ee7a6baf421ac5a2a3c93d32e796e2a33d7d75bbfc02239fc9f4e3a41e0 | |
Boeing_DSS_SE.docx - 322aa22163954ff3ff017014e357b756942a2a762f1c55455c83fd594e844fdd | |
remote templates: | |
https://www.astedams.it/uploads/frame/61.dotm | |
https://www.astedams.it/uploads/template/17.dotm |
This file contains 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
BOOL __cdecl get_win_name(int a1, _DWORD *a2) | |
{ | |
BOOL result; // eax | |
bool v3; // zf | |
struct _OSVERSIONINFOA VersionInformation; // [esp+8h] [ebp-98h] | |
std::string::operator=(a1, "unknown Windows version"); | |
*a2 = 0; | |
VersionInformation.dwOSVersionInfoSize = 148; | |
result = GetVersionExA(&VersionInformation); |
This file contains 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 re | |
import sys | |
import pefile | |
from mlib.crypto import xor | |
from mlib.malware import trickbot | |
from mlib.struct import udword | |
def find_cfg_params(data): |
This file contains 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
fun int2double(xint) { var i = 0 while(i< 1074) { xint = xint / 2 i = i + 1} return xint } | |
fun double2int(xd) { var i = 0 while(i< 1074) { xd = xd + xd i = i + 1} return xd } | |
fun shift(xint,x) { var i = 0 while(i<x) { xint = xint + xint i = i + 1} return xint } | |
var c = -30 | |
var x = -114 | |
var y = -115 | |
var a = [101,1,1,1,1,1,1,1,1,1] | |
var b = [1011,2,"chuj",3,4] |
This file contains 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 phun | |
class R(phun.Remote): | |
def menu(self): | |
self.read('4) free\n') | |
def cmd(self,nr,idx): | |
self.menu() | |
self.sendline(str(nr)) |
This file contains 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 re | |
import os,sys | |
import pefile | |
import struct | |
import zipfile | |
import hashlib | |
import StringIO | |
from Crypto import Random | |
from Crypto.PublicKey import RSA | |
from Crypto.Cipher import PKCS1_v1_5,AES |
This file contains 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
( olevba $document | grep ' = ' | \ | |
sed -e's/&/+/g' -e's/NaN/None/g' -e's/ = [^A].*(\(A.*)\))/= \1/' -e 's/Array//' \ | |
-e's/(/[/g' -e's/)/]/g' -e "s#\"\([^\"]*\)\"\([^\"]*\)\"#\"\1'\2#" | \ | |
grep '\[\|\+'; \ | |
echo 'print globals()[sorted(globals(),key=lambda x: type(globals()[x]) == str and len(globals()[x]))[-1]]' | |
) \ | |
| python2 - | tr -d '^' | tr '[:upper:]' '[:lower:]' |
This file contains 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 os | |
import re | |
import sys | |
import math | |
import pefile | |
import struct | |
import hashlib | |
import argparse | |
from oletools import olevba |
This file contains 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
#include <stdio.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <pthread.h> | |
#include <unistd.h> | |
#include <sys/stat.h> | |
#include <string.h> | |
#include <sys/uio.h> | |
#include <sys/wait.h> |
NewerOlder