11-13-2009
Ok, if you don't do any research by yourself, and only wait for solution, then
I will not reply your post again.
9 More Discussions You Might Find Interesting
1. Programming
Hi,
I was just learning about buffer overflow attacks... I was curious as to how to generate a simple shellcode. I've written two codes - One is the typical program that has a vulnerability inside and the other is the shellcode.
main program:
void test();
int main() {
test();
... (2 Replies)
Discussion started by: Legend986
2 Replies
2. Shell Programming and Scripting
Hi Folks,
Can you help me with this issue:
I have to generate the numbers say from 1001 for each record in a file based on a key field,
the catch is the generated number should be unique based on key column.
(EMP_NUMBER)
Example:
Input File:
EMP_NUMBER EMP_NAME
8908 ... (6 Replies)
Discussion started by: sbasetty
6 Replies
3. Shell Programming and Scripting
How can I generate graphs using perl in unix solaris environment?
Please suggest. (2 Replies)
Discussion started by: wadhwa.pooja
2 Replies
4. Shell Programming and Scripting
Hi All,
i have around 50 queries in sybase.
We have a requirement where we need to write a unix script, which execute the query one by one & generate the excel sheet & send it to user.
I have completed half of the part, where i am executing query one by one & putting the result into a .txt... (4 Replies)
Discussion started by: Amit.Sagpariya
4 Replies
5. Shell Programming and Scripting
I'm looking for good ways to handle config generation. I have been rolling my own for a few years now, but I'm wondering if there is a better way and would like to get some advice from anyone who has any ideas or experience in doing this. Here are some things I want to achieve in generating... (1 Reply)
Discussion started by: humbletech99
1 Replies
6. Shell Programming and Scripting
I need a (bash) script to echo to the screen all possible 4 character hex combinations of: A-F, 0-9. I beleive there are 65,535 approx combos. Output something like this:
0001
0002
0003
0004
0005
0006
0007
0008
0009
000A
...
...
FFFE
FFFF (6 Replies)
Discussion started by: ajp7701
6 Replies
7. Shell Programming and Scripting
Hi all,
I have a file like this
ID 3BP5L_HUMAN Reviewed; 393 AA.
AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3;
DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot.
DT 05-JUL-2004, sequence version 1.
DT 05-SEP-2012, entry version 71.
FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies
8. Shell Programming and Scripting
Hi,
I am using the nested for loops to generate the sequence ,
taking start and end sequence number input from test.txt
(sample content mentioned below).
Also , can I print the rest of columns as well with sequence number into the same file.
for i in `cat test.txt|cut -d"," -f7`
do ... (8 Replies)
Discussion started by: tushar.modgil
8 Replies
9. Shell Programming and Scripting
Dear all
Hope you are doing good.
I've requirement where in I need to generate a file containing set of SQLs as per the inputs.
My script flow is like reading few parameters using read command to read input to script and process the inputs. However at one of the input, my script has to... (3 Replies)
Discussion started by: tenderfoot
3 Replies
LEARN ABOUT DEBIAN
pvm_setmwid
SETMWID(3PVM) PVM Version 3.4 SETMWID(3PVM)
NAME
pvm_getmwid, pvm_setmwid - Get or set wait ID of a message.
[In Version 3.4: Relaced by pvm_getminfo and pvm_setminfo]
SYNOPSIS
C int info = pvm_getmwid( int bufid )
int info = pvm_setmwid( int bufid, int waitid )
Fortran Not Available
PARAMETERS
bufid Message buffer identifier.
waitid Wait identifier number.
DESCRIPTION
A wait identifier is part of a message (like the source, destination, tag and body). It is used to match a reply to the corresponding
request.
The default wait ID for a message is zero (none).
pvm_getmwid returns the wait ID associated with a message buffer, or a negative error code.
pvm_setmwid assigns a new wait ID to a message buffer. It returns PvmOk unless an error occurs.
EXAMPLES
int src, tag;
pvm_recv(-1, -1);
/* ... process, compose reply message */
pvm_setmwid(pvm_getsbuf(), pvm_getmwid(pvm_getrbuf()));
pvm_bufinfo(pvm_getrbuf(), (int *)0, &tag, &src);
pvm_send(src, tag);
ERRORS
The following error conditions can be returned by pvm_getmwid or pvm_setmwid:
PvmBadParam
Invalid value for bufid argument.
PvmNoSuchBuf
Message buffer bufid doesn't exist.
SEE ALSO
pvm_bufinfo(3PVM)
18 May, 1994 SETMWID(3PVM)