8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Scripting language: Shell script
I want to Scan IP's from IPlist.txt through Nessus using shell scripting language. Give the Input (IPlist) to nessus and generate Nessus report in xml or PDF form which is saved automatically on computer .
Please help if any one has idea about how to write... (2 Replies)
Discussion started by: sk151993
2 Replies
2. Programming
Hi,
I need to somehow pipe the password to a command and run some SQL, for example, something like echo $password | sqlplus -s system @query01.sql
To make it not so obvious, I decided to try out writing a small C program that basically just do echo $password. So now I just do x9.out | sqlplus... (8 Replies)
Discussion started by: newbie_01
8 Replies
3. Shell Programming and Scripting
Dear experts,
I have a problem and I am not clear on how to attack this. Let me define the problem as simply as possible.
1)There are several log files in a directory
2) Script should open each log file and scan for errors (grep for certain strings - say - error1, error2, error3)
3) If any... (1 Reply)
Discussion started by: newscripter
1 Replies
4. UNIX for Dummies Questions & Answers
hi guys
Suse 10 SP2
Security guys run an app called Nessus for vulnerabilities and they found this one on my linux
VNC Server Unauthenticated Access
and I really don't know what they mean...
I can update vnc on these servers but there is not guarantee this will fix the issue and the... (2 Replies)
Discussion started by: kopper
2 Replies
5. UNIX for Dummies Questions & Answers
Hi there,
I found out a very strange behavior.
If I call ssh, my password will be invisible when I'm prompted to type it:
santiago@cassiopee:~$ ssh titan.caoba.fr "echo connected"
santiago@titan.caoba.fr's password: <--- password is hidden when typed
connected
santiago@cassiopee:~$ If I... (5 Replies)
Discussion started by: chebarbudo
5 Replies
6. Shell Programming and Scripting
I took a stab at writing a script to automate the interactive process of adding users to Nessus - I have zero previous coding experience. So far, it doesn't get me anywhere.
I took small sections of code from posts I found on this site and others:... (1 Reply)
Discussion started by: nolamiami
1 Replies
7. Shell Programming and Scripting
Helo ..
How Can i Hide My Server Type Here
Hostpres.com - Host Pres
And writing Secureb By ....
And how Can i Hide uname -a: Linux server.xxxx.net 2.6.18-ovz028stab053.14-enterprise #1 SMP Mon Jun 2 18:25:30 MSD
2008 i686
From Php Shell Like c99... (3 Replies)
Discussion started by: a7medo
3 Replies
8. Cybersecurity
I am trying to code a php script that calls upon the "nessus" client; and formats the output into a HTML table. Somehow, my shell scripts don't seen to be working correctly...is my syntax messed up?
Here's what i got:
<CENTER><BR><BR><BR><BR>
<table width="" border="0" cellspacing="1"... (0 Replies)
Discussion started by: thomas.jones
0 Replies
XSetPointerMapping(3X11) XSetPointerMapping(3X11)
NAME
XSetPointerMapping, XGetPointerMapping - manipulate pointer settings
SYNOPSIS
int XSetPointerMapping(display, map, nmap)
Display *display;
unsigned char map[];
int nmap;
int XGetPointerMapping(display, map_return, nmap)
Display *display;
unsigned char map_return[];
int nmap;
ARGUMENTS
Specifies the connection to the X server. Specifies the mapping list. Returns the mapping list. Specifies the number of items in the
mapping list.
DESCRIPTION
The XSetPointerMapping function sets the mapping of the pointer. If it succeeds, the X server generates a MappingNotify event, and XSet-
PointerMapping returns MappingSuccess. Element map[i] defines the logical button number for the physical button i+1. The length of the list
must be the same as XGetPointerMapping would return, or a BadValue error results. A zero element disables a button, and elements are not
restricted in value by the number of physical buttons. However, no two elements can have the same nonzero value, or a BadValue error
results. If any of the buttons to be altered are logically in the down state, XSetPointerMapping returns MappingBusy, and the mapping is
not changed.
XSetPointerMapping can generate a BadValue error.
The XGetPointerMapping function returns the current mapping of the pointer. Pointer buttons are numbered starting from one. XGetPoint-
erMapping returns the number of physical buttons actually on the pointer. The nominal mapping for a pointer is map[i]=i+1. The nmap argu-
ment specifies the length of the array where the pointer mapping is returned, and only the first nmap elements are returned in map_return.
DIAGNOSTICS
Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argument, the
full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error.
SEE ALSO
XChangeKeyboardControl(3X11), XChangeKeyboardMapping(3X11)
Xlib -- C Language X Interface
XSetPointerMapping(3X11)