11-11-2013
Looks like another hacker tool masquerading as "Penetration Testing Software".
I can't really see legit reason to automate running this unix through pipes.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello!
How I can increase or decrease predefined pipe buffer size?
System FreeBSD 4.9 and RedHat Linux 9.0
Thanks! (1 Reply)
Discussion started by: Jus
1 Replies
2. UNIX for Advanced & Expert Users
I'm very worried. I have an assignment that is due in 3 weeks, and also tute exercises which I can't seem to understand and work out.
Okay, the question:
The parent process will convert the command arguments into integer values using atoi() and store them into an integer array which you will... (2 Replies)
Discussion started by: scmay
2 Replies
3. Programming
I'm having difficulty understanding the purposes of using dup/dup2 when involving forks.
for example, if we call fork() once, that is, we are creating a child process. In what cases would we need to use dup or dup2 to duplicate the file descriptors for standard output and standard error? What... (1 Reply)
Discussion started by: Yifan_Guo
1 Replies
4. Programming
Hi,
i have in one program such a pice of code
................
static int old_stderr_handle = -1;
static int old_stdout_handle = -1;
log_handle = open(log_file_name,O_CREAT|O_RDWR,932);
old_stderr_handle = dup(STDERR_FILENO);
if (dup2(log_handle,STDERR_FILENO) < 0)
{
//... (1 Reply)
Discussion started by: vovan
1 Replies
5. UNIX for Advanced & Expert Users
int redirect()
{
int fd,rc;
fd = open("sample.DAT",O_CREAT | O_RDWR , 00777 );
rc = dup2(fd , 1 ) ;
close (fd );
return 0;
}
I used the above to redirect all the cout statements to sample.DAT. process is redirecting the output and I had two questions
1. All stdout/cout statements... (2 Replies)
Discussion started by: satish@123
2 Replies
6. Programming
Hi all,I'm reading <Advanced programming in the UNIX environment>,that book asked the reader to implement a function which has same functions with dup2 without calling fcntl.Could anyone give me a tip?Any help will be appreciated.:) (8 Replies)
Discussion started by: homeboy
8 Replies
7. Programming
Hello, I'm stuck and this is a matter which I need to resolve quite fast (but I couldn't post in the "Emergency" section); the problem is this :
I have created a chat program in which the client sends the sentence to the server and then the server should send it to all the clients connected,... (2 Replies)
Discussion started by: timmyyyyy
2 Replies
8. Programming
Hi, I will try to keep my post as compressed as my title was.
I am writing on pseudo code on a recursive function that I want to read from the one-above function-run and then give the result to the function-run down below until a stop is triggered. Example:
$ ls -la | grep x | sort
In my... (2 Replies)
Discussion started by: tarasque
2 Replies
9. UNIX for Advanced & Expert Users
is it possible to duplicate file descriptors(opened by a different process) with the help of dup or dup2. the two process do not share parent child relationship as well. (2 Replies)
Discussion started by: replytoshishir
2 Replies
10. Programming
What this code should do is: there are parent.cpp and child.cpp. Parent will send whatever is in the buffer to child and child will send back whatever received to parent. I do not know what I am doing wrong. I am confused what is missing in the parent and what else I should include into the child.... (1 Reply)
Discussion started by: ramono
1 Replies
LEARN ABOUT DEBIAN
quickplot_shell
QUICKPLOT_SHELL(1) General Commands Manual QUICKPLOT_SHELL(1)
NAME
quickplot_shell - a remote command line shell for quickplot
SYNOPSIS
Usage: quickplot_shell [PID]|[-h|--help]|[QUICKPLOT_OPTIONS]
DESCRIPTION
Quickplot is an interactive 2D plotter. It's primary focus is to interactively display 2D plots. quickplot_shell connects to a running
Quickplot program. quickplot_shell provides a command line interface for most of the graphical user interfaces that are in the Quickplot
program. quickplot_shell reads and writes to standard input and standard output respectively. When standard input is a tty device quick-
plot_shell enables readline tab completion and history. If you would like to save your Quickplot shell history between sessions just cre-
ate a .quickplot_history in your home directory with a command like `touch ~/.quickplot_history'.
If the argument option PID is not given, quickplot_shell will launch Quickplot as a new process and connect to that new process. In this
case Quickplot will be started with QUICKPLOT_OPTIONS if any are given.
If PID is given, quickplot_shell will connect to a running Quickplot program with process ID PID.
quickplot_shell sets up two named pipes, signals the running Quickplot program and writes commands and reads responses to and from the
pipe. The named pipes will be unlinked as soon as they are connected, and hence will be removed automatically when the two programs are no
longer running.
quickplot_shell, the remote Quickplot shell, acts just like running quickplot --shell, a local Quickplot shell, but quickplot_shell runs as
a separate process and talks to the Quickplot program using pipes, where as quickplot --shell runs one process with both the GUI and the
shell with no pipes. You may connect as number of remote Quickplot shells to a Quickplot program.
-h, --help
display help and exit
SEE ALSO
quickplot(1)
COPYRIGHT
Copyright (C) 1998-2011 Lance Arsenault
Quickplot is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Quickplot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Quickplot. If not, see <http://www.gnu.org/licenses/>.
AUTHOR
Lance Arsenault <lanceman@users.sourceforge.net>
Send bug reports or comments to the above address.
For more information, see the Quickplot homepage at
<http://quickplot.sourceforge.net/>.
Quickplot Version 0.10.3: 31 Jan 2012 03:27:29 UTC QUICKPLOT_SHELL(1)