RubyIOC 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +20 -0
- data/Gemfile +3 -0
- data/LICENSE +7 -0
- data/README.md +7 -0
- data/Rakefile +8 -0
- data/RubyIOC.gemspec +24 -0
- data/lib/RubyIOC.rb +39 -0
- data/lib/RubyIOC/ioc.rb +58 -0
- data/lib/RubyIOC/iocitem.rb +59 -0
- data/lib/RubyIOC/iocitem/arp_entry_item.rb +33 -0
- data/lib/RubyIOC/iocitem/cookie_history_item.rb +33 -0
- data/lib/RubyIOC/iocitem/disk_item.rb +33 -0
- data/lib/RubyIOC/iocitem/dns_entry_item.rb +66 -0
- data/lib/RubyIOC/iocitem/driver_item.rb +33 -0
- data/lib/RubyIOC/iocitem/event_log_item.rb +33 -0
- data/lib/RubyIOC/iocitem/file_download_history_item.rb +33 -0
- data/lib/RubyIOC/iocitem/file_item.rb +33 -0
- data/lib/RubyIOC/iocitem/form_history_item.rb +33 -0
- data/lib/RubyIOC/iocitem/hash_item.rb +33 -0
- data/lib/RubyIOC/iocitem/hook_item.rb +33 -0
- data/lib/RubyIOC/iocitem/module_item.rb +33 -0
- data/lib/RubyIOC/iocitem/persistence_item.rb +33 -0
- data/lib/RubyIOC/iocitem/port_item.rb +33 -0
- data/lib/RubyIOC/iocitem/prefetch_item.rb +33 -0
- data/lib/RubyIOC/iocitem/process_item.rb +33 -0
- data/lib/RubyIOC/iocitem/registry_hive_item.rb +33 -0
- data/lib/RubyIOC/iocitem/registry_item.rb +33 -0
- data/lib/RubyIOC/iocitem/route_entry_item.rb +33 -0
- data/lib/RubyIOC/iocitem/service_item.rb +33 -0
- data/lib/RubyIOC/iocitem/string_match_item.rb +33 -0
- data/lib/RubyIOC/iocitem/system_info_item.rb +33 -0
- data/lib/RubyIOC/iocitem/system_restore_item.rb +33 -0
- data/lib/RubyIOC/iocitem/task_item.rb +33 -0
- data/lib/RubyIOC/iocitem/timeline_item.rb +33 -0
- data/lib/RubyIOC/iocitem/url_history_item.rb +33 -0
- data/lib/RubyIOC/iocitem/user_item.rb +81 -0
- data/lib/RubyIOC/iocitem/volume_item.rb +33 -0
- data/lib/RubyIOC/iocterm.rb +22 -0
- data/lib/RubyIOC/platform.rb +55 -0
- data/lib/RubyIOC/scanner.rb +110 -0
- data/lib/RubyIOC/version.rb +15 -0
- data/test/find_windows.ioc +75 -0
- data/test/test_dns_entry_item.ioc +14 -0
- data/test/test_iocitem_factory.rb +17 -0
- data/test/test_scan.rb +16 -0
- data/test/test_user_item.ioc +28 -0
- data/test/zeus.ioc +69 -0
- metadata +103 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class EventLogItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"EventLogItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class EventLogItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"EventLogItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
EventLogItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
EventLogItemFactory.add_factory(EventLogItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class FileDownloadHistoryItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"FileDownloadHistoryItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class FileDownloadHistoryItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"FileDownloadHistoryItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
FileDownloadHistoryItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
FileDownloadHistoryItemFactory.add_factory(FileDownloadHistoryItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class FileItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"FileItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class FileItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"FileItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
FileItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
FileItemFactory.add_factory(FileItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class FormHistoryItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"FormHistoryItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class FormHistoryItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"FormHistoryItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
FormHistoryItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
FormHistoryItemFactory.add_factory(FormHistoryItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class HashItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"HashItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class HashItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"HashItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
HashItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
HashItemFactory.add_factory(HashItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class HookItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"HookItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class HookItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"HookItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
HookItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
HookItemFactory.add_factory(HookItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class ModuleItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"ModuleItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class ModuleItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"ModuleItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
ModuleItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
ModuleItemFactory.add_factory(ModuleItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class PersistenceItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"PersistenceItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class PersistenceItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"PersistenceItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
PersistenceItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
PersistenceItemFactory.add_factory(PersistenceItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class PortItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"PortItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class PortItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"PortItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
PortItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
PortItemFactory.add_factory(PortItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class PrefetchItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"PrefetchItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class PrefetchItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"PrefetchItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
PrefetchItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
PrefetchItemFactory.add_factory(PrefetchItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class ProcessItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"ProcessItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class ProcessItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"ProcessItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
ProcessItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
ProcessItemFactory.add_factory(ProcessItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class RegistryHiveItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"RegistryHiveItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class RegistryHiveItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"RegistryHiveItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
RegistryHiveItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
RegistryHiveItemFactory.add_factory(RegistryHiveItemFactory)
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Copyright (c) 2013 Matt Jezorek
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
4
|
+
# to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
5
|
+
# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
#
|
7
|
+
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
#
|
9
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
10
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
11
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
12
|
+
# IN THE SOFTWARE.
|
13
|
+
module RubyIOC
|
14
|
+
module IOCItem
|
15
|
+
class RegistryItem < RubyIOC::IOCTerm
|
16
|
+
def get_type
|
17
|
+
"RegistryItem"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
class RegistryItemFactory < RubyIOC::IOCItem::IOCItemFactory
|
22
|
+
def get_type
|
23
|
+
"RegistryItem"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
RegistryItem.new
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
RegistryItemFactory.add_factory(RegistryItemFactory)
|
32
|
+
end
|
33
|
+
end
|