AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to: Run Dynamic Script... Through a Pipe!
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
paulwarr



Joined: 21 Sep 2006
Posts: 30

PostPosted: Tue Mar 25, 2008 7:39 pm    Post subject: Reply with quote

majkinetor wrote:
How that differs from normal cracking ?
It doesn't. Once the code's released in the pipe, it's got to be presumed to be crackable. What one can do, though, is take care that sensitive code doesn't get downloaded from server to client without adequate authentication/authorization procedures. At my workplace, I can use Kerberos, together with CoSign for the authentication piece, for example.
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 2558
Location: Australia, Qld

PostPosted: Wed Mar 26, 2008 8:09 am    Post subject: Reply with quote

majkinetor wrote:
Can you tell me is it possible to recreate some simple file system this way.
It depends on how the script reads from the "file." If it tries to seek within the "file," the pipe will break. If it reads the whole file into memory or reads as a stream (i.e. sequentially), it might work. It may also be difficult because of AutoHotkey's lack of multi-threading support (however, see below).

Pipes support "pseudo-directories" (i.e. "\" is allowed in pipe names), but of course there needs to be something on the other end of the pipe to handle the data.


I found another use for pipes: FileExtract_ToMem(). It uses machine code in a second thread to read from the pipe while FileInstall writes to it.
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3626
Location: Belgrade

PostPosted: Wed Mar 26, 2008 9:39 am    Post subject: Reply with quote

Thx for clarification. Sounds very interesting.
_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group