Accéder au contenu principal

Python Pickler saving live assembly instruction... Pickler can save anything even Virus if you intended to do so...

This following artifact, from Numpy module called np_inline can generate static inline code and it's well known module... Such utility can ( demonstrated thru PDF example to multiply Matrix with a couple of line of Ansi C )...

Despite finding a way to Proove we can use big number Library to insert into a development from my github, fibonacci_offset start to work in a correct way, but crafting the original class FibonacciOffset-> ComputeLevel can compute really big number and can also generated such number it easy overflow after converting a number into C-type from module ctypes...

But after reading the module-pdf from np_inline, it show the function working after compilation ( can not be seen with idle, you need to open a terminal and calling python2.7 ) version I actually work with...

So are doing in this way:
from np_inline import inline_debug as inline

code=r'printf("Program #%i: Hello world.\n",i)
inline('hello_word_example', args=(1,),py_types=((int,'i'),),code=code )

### Showing on terminal, the compilation and finally:
--------------------------------------------------
Program #1: Hello world.
--------------------------------------------------

### This is not bad... but calling it back:
>>>import hello_word_example
### As the name you mention inside inline(...)
### and this time just using Number 2 

>>>hello_word_example.function( 2 )

--------------------------------------------------
Program #2: Hello world.
--------------------------------------------------

### -- Still Correct...
### And saving them... after all it's an object and can possibly stored... Why-not !!!

>>>import cPickle
>>>from cPickle import Pickler, Unpickler
>>>import tempfile

### I am using tempfile because it will always have space for temporary file
### being a standard in Computer-administration, almost all application 
### requires free-space

>>>atemp=tempfile.NamedTemporaryFile()
>>>aPickler=cPickle.Pickler( atemp, -1 )
>>>aPickler.dump( hello_word_example.function )
>>>AFH=open( '/home/maxiste/obj_mem.pkl', 'w+')
>>>atemp.seek(0)
>>>AFH.write( atemp.read() ) 
>>>AFH.close()
>>>del hello_word_example

### The delete operation is really important to remove the module to 
### reload it from Unpickler...

>>> hello_word_example.function( 2 )

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'hello_word_example' is not defined


### Recovering Object with Unpickler
>>>BFH=open( '/home/maxiste/obj_mem.pkl', 'r' )
>>> Dpickler=cPickle.Unpickler( BFH )
>>>hello_word_example=Dpickler.load()
### Now Module is in memory and we can load back
>>>from hello_word_example import *
### Now using Number 3 
>>>function( 3 )

--------------------------------------------------
Program #3: Hello world.
-------------------------------------------------- 
Telling it's important to keep in mind creating a new package and using setuptools directive data([...]) to store any data can store indefinitely your object compiled for your station... Might be problematic if we move toward another kernel version or simply different architecture... But the remaining story is my original New on Zero-install project with autoinstall module can freely transform and Egg out of the Web and installing it like np_inline function inline can compile it and create a module inside Tempfile and be directly Ansi-C code and directly create Assembly code ready to be executed... I do not have direct example like sending a shutdown-signal in Windows as example, but unfortunately the ctype tutorial explain how to load the windll.kernel32 and msvcrt dll too, leaving you unbreath when it's time to load Development back-end to do Administration task while Operator or Administrator had blocked such Entry over Windows Policy Group...

But unfortunately, developping a cluster, and using autoinstall and call a module being available in your personal File-Server can be spreaded fast and allow sometimes application to operate like lightning ...

And I'm working at home under Linux Environment wich is a personal pain creating virus under a ELF structure... Windows I do not own any personal knowledge of how hijacking a program running and today Virus are mostly look like to TSR and are not efficient like virus from 90' to mid-90 which was probably the end of a wage carrying their knowledge out of today technology...



XText may contains errors, syntax errors or lexical error...
XNow with SpellChecking and Editable text. Up to you to get something correct.


  • 1No Interest
  • 2Somewhat good
  • 3Good
  • 4Special.

Posts les plus consultés de ce blog

What are you doing here, another one ?

 Yeah, that's another one piece of Intel Corporation. Not in is box, already plugged somewhere. And now it's not sold with a board and not only wrap into a bubble bag. It come with the plastic box, and at least.    At 5.59$CA, if one of my board ares misconfiguration and lacking BIOS update to support higher than 10 Mb of memory, for family e5 2650v4 with 10 core rather than 14 and less than 20 Mb of L3 cache and will probably report only 60% of the memory is inaccessible rather than yelling for 66% of the memory if this one calculate the L3 memory as internal memory error for being unable to count the edge. Yes it's true an e5-2650 own 30Mb of L3 cache while the e5-2630 own 25 Mb. Ok it's not also the theoretical 2 cores in less. I seriously believe the second one will fail, for not having around 6 to 8 core and up to 15 Mb of memory on L3 cache. But apparently there is so many option withing the bios it let you disable the core. And mean I do request to investigate fo...

Hottest Snapshoot from my ThF4_LaFe Hard-State Nuclear Holdrum

This is my ThF 4 + LaFe (α-Fe) Nuclear Holdrum ( more than quantic-one ), for it's hard-state design. It's the revealed reproduction from 1980, after seeing the images with my tiny eyes from M.Villeneuve having a snapshoot from the Psychiatric hives, or vault. It was forbidden to stole because it was not yet made at this moment... To reproduce the image on the picture, they use white paint on the Xenon tube on external side of the holdrum... In fact this is PTFE thread used and it have it's property... Ionisation from PTFE thread is mildly-helper driving photo-source like filter-to-filter of a « ridicule » quater-plate effect side of using Fluor in light filtering, while in high-energy and high velocity light it en-lighting prior to filter... In This case  it's good, we are dealing with Ultra-violet led PaInSe ( also know as Hard-state gamma-ray pulse led from Praseodymium/Indium with filter to throw down wavelength to UV region...   ). I can conclude it's 5 xeno...

My Xeon got afraid of it so it have run it out.

 Yes, there is an alternative to make Windows working. It's changing inside bios inside "CSM" section which have it and some item where left into "UEFI" and not auto-detect between "UEFI" and Legacy and does support Windows installation.    With such speed.   Belong to images it's my "DDR4 ECC" memory which are 2x 16 Gigabytes at 2133 Mhz that is actually running at 2194 Mhz, so close to processor speed which is 2.2Ghz. And it's only what is supported in overclock-ability the memory is pushed hard. Pushed at 103% of it's clock it might be the reason sometime it shut down silently or simply doing a task and shutdown. Except in Linux Min Xia installation it reboot before it end the loading of all the module. But exceptional it can last for 10 hours long formatting a Tera Byte ( out of it's 8 days of formatting ) and by using the Linux Mint installer of Xia ( which is the previous version of Linux Mint ). Apparently Virginia or W...