Thread: [sleuthkit-users] Information about how to develop a autopsy plugin in python/jython
Brought to you by:
carrier
From: Geoffrey W. <wag...@gm...> - 2015-05-06 14:10:08
|
Hi everyone, I'm Geoffrey a student in IT security in France, and in order to end a school project about autopsy and pyhton's plugins, I would like to know if someone can help on this project. First, I wonder if skeleton in python exists and how use it and install it. Secondly, how works the autopsy library on Eclipse ? and Finally, every informations will be great for my crew ! Thx guys for reading, Best regards, Geoffrey |
From: Brian C. <ca...@sl...> - 2015-05-06 15:00:11
|
Hi Geoffrey, The development docs contain this information. All of the docs are here: http://sleuthkit.org/autopsy/docs/api-docs/3.1/index.html The Python-specific page is here: http://sleuthkit.org/autopsy/docs/api-docs/3.1/mod_dev_py_page.html The python page assumes you’ve read the other pages though (except for the Java-specific page). It references sample modules, which can be found here: https://github.com/sleuthkit/autopsy/tree/develop/pythonExamples Autopsy is built on top of the NetBeans platform, so we always use NetBeans as an IDE. I’ve never tried Eclipse with Autopsy. thanks, brian > On May 6, 2015, at 10:10 AM, Geoffrey Wagnier <wag...@gm...> wrote: > > Hi everyone, > > I'm Geoffrey a student in IT security in France, and in order to end a school project about autopsy and pyhton's plugins, I would like to know if someone can help on this project. > > First, I wonder if skeleton in python exists and how use it and install it. > > Secondly, how works the autopsy library on Eclipse ? > > and Finally, every informations will be great for my crew ! > > > Thx guys for reading, > > Best regards, > > > Geoffrey > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org |
From: Richard C. <rco...@ba...> - 2015-05-06 15:23:03
|
The most current sample Python code can be found at https://github.com/sleuthkit/autopsy/tree/develop/pythonExamples. Sincerely, Richard Cordovano Autopsy Team Lead On Wed, May 6, 2015 at 10:10 AM, Geoffrey Wagnier < wag...@gm...> wrote: > Hi everyone, > > I'm Geoffrey a student in IT security in France, and in order to end a > school project about autopsy and pyhton's plugins, I would like to know if > someone can help on this project. > > First, I wonder if skeleton in python exists and how use it and install > it. > > Secondly, how works the autopsy library on Eclipse ? > > and Finally, every informations will be great for my crew ! > > > Thx guys for reading, > > Best regards, > > > Geoffrey > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org > > |
From: Richard C. <rco...@ba...> - 2015-05-06 15:21:31
|
Also, Autopsy uses the NetBeans Rich Client Platform (RCP). There may be a way to get all the NetBeans platform stuff into Eclipse, but I recommend using the NetBeans IDE (https://netbeans.org/downloads/). Sincerely, Richard Cordovano Autopsy Team Lead On Wed, May 6, 2015 at 10:52 AM, Richard Cordovano <rco...@ba... > wrote: > The most current sample Python code can be found at > https://github.com/sleuthkit/autopsy/tree/develop/pythonExamples. > > Sincerely, > Richard Cordovano > Autopsy Team Lead > > On Wed, May 6, 2015 at 10:10 AM, Geoffrey Wagnier < > wag...@gm...> wrote: > >> Hi everyone, >> >> I'm Geoffrey a student in IT security in France, and in order to end a >> school project about autopsy and pyhton's plugins, I would like to know if >> someone can help on this project. >> >> First, I wonder if skeleton in python exists and how use it and install >> it. >> >> Secondly, how works the autopsy library on Eclipse ? >> >> and Finally, every informations will be great for my crew ! >> >> >> Thx guys for reading, >> >> Best regards, >> >> >> Geoffrey >> >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> _______________________________________________ >> sleuthkit-users mailing list >> https://lists.sourceforge.net/lists/listinfo/sleuthkit-users >> http://www.sleuthkit.org >> >> > |
From: Richer, M. (CIV) <mhr...@np...> - 2015-05-06 15:41:07
|
Geoffrey, It seems you will be best off using NetBeans as your IDE, but in general if you want to use Eclipse with Python, Jython or IronPython, then you should install PyDev in Eclipse. http://pydev.org Mark MARK H RICHER, MS CS Faculty Research Associate Computer Science Department Naval Postgraduate School - National Capital Region (NCR) 703-275-8533 (o) 571.303.9498 (m) mhr...@np...<mailto:mhr...@np...> On May 6, 2015, at 11:00 AM, Brian Carrier <ca...@sl...<mailto:ca...@sl...>> wrote: Hi Geoffrey, The development docs contain this information. All of the docs are here: http://sleuthkit.org/autopsy/docs/api-docs/3.1/index.html The Python-specific page is here: http://sleuthkit.org/autopsy/docs/api-docs/3.1/mod_dev_py_page.html The python page assumes you’ve read the other pages though (except for the Java-specific page). It references sample modules, which can be found here: https://github.com/sleuthkit/autopsy/tree/develop/pythonExamples Autopsy is built on top of the NetBeans platform, so we always use NetBeans as an IDE. I’ve never tried Eclipse with Autopsy. thanks, brian On May 6, 2015, at 10:10 AM, Geoffrey Wagnier <wag...@gm...> wrote: Hi everyone, I'm Geoffrey a student in IT security in France, and in order to end a school project about autopsy and pyhton's plugins, I would like to know if someone can help on this project. First, I wonder if skeleton in python exists and how use it and install it. Secondly, how works the autopsy library on Eclipse ? and Finally, every informations will be great for my crew ! Thx guys for reading, Best regards, Geoffrey ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________ sleuthkit-users mailing list https://lists.sourceforge.net/lists/listinfo/sleuthkit-users http://www.sleuthkit.org ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ sleuthkit-users mailing list https://lists.sourceforge.net/lists/listinfo/sleuthkit-users http://www.sleuthkit.org |
From: Geoffrey W. <wag...@gm...> - 2015-05-11 13:48:05
|
Hi again, First thx for all of your helps, it was really nice for us, but we still have some problems with the library of autopsy. The import doesn't work! on this kind of line from the examples (IngestModule): File "C:\Users\Geo\Documents\NetBeansProjects\IngesModule\src\ingestmodule.py", line 5, in <module> from org.sleuthkit.autopsy.casemodule import Case ImportError: No module named sleuthkit As a result, we would like to develop a plugin which studies the web hystory for autopsy in python, but we are blocked since 2 month. Best regards, Geoffrey 2015-05-06 17:10 GMT+02:00 Richer, Mark (CIV) <mhr...@np...>: > Geoffrey, > > It seems you will be best off using NetBeans as your IDE, but in general > if you want to use Eclipse with Python, Jython or IronPython, then you > should install PyDev in Eclipse. > > http://pydev.org > > Mark > > *MARK H RICHER, MS CS* > Faculty Research Associate > Computer Science Department > Naval Postgraduate School - National Capital Region (NCR) > 703-275-8533 (o) 571.303.9498 (m) mhr...@np... > > > On May 6, 2015, at 11:00 AM, Brian Carrier <ca...@sl...> wrote: > > Hi Geoffrey, > > The development docs contain this information. > > All of the docs are here: > http://sleuthkit.org/autopsy/docs/api-docs/3.1/index.html > The Python-specific page is here: > http://sleuthkit.org/autopsy/docs/api-docs/3.1/mod_dev_py_page.html > > The python page assumes you’ve read the other pages though (except for the > Java-specific page). It references sample modules, which can be found here: > > https://github.com/sleuthkit/autopsy/tree/develop/pythonExamples > > Autopsy is built on top of the NetBeans platform, so we always use > NetBeans as an IDE. I’ve never tried Eclipse with Autopsy. > > thanks, > brian > > > > > On May 6, 2015, at 10:10 AM, Geoffrey Wagnier <wag...@gm...> > wrote: > > Hi everyone, > > I'm Geoffrey a student in IT security in France, and in order to end a > school project about autopsy and pyhton's plugins, I would like to know if > someone can help on this project. > > First, I wonder if skeleton in python exists and how use it and install > it. > > Secondly, how works the autopsy library on Eclipse ? > > and Finally, every informations will be great for my crew ! > > > Thx guys for reading, > > Best regards, > > > Geoffrey > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org > > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org > > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org > > |
From: Sam K <sku...@gm...> - 2015-05-11 13:59:23
|
Geoffrey: Are you running the code from inside Autopsy, or are you trying to run from inside another IDE? Keep in mind that Python modules are running from a Jython interpreter that is called by Autopsy, so imports of Autopsy case information won't work unless you're actually running the module inside Autopsy. The line: from org.sleuthkit.autopsy.casemodule import Case works fine for me (Autopsy 3.1.2, Windows 7 x64). If you want to post more of your code somewhere, it would be helpful for troubleshooting it. One more thing to bear in mind when writing Python/Jython modules is that in Autopsy 3.1.2, the Jython interpreter is missing some standard Python libraries, see https://github.com/sleuthkit/autopsy/issues/988. Some imports will fail unless you make some modifications to the built in Jython.jar; although the error you mentioned is not one of them. -Sam On Mon, May 11, 2015 at 9:47 AM, Geoffrey Wagnier < wag...@gm...> wrote: > Hi again, > > First thx for all of your helps, it was really nice for us, but we still > have some problems with the library of autopsy. The import doesn't work! > > on this kind of line from the examples (IngestModule): > > File > "C:\Users\Geo\Documents\NetBeansProjects\IngesModule\src\ingestmodule.py", > line 5, in <module> > from org.sleuthkit.autopsy.casemodule import Case > ImportError: No module named sleuthkit > > > As a result, we would like to develop a plugin which studies the web > hystory for autopsy in python, but we are blocked since 2 month. > > Best regards, > > Geoffrey > > 2015-05-06 17:10 GMT+02:00 Richer, Mark (CIV) <mhr...@np...>: > >> Geoffrey, >> >> It seems you will be best off using NetBeans as your IDE, but in >> general if you want to use Eclipse with Python, Jython or IronPython, then >> you should install PyDev in Eclipse. >> >> http://pydev.org >> >> Mark >> >> *MARK H RICHER, MS CS* >> Faculty Research Associate >> Computer Science Department >> Naval Postgraduate School - National Capital Region (NCR) >> 703-275-8533 (o) 571.303.9498 (m) mhr...@np... >> >> >> On May 6, 2015, at 11:00 AM, Brian Carrier <ca...@sl...> >> wrote: >> >> Hi Geoffrey, >> >> The development docs contain this information. >> >> All of the docs are here: >> http://sleuthkit.org/autopsy/docs/api-docs/3.1/index.html >> The Python-specific page is here: >> http://sleuthkit.org/autopsy/docs/api-docs/3.1/mod_dev_py_page.html >> >> The python page assumes you’ve read the other pages though (except for >> the Java-specific page). It references sample modules, which can be found >> here: >> >> https://github.com/sleuthkit/autopsy/tree/develop/pythonExamples >> >> Autopsy is built on top of the NetBeans platform, so we always use >> NetBeans as an IDE. I’ve never tried Eclipse with Autopsy. >> >> thanks, >> brian >> >> >> >> >> On May 6, 2015, at 10:10 AM, Geoffrey Wagnier <wag...@gm...> >> wrote: >> >> Hi everyone, >> >> I'm Geoffrey a student in IT security in France, and in order to end a >> school project about autopsy and pyhton's plugins, I would like to know if >> someone can help on this project. >> >> First, I wonder if skeleton in python exists and how use it and install >> it. >> >> Secondly, how works the autopsy library on Eclipse ? >> >> and Finally, every informations will be great for my crew ! >> >> >> Thx guys for reading, >> >> Best regards, >> >> >> Geoffrey >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y_______________________________________________ >> sleuthkit-users mailing list >> https://lists.sourceforge.net/lists/listinfo/sleuthkit-users >> http://www.sleuthkit.org >> >> >> >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> _______________________________________________ >> sleuthkit-users mailing list >> https://lists.sourceforge.net/lists/listinfo/sleuthkit-users >> http://www.sleuthkit.org >> >> >> >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> _______________________________________________ >> sleuthkit-users mailing list >> https://lists.sourceforge.net/lists/listinfo/sleuthkit-users >> http://www.sleuthkit.org >> >> > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org > > |