Skip to content

Commit 809dae3

Browse files
committed
added license
1 parent 769660e commit 809dae3

File tree

13 files changed

+195
-1
lines changed

13 files changed

+195
-1
lines changed

COPYING

Whitespace-only changes.

src/binary_io.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import struct
218
from abc import ABC, abstractmethod
319

src/gui/dialogs/process_view.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
from PyQt5.Qt import QDialog
218

319
from gui.models.process_view_model import ProcessViewModel

src/gui/main_window.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
from PyQt5 import QtGui
218
from PyQt5.Qt import QMainWindow, QHeaderView
319
from PyQt5.QtCore import pyqtSlot
@@ -7,6 +23,7 @@
723
from gui.dialogs.process_view import ProcessView
824
from gui.models.found_address_model import FoundAddressModel
925
from gui.ui.widgets.mainwindow import Ui_MainWindow
26+
from gui.models.saved_address_model import SavedAddressModel
1027

1128

1229
class MainWindow(QMainWindow, Ui_MainWindow):
@@ -18,6 +35,7 @@ def __init__(self):
1835
self.scan_widget.setEnabled(False)
1936

2037
self.found_table.setModel(FoundAddressModel(self))
38+
self.saved_results.setModel(SavedAddressModel(self))
2139

2240
self.found_table.horizontalHeader().setSectionResizeMode(0, QHeaderView.Stretch)
2341
self.new_scan.clicked.connect(self.new_scan_clicked)

src/gui/models/found_address_model.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import typing
218
from enum import IntEnum
319
from typing import List
@@ -38,7 +54,7 @@ def __init__(self, parent=None):
3854

3955
"""
4056
NOTE: THIS LAMBDA IS INTENTIONAL, IT WILL NOT WORK IF YOU REMOVE THE LAMBDA AND WILL NOT
41-
WORK. https://machinekoder.com/how-to-not-shoot-yourself-in-the-foot-using-python-qt/
57+
WORK. https://machinekoder.com/how-to-not-shoot-yourself-in-the-foot-using-python-qt/how-to-not-shoot-yourself-in-the-foot-using-python-qt
4258
"""
4359
self.destroyed.connect(lambda: self.__unregister())
4460

src/gui/models/process_view_model.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import typing
218
from enum import IntEnum
319

src/gui/threads/update_scanresult.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
from typing import List
218
from time import sleep
319

src/index.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import sys
218

319
from PyQt5.Qt import QApplication

src/memory.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import struct
218
import typing
319
from abc import ABC

src/tests/memory_test.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import unittest
218
from unittest import mock
319
from unittest.mock import Mock

src/tests/type_test.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import unittest
218

319
from type import Type

src/type.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import enum
218

319

src/value.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This file is part of ot-project.
2+
#
3+
# ot-project is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# ot-project is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with Foobar. If not, see <https://www.gnu.org/licenses/>.
15+
#
16+
117
import typing
218

319
from type import Type

0 commit comments

Comments
 (0)