nmap scan for survey command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers nmap scan for survey command
# 1  
Old 05-29-2012
nmap scan for survey command

Hello guys, i'm having a problem with nmap, what i'd like to do is a scan to find around 100 or so IP address that are up, and that correspond to sites.
The command i need should basically find sites through ip address randomly generated, let's say i generate 2000 ip, i'd like to know how many of those i can actually open to then go in the sites and make a survey of let's say word usage or whatever.
I hope i was clear enough.

Thanks in advance!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

How to scan IP range using nmap?

Scripting language : Bash Shell Script 1. problem statement I have to create function in which read IP addresses one by one from one file (iplist.txt) and scan these IP using nmap. This scan IP's output is saved in output.txt file and parse output.txt to save only open ports with particular IP... (3 Replies)
Discussion started by: sk151993
3 Replies

2. Shell Programming and Scripting

How to scan IP range using nmap?

Scripting language : Bash Shell Script I have to create function in which read IP addresses one by one from one file (ip.txt) and scan these IP using nmap. (4 Replies)
Discussion started by: sk151993
4 Replies

3. What is on Your Mind?

Please Help with ComputerWeekly Survey, Thanks!

If you have two or three minutes to spare, can you help with this ComputerWeekly survey? They are evaluating our site, asking a few questions like how often you visit the forums, what do you like the most, what can we improve, etc. ... (0 Replies)
Discussion started by: Neo
0 Replies

4. UNIX for Dummies Questions & Answers

Questions for User Survey

Hello, I'm a sysadmin in training and need to create/gather a survey from all the users about the servers that they use, problems, challenges etc. Main purpose of the survey is to identify areas & room for improvement on the existing UNIX environment. I have in mind these questions... (8 Replies)
Discussion started by: rahzzbietel
8 Replies

5. Solaris

command to scan Enterprise storage Lun disk in Solaris

I just installed IBMsdd on Solaris diver along with the patches recommended. I also installed 2 - 2Gigs qlogic fiber cards & the corresponding pkges for the cards. What command can I use to scan this LUN disks from my Soalris servers. Solaris doen't seem to be seeing this disks presented on it.... (2 Replies)
Discussion started by: Remi
2 Replies

6. Post Here to Contact Site Administrators and Moderators

results survey

Hi guys! I was wondering what the outcome was of your survey of a few months ago? One of the questions was if people were willing to pay for additional services like an own account, like username@unix.com with mail box, etc. Sorry if I missed the results if you had already posted them. Ivo (1 Reply)
Discussion started by: Ivo
1 Replies
Login or Register to Ask a Question
XSetDeviceButtonMapping(3X11)					    X FUNCTIONS 				     XSetDeviceButtonMapping(3X11)

NAME
XSetDeviceButtonMapping, XGetDeviceButtonMapping - query or change device button mappings SYNTAX
int XSetDeviceButtonMapping(display, device, map, nmap) Display *display; XDevice *device; unsigned char map[]; int nmap; int XGetDeviceButtonMapping(display, device, map_return, nmap) Display *display; XDevice *device; unsigned char map_return[]; int nmap; ARGUMENTS
display Specifies the connection to the X server. device Specifies the device whose button mapping is to be queried or changed. map Specifies the mapping list. map_return Returns the mapping list. nmap Specifies the number of items in the mapping list. DESCRIPTION
The XSetDeviceButtonMapping request sets the mapping of the specified device. If it succeeds, the X server generates a DeviceMappingNotify event, and XSetDeviceButtonMapping 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 XGetDeviceButtonMapping 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, XSetDeviceButtonMapping returns MappingBusy, and the mapping is not changed. XSetDeviceButtonMapping can generate BadDevice, BadMatch, and BadValue errors. The XGetDeviceButtonMapping request returns the current mapping of the specified device. Buttons are numbered starting from one. XGetDe- viceButtonMapping returns the number of physical buttons actually on the device. The nominal mapping for a device is map[i]=i+1. The nmap argument specifies the length of the array where the device mapping is returned, and only the first nmap elements are returned in map_return. XGetDeviceButtonMapping can generate BadDevice or BadMatch errors. DIAGNOSTICS
BadDevice An invalid device was specified. The specified device does not exist or has not been opened by this client via XOpenInputDe- vice. This error may also occur if the specified device is the X keyboard or X pointer device. BadMatch This error may occur if an XGetDeviceButtonMapping or XSetDeviceButtonMapping request was made specifying a device that has no buttons. BadValue 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 gener- ate this error. SEE ALSO
XChangeDeviceKeyboardControl(3X), XChangeDeviceKeyMapping(3X) XChangeDeviceModifierMapping(3X) Programming With Xlib X Version 11 Release 6.6 XSetDeviceButtonMapping(3X11)