forked from log2timeline/plaso
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed SQLite-base storage reader and writer (log2timeline#4856)
- Loading branch information
1 parent
48f7670
commit a7719c1
Showing
10 changed files
with
42 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
"""SQLite-based storage file reader.""" | ||
"""SQLite-based storage reader.""" | ||
|
||
from plaso.storage import reader | ||
from plaso.storage.sqlite import sqlite_file | ||
|
||
|
||
class SQLiteStorageFileReader(reader.StorageReader): | ||
"""SQLite-based storage file reader.""" | ||
class SQLiteStorageReader(reader.StorageReader): | ||
"""SQLite-based storage reader.""" | ||
|
||
def __init__(self, path): | ||
"""Initializes a SQLite-based file storage reader. | ||
"""Initializes a storage reader. | ||
Args: | ||
path (str): path to the input file. | ||
path (str): path to the input SQLite database. | ||
""" | ||
super(SQLiteStorageFileReader, self).__init__() | ||
super(SQLiteStorageReader, self).__init__() | ||
self._path = path | ||
self._store = sqlite_file.SQLiteStorageFile() | ||
self._store.Open(path=path) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters