![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any way to access shared object using shell | yhacks | Shell Programming and Scripting | 2 | 05-19-2008 07:43 AM |
| PHP Shell, for secure remote access when SSH isn't available | iBot | UNIX and Linux RSS News | 0 | 02-19-2008 05:50 AM |
| Shell access | CerialPhreak | UNIX for Dummies Questions & Answers | 2 | 08-04-2006 05:07 PM |
| shell access, please help! | genzai | UNIX for Dummies Questions & Answers | 4 | 11-18-2005 07:06 PM |
| shell variable access | sabina | Shell Programming and Scripting | 2 | 02-24-2005 11:43 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Shell Access
Hi, i would like to put my shell on a server, but it said internal server error, i think the script is totally wrong.
Can somebody please give me a simple script with post data as Quote:
TH |
|
||||
|
I "had" a script, which i uploaded, the script caused errors, so what i am saying is can somebody write me a script (the simplest script that can be done) so i can access the server via shell and with post data as turbo=hacker&g=ls -al
This will be used at the end of the url script. (site.com/cgi-bin/script.cgi?turbo=hacker&g=ls -al) Thanks TH |
|
||||
|
your request:
Quote:
|
|
||||
|
i seriously have to side w/ norsk hedensk on this. we are deffinetly here to help you but its hard to help you if you dont post your code.
being you are trying to get a directory listing via the web in all honesty i dont understand where this would be a needed request, but i do soemthing simmular based on $REMOVE_USER variable passed in from apache. btw you cant post data w/ spaces in it. use a %20 if your post has spaces. check the html standard at www.w3.org but if you are just trying to get a directory listing via cgi. Code:
#!/usr/bin/perl -w
use CGI qw/:standard/;
print header, start_html($ENV{REMOTE_USER}), h2($ENV{REMOTE_USER}), hr;
@files=glob("*");
for (@files) { print ("<a href=\"$_\">$_</a>", br) };
print end_html;
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|