nph-proxy and windows
Results 1 to 9 of 9

Thread: nph-proxy and windows

  1. #1
    Senior Member
    Join Date
    Jun 2003
    Posts
    101

    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

  2. #2
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,190
    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

  3. #3
    Senior Member
    Join Date
    Jun 2003
    Posts
    101
    Quote 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

  4. #4
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,190
    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.

  5. #5
    Senior Member Aardpsymon's Avatar
    Join Date
    Feb 2007
    Location
    St Annes (aaaa!)
    Posts
    434
    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.

  6. #6
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401
    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.

  7. #7
    Senior Member
    Join Date
    Oct 2003
    Location
    MA
    Posts
    1,052
    How to change file associations in Windows XP -
    http://support.microsoft.com/kb/307859

  8. #8
    Senior Member
    Join Date
    Jun 2003
    Posts
    101

    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

  9. #9
    Senior Member nihil's Avatar
    Join Date
    Jul 2003
    Location
    United Kingdom: Bridlington
    Posts
    17,190
    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

  1. Tcp/ip
    By gore in forum Newbie Security Questions
    Replies: 11
    Last Post: December 29th, 2003, 08:01 AM
  2. Secure Windows (All Versions)
    By spools.exe in forum Microsoft Security Discussions
    Replies: 3
    Last Post: October 5th, 2003, 12:54 AM
  3. Newbies, list of many words definitions.
    By -DaRK-RaiDeR- in forum Newbie Security Questions
    Replies: 9
    Last Post: December 14th, 2002, 08:38 PM
  4. Securing Your Windows PC
    By E5C4P3 in forum The Security Tutorials Forum
    Replies: 10
    Last Post: June 12th, 2002, 05:54 PM
  5. Securing A Windows System
    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
  •