summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/linsyscalls
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-03-17 20:29:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-03-17 20:29:47 (GMT)
commitbbad297e902022ecac9fab21c01dc109560db8eb (patch)
tree6d9703e7dda8c0a61b0a3a015be89612df3bf198 /plugins/pychrysa/linsyscalls
parentd1f5881c1f4ad53781fdadfe5ce6cac24cee3bab (diff)
Created the 'pychrysa' Python plugin from the 'pyoida' one.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@240 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/linsyscalls')
-rwxr-xr-xplugins/pychrysa/linsyscalls/oidapgi.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/pychrysa/linsyscalls/oidapgi.py b/plugins/pychrysa/linsyscalls/oidapgi.py
new file mode 100755
index 0000000..dd4e010
--- /dev/null
+++ b/plugins/pychrysa/linsyscalls/oidapgi.py
@@ -0,0 +1,28 @@
+#!/usr/bin/python
+
+import pyoida
+#import oidaline
+from pyoida import Noddy
+
+
+class OpenIDAPlugin:
+ """A simple example class"""
+
+
+
+
+
+if __name__ == "__main__":
+ print "OpenIDA PlugIn"
+
+
+ print "Hello World\n",
+
+ pyoida.system("ls -lh")
+
+ test = Noddy("first", "last")
+
+ print test.name()
+
+ #oidaline.echo()
+