nt variables. You might
specify proxies like this (sh-syntax):
gopher_proxy=http://proxy.my.place/
wais_proxy=http://proxy.my.place/
no_proxy="localhost,my.domain"
export gopher_proxy wais_proxy no_proxy
willem
___
Perl-Win32-U
:
todptr=00046770
1141891285,1614923216,8,1,25,80,-60,310,9,3,2006,4
willem
use strict;
use warnings;
use Win32::API;
use Encode qw(encode);
my $GetTOD = new Win32::API('Netapi32','NetRemoteTOD','PP','N') or die
"NetRemoteTOD\n";
my $native_string = "thinktop";
nters as an integer, and pass it
the pointer to something you got from another api, as integer value.
willem
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Bullock, Howard A. wrote:
>With the help of willem my new code follows. It returns zero (0) as the
>return code but the buffer does not appear to contain the expected data.
>Any additional insights would be appreciated.
>
>tod_elapsedt = 388696 <- this val always the same
>
ts in your
code everything seems perfecty aligned to dwords.
you should write this with one unpack call, like this:
(
undef, undef, $tod_hours, $tod_mins, $tod_secs, undef, $tod_timezone,
undef, $tod_day, $tod_month, $tod_year, undef
)= unpack("L6lL5", $lpBuffer);
willem
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
ry for you to show how you
could solve this:
i use a memcpy with one int param instead of a ptr, to copy the
contents of the allocated buffer to a perl string.
this example prints the message for error code '0' : 'The operation
completed successfully.'
willem
Sisyphus wrote:
>>my $DsEnumerateDomainTrusts = new Win32::API('Netapi32',
>>'DsEnumerateDomainTrusts', 'PNPP', 'N');
>>
>>
>
>
in my netapi32.dll there is no DsEnumerateDomainTrusts, it contains
a DsEnumerateDo
($res+$_)*$x for @poly;
return $res/2520;
}
printf(" %2d", int(30/8*$_)+1+poly($_%8)) for (0..20);
for 2,3,5 and 7 you would have to start with 210/48 .. and find a 48
order polynomial.
willem
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
; trigger the unwanted sleep of my scripts?
>
your process gets delayed when you output stuff to the console.
if you redirect your output to a file, your process will not get delayed.
also, you can disable 'quickedit' in the options of a dosbox.
willem
__
a version
>for Windows, or is there an alternate way to create the tarball?
>
>
get http://www.cygwin.com
can't live without it under windows.
willem
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubsc
support api's declared with
'cdecl'.
maybe your dll has functions declared that way?
If this is the case, see a patch I made to Win32::API, to support cdecl
type functions too:
see http://www.xs4all.nl/~itsme/projects/perl/
willem
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
ension must be associated with
appropriate perl executable.
and add ".pl" to the PATHEXT environment variable.
willem
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Laurent Duperval wrote:
It looks like the issue is at the Perl level. Whenever I run a script
(for example, the PPM script), the CPU run amok. When I launch PPM, it
takes 10-15 seconds before I get the prompt.
are you maybe running a virus scanner? that is scanning every file access?
willem
bout using diffiehellman, there is no need to generate new
primes. it works just fine with fixed published primes.
http://www.faqs.org/rfcs/rfc3526.html
for instance provides primes of various sizes.
these primes are all proven to be primes, and
d "
you can use openssl from cygwin.
or maybe use
http://search.cpan.org/~iroberts/Crypt-OpenSSL-Random-0.03/Random.pm
( haven't tried to see if it works under windows. )
willem
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: h
t to tell Computers and Humans Apart)
or
HIP (Human Interactive Proof)
one of the most commonly used is called 'ez-gimpy'
look for it in google.
willem
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.Acti
On Thu, Aug 19, 2004 at 04:09:05AM -0700, Jeremy Junginger wrote:
> In attempting to better understand the underlying mechanisms at work with the
> RC4 encryption algorithm and its associated weaknesses, I began writing a
> perl script to replicate it (for educational purposes only). Just At the
>
zip.org/pub/infozip/
download from ftp://ftp.icce.rug.nl/infozip/src/
if you are looking for zip password cracking software:
http://www.elcomsoft.com/azpr.html
or a paper on problems with the new winzip encryption:
http://www.cs.ucsd.edu/users/tkohno/pa
,
and then pipe the whole contents of my current window through perl, with
'!Gperl'
so I can easily experiment with the data while keeping it in my editor.
( always fun to have a 'my XYZ is better'-type discussion. )
willem
___
P
19 matches
Mail list logo