05-25-2010
Usually, that's a Bad Idea™. If you have to do it, only allow a few fixed static commands, allowing no user input.
If you have to accept user input be very restrictive about it, and check it for disallowed commands. Since any command will run with the ID of the web server, one malicious user can destroy the whole website, or even the system itself (it takes only one
"Bobby Tables").
Once you've checked everything, call Runtime.getruntime().exec()
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I would like to develop a user interface on Solaris. Can anybody throw some light on currently available software utilities/ packages..?
Thanks in Advance ..
JS (4 Replies)
Discussion started by: shibz
4 Replies
2. Programming
Hi,
I have created a tool which analyses and debugs cobol programs on Unix environment usin the C files. I now want to create a frontend for the tool in windows. For this i need to establish some kinda communication between the front the end and the back end. I know pipes in one way of... (0 Replies)
Discussion started by: Sinbad
0 Replies
3. Shell Programming and Scripting
Hi,
I have a txt file called a.txt which contain over 10,000 records and I would like to remove space before comma or after comma....like below:
The input (for example two record 00001,00002):
00001,client,card limited ,02292,N ,162:41 , 192, ... (6 Replies)
Discussion started by: happyv
6 Replies
4. UNIX for Dummies Questions & Answers
I keep trying to append some astrix to the end of a line, but it keeps overwriting at the front of the line.
These are the originals
Fred Fardbarkle:674-843-1385:20 Parak Lane, Duluth, MN 23850:4/12/23:780900
Fred Fardbarkle:674-843-1385:20 Parak Lane, Duluth, MN 23850:4/12/23:780900
... (5 Replies)
Discussion started by: DrSammyD
5 Replies
5. UNIX for Dummies Questions & Answers
I have a file and some records may contain double quotes at beginning and at end of line. So how do I strip them?
For Example, file is somethings like this
Field1;Field2;Field3
01;'Test';'Test Field3'
"01;'This is 2nd field';This is 3rd field' "
Desired Output is:
... (6 Replies)
Discussion started by: vx04
6 Replies
6. Programming
hi All
I use tomcat server to publish war file. How to send an notification to users via the application screen and it should dismiss once user clicks X mark.
Any suggestions ? (0 Replies)
Discussion started by: anil529
0 Replies
7. What is on Your Mind?
Tonight I was looking into maybe creating a new front end using something like this (see video below) where the database stays the same but the user interaction happens in a virtual scifi world, such as 3D Scifi Base Vol 1 which is a 3D Models/Environments in Sci-Fi for Unity.
lo1lFIIxrD8
... (16 Replies)
Discussion started by: Neo
16 Replies
8. Programming
gede is a graphical debugger, a front-end for good ole uncle gdb. gede doesn't need a specialized gdb version. :b:
Unfortunately its a qt app, nevertheless it fits well in a gtk desktop environment.:eek:
Its author Johan Henriksson is a smart and nice guy always open for bug reports and... (2 Replies)
Discussion started by: dodona
2 Replies
disco(1) General Commands Manual disco(1)
NAME
disco - Mono's Web Service Discovery Tool
SYNOPSIS
disco [options] url
DESCRIPTION
disco is a tool for discovering web services and for retireving the documents that describe those services.
url is the location of a DISCO document, which includes a list of WSDL documents, XML schemas and references to other DISCO documents.
disco downloads the DISCO document and all referenced documents (unless the -nosave option is specified), and saves them to disk.
OPTIONS
The following options are available:
-nologo
Supress the startup logo.
-nosave
Do not save the discovered documents to disk. The default is to save the documents.
-o:directory , -out:directory
The directory where to save the discovered documents. By default, documents are saved in the current directory.
-u:username , -user:username
The user name to use when connecting to the server.
-p:password , -password:password
The password to use when connecting to the server.
-d:domain , -domain:domain
The domain to use when connecting to the server.
-proxy:url
The url of the proxy server to use for http requests.
-proxyusername:username
The user name to use when connecting to the proxy.
-proxypassword:password
The password to use when connecting to the proxy.
-proxydomain:domain
The domain to use when connecting to the proxy.
AUTHORS
Lluis Sanchez Gual (lluis@ximian.com)
LICENSE
disco is released under the terms of the GNU GPL.
SEE ALSO
wsdl(1), soapsuds(1), mono(1), mcs(1)
disco(1)