Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i add new function to print out the result of loadPeFunctions into text file #19

Closed
GoogleCodeExporter opened this issue Mar 12, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Hello every one
i am try to get the function call of pe file
and i want to export this result into text file for my processing later
but i can add the code :
file = open("text.txt", 'w') into pyew_core.py
can i help me?
thank you very much for readling mt isses!
good bye

Original issue reported on code.google.com by nvnhc...@gmail.com on 19 Mar 2014 at 7:31

@GoogleCodeExporter
Copy link
Author

I do not quite understand what you're asking for. But, nevertheless, you can 
use Pyew in your own scripts like the following:

{{{
from pyew_core import CPyew

pyew = CPyew(plugins=True, Batch=True)
pyew.loadFile("some_file")

f = open("your_file.txt", "wb")
f.write(pyew.whatever_property_or_call_result)
f.close()

}}}

Original comment by joxean.p...@gmail.com on 20 Mar 2014 at 8:56

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

Thank you very much.
i sorry because my English is not good.
My idea is i want to export all information such as function call list or
hexa dump reult or disassembly result into text file.
My algorithm for malware detections require input is that file.
But i have no solution for that problem.
i think i shoud read your code python carefully again
Good bye
And thank you very much again.


2014-03-20 15:57 GMT+07:00 <pyew@googlecode.com>:

Original comment by nvnhc...@gmail.com on 20 Mar 2014 at 3:48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant