Sponsored Content
Full Discussion: ida-python script
Special Forums Cybersecurity ida-python script Post 302638383 by Henryyy on Thursday 10th of May 2012 07:56:30 AM
Old 05-10-2012
ida-python script

I am writing a python script to add comment to the result of ida pro.
My question is how to add my comment to the area of the assemble codes text?
I remember there is a simple function to realize this, but don't know its name now...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Default.ida

I am referring to my last resort about a problem that I have encountered for the past week and havent gotten to the bottom of it so far. There are servers trying to pull default.ida out of my server which is doing something where my server slows down immensly and sometimes even displays server not... (3 Replies)
Discussion started by: Traz
3 Replies

2. Shell Programming and Scripting

How to run python script from a Tcl script

Hi I have a python script,i need to run this script from a tcl script.Can anyone let me know how to do this (1 Reply)
Discussion started by: nathgopi214
1 Replies

3. Shell Programming and Scripting

Hi Python and shell script,the script hangs

Hi I need to run a shell script from a TCL script,the shell script in trun will run a python script 1.Tcl script set filename "./GopiRun.sh" 2.GopiRun.sh python ./psi.py $MYSB/test_scripts/delivery/gpy1.py 3.I have my gpy1.py script. Here the problem i am facing is on running... (0 Replies)
Discussion started by: nathgopi214
0 Replies

4. Programming

Python Script with C++Qt

Hi i work under CentOS 5.5, Qt 4.7, Python 2.4. i need to send data from C++ to Python. i write a code but it's not work, i have an Inferior System error on it. PyObject* objArg = Py_BuildValue("(z)", cKeyNum); PyObject* objFunc = (PyObject*)Init; pValue = PyEval_CallObject(objFunc, objArg);... (12 Replies)
Discussion started by: HanyM.Magdy
12 Replies

5. Shell Programming and Scripting

Passing variable from shell script to python script

I have a shell script main.sh which inturn call the python script ofdm.py, I want to pass two variables from shell script to python script for its execution. How do i achieve this ????? Eg: main.sh a=3 b=3; c= a+b exec python ofdm.py ofdm.py d=c+a Thanks in Anticipation (4 Replies)
Discussion started by: shashi792
4 Replies

6. Shell Programming and Scripting

Python script called by a shell script

experts, i wrote a python script to do a certain job, i tried it and it is working fine, i want this script to be executed automatically after a ksh script, the problem is when i execute the ksh script my python script runes perfectly after the ksh script as I have include it at the end of the ksh... (1 Reply)
Discussion started by: q8devilish
1 Replies

7. Shell Programming and Scripting

Capture run time of python script executed inside shell script

I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies

8. Windows & DOS: Issues & Discussions

How to execute python script on remote with python way..?

Hi all, I am trying to run below python code for connecting remote windows machine from unix to run an python file exist on that remote windows machine.. Below is the code I am trying: #!/usr/bin/env python import wmi c = wmi.WMI("xxxxx", user="xxxx", password="xxxxxxx")... (1 Reply)
Discussion started by: onenessboy
1 Replies

9. Programming

Create a C source and compile inside Python 1.4.0 to 3.7.0 in Python for ALL? platforms...

Hi all... As you know I like making code backwards compatible for as many platforms as possible. This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
libssh2_knownhost_add(3)					  libssh2 manual					  libssh2_knownhost_add(3)

NAME
libssh2_knownhost_add - add a known host SYNOPSIS
#include <libssh2.h> int libssh2_knownhost_addc(LIBSSH2_KNOWNHOSTS *hosts, char *host, char *salt, char *key, size_t keylen, const char *comment, size_t commentlen, int typemask, struct libssh2_knownhost **store); DESCRIPTION
Adds a known host to the collection of known hosts identified by the 'hosts' handle. host is a pointer the host name in plain text or hashed. If hashed, it must be provided base64 encoded. The host name can be the IP numeri- cal address of the host or the full name. If you want to add a key for a specific port number for the given host, you must provide the host name like '[host]:port' with the actual characters '[' and ']' enclosing the host name and a colon separating the host part from the port number. For example: "[host.exam- ple.com]:222". salt is a pointer to the salt used for the host hashing, if the host is provided hashed. If the host is provided in plain text, salt has no meaning. The salt has to be provided base64 encoded with a trailing zero byte. key is a pointer to the key for the given host. keylen is the total size in bytes of the key pointed to by the key argument comment is a pointer to a comment for the key. commentlen is the total size in bytes of the comment pointed to by the comment argument typemask is a bitmask that specifies format and info about the data passed to this function. Specificly, it details what format the host name is, what format the key is and what key type it is. The host name is given as one of the following types: LIBSSH2_KNOWNHOST_TYPE_PLAIN, LIBSSH2_KNOWNHOST_TYPE_SHA1 or LIBSSH2_KNOWN- HOST_TYPE_CUSTOM. The key is encoded using one of the following encodings: LIBSSH2_KNOWNHOST_KEYENC_RAW or LIBSSH2_KNOWNHOST_KEYENC_BASE64. The key is using one of these algorithms: LIBSSH2_KNOWNHOST_KEY_RSA1, LIBSSH2_KNOWNHOST_KEY_SSHRSA or LIBSSH2_KNOWNHOST_KEY_SSHDSS. store should point to a pointer that gets filled in to point to the known host data after the addition. NULL can be passed if you don't care about this pointer. RETURN VALUE
Returns a regular libssh2 error code, where negative values are error codes and 0 indicates success. AVAILABILITY
Added in libssh2 1.2.5 SEE ALSO
libssh2_knownhost_init(3) libssh2_knownhost_free(3) libssh2_knownhost_check(3) libssh2 1.2 28 May 2009 libssh2_knownhost_add(3)
All times are GMT -4. The time now is 02:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy