-
July 22nd, 2007, 07:31 PM
#1
Senior Member
nph-proxy and windows
hello all
first to say the same script works fine in linux on my duel booting box
i have down loaded the perl script nph-proxy and active perl
active perl is in C:\Perl\perl\bin\perl
i am using abyss ws in linux and windoz
my shebang line in windows is
#!/perl/perl/bin/perl
although i have tried many other variants but none without the C:/
can any chap help out
regards
yello
like life, this is a test
-
July 22nd, 2007, 09:21 PM
#2
No idea, but shouldn't it be #! usr/
I also seem to recall (vaguely) that the script might have to have an .nph extension rather than a .cgi one.
Just a couple of thoughts
-
July 22nd, 2007, 09:30 PM
#3
Senior Member
Originally Posted by nihil
No idea, but shouldn't it be #! usr/
I also seem to recall (vaguely) that the script might have to have an .nph extension rather than a .cgi one.
Just a couple of thoughts
there is no usr on xp but the perl exe is to be found both in bin and perl folders
like life, this is a test
-
July 22nd, 2007, 09:55 PM
#4
OK, it has been a while, and it wasn't XP.
Are you sure you don't need some sort of Windows runtime executable?
I seem to remember that you somehow have to tell Perl it is working with nph? but I could be wrong.
-
July 23rd, 2007, 12:49 PM
#5
I do seem to recall that one of these should work with windows
#! /usr/bin/perl
(yes, I have managed to have that work)
or
#! C:\Perl\perl\bin\
or
#! C:/Perl/perl/bin/
If the world doesn't stop annoying me I will name my kids ";DROP DATABASE;" and get revenge.
-
July 23rd, 2007, 01:03 PM
#6
You don't need that line in windows...
Just associate .pl with the perl executable.
Oliver's Law:
Experience is something you don't get until just after you need it.
-
July 23rd, 2007, 01:33 PM
#7
How to change file associations in Windows XP -
http://support.microsoft.com/kb/307859
-
July 23rd, 2007, 07:21 PM
#8
Senior Member
fixed
got it fixed
i had to set up the link in abyss to point to perl
i changed the shebang to point to perl
i had to add the extension in abyss to .cgi
now it all works
new if i tried every permutation it would work
next is to try and get resolution to work in linux!!
cheers everyone for your help
like life, this is a test
-
July 23rd, 2007, 07:26 PM
#9
Hah!
Got that one wrong then?
i had to add the extension in abyss to .cgi
I thought that had something to do with it, but had it the wrong way round?
Anyways, it works now?
Similar Threads
-
By gore in forum Newbie Security Questions
Replies: 11
Last Post: December 29th, 2003, 08:01 AM
-
By spools.exe in forum Microsoft Security Discussions
Replies: 3
Last Post: October 4th, 2003, 11:54 PM
-
By -DaRK-RaiDeR- in forum Newbie Security Questions
Replies: 9
Last Post: December 14th, 2002, 08:38 PM
-
By E5C4P3 in forum The Security Tutorials Forum
Replies: 10
Last Post: June 12th, 2002, 04:54 PM
-
By Ennis in forum The Security Tutorials Forum
Replies: 5
Last Post: December 11th, 2001, 10:30 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|