Jump to content
Nytro

Zolom

Recommended Posts

Posted

Zolom

C# Executable with embedded Python that can be used reflectively to run python code on systems without Python installed

Usage

zolom.exe --script:"from random import seed; from random import random; seed(1); print 'getting random number'; print random();" zolom.exe --b64script:"ZnJvbSByYW5kb20gaW1wb3J0IHNlZWQ7IGZyb20gcmFuZG9tIGltcG9ydCByYW5kb207IHNlZWQoMSk7IHByaW50ICdnZXR0aW5nIHJhbmRvbSBudW1iZXInOyBwcmludCByYW5kb20oKTs="

Building

Using Visual Studio restore the nuget packages and then click build.

Adding more modules

Unzip the Lib.zip file and add your modules, rezip the file and embed as a resource, finally recompile and your new lib should be available

 

Sursa: https://github.com/checkymander/Zolom

  • Upvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...