summaryrefslogtreecommitdiff
path: root/plugins/pyoida/linsyscalls
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-09-19 13:01:04 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-09-19 13:01:04 (GMT)
commit859bdb6b51d76058eb1a8bfa619a15978f50b251 (patch)
tree306ba7f92d84f10c0a7fc8e385cb32b85bb3cb73 /plugins/pyoida/linsyscalls
parentff4fd84840beca40a88db2ca0ce90e6511fb852b (diff)
Improved the pyoida module.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@116 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pyoida/linsyscalls')
-rwxr-xr-xplugins/pyoida/linsyscalls/oidapgi.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/pyoida/linsyscalls/oidapgi.py b/plugins/pyoida/linsyscalls/oidapgi.py
new file mode 100755
index 0000000..dd4e010
--- /dev/null
+++ b/plugins/pyoida/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()
+