Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Inject python with shedskin
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
emanuel  
View profile  
 More options Aug 29 2012, 10:34 am
From: emanuel <emanuel....@hotmail.com>
Date: Wed, 29 Aug 2012 07:34:22 -0700 (PDT)
Local: Wed, Aug 29 2012 10:34 am
Subject: Inject python with shedskin

I can use the shedskin to inject a python file in to a process?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fahrzin Hemmati  
View profile  
 More options Aug 29 2012, 11:51 am
From: Fahrzin Hemmati <fahh...@gmail.com>
Date: Wed, 29 Aug 2012 08:51:38 -0700
Local: Wed, Aug 29 2012 11:51 am
Subject: Re: Inject python with shedskin
Please explain what you mean by inject?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
emanuel  
View profile  
 More options Aug 29 2012, 4:44 pm
From: emanuel <emanuel....@hotmail.com>
Date: Wed, 29 Aug 2012 13:44:34 -0700 (PDT)
Local: Wed, Aug 29 2012 4:44 pm
Subject: Re: Inject python with shedskin

Like, i have a python file and i want that it run in an process, like
abc.exe, i can sue the shedskin to inject the python in the process?

Quarta-feira, 29 de Agosto de 2012 16:51:40 UTC+1, Farz escreveu:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joaquin Duo  
View profile  
 More options Aug 29 2012, 5:03 pm
From: Joaquin Duo <joa...@gmail.com>
Date: Wed, 29 Aug 2012 18:03:54 -0300
Local: Wed, Aug 29 2012 5:03 pm
Subject: Re: Inject python with shedskin

Hi all!
I've been reading the list for a while but haven't posted.
I use shedskin regularly, great tool! :-D
I felt like I can answer this question.

On Wed, Aug 29, 2012 at 5:44 PM, emanuel <emanuel....@hotmail.com> wrote:
> Like, i have a python file and i want that it run in an process, like
> abc.exe, i can sue the shedskin to inject the python in the process?

Hi Emanuel!

I think you are missunderstanding Shedskin. Shedskin translates python into
C++ (as as standalone app, or as a python module)
If you want to inject python code into a python process, then you can do it
all in the python world. (sockets and exec or eval function)

If you want to inject binary code in a process, forget shedskin for a
moment and just suppose you have C++ code:
You can:
- create a library and load it (.dll or .so)
- inject the code with some other less traditional way
(http://en.wikipedia.org/wiki/DLL_injection , there are more techniques,
that's an example)

Now, since sheskin creates C++, you can do the above with your Shedskin
generated code. (just take in count it uses boehm GC)

Cheers!
Joaquín


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
emanuel  
View profile  
 More options Aug 29 2012, 9:19 pm
From: emanuel <emanuel....@hotmail.com>
Date: Wed, 29 Aug 2012 18:19:43 -0700 (PDT)
Local: Wed, Aug 29 2012 9:19 pm
Subject: Re: Inject python with shedskin

Ah, thanks :D

Quarta-feira, 29 de Agosto de 2012 22:03:54 UTC+1, joaduo escreveu:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »