Skip to content

Commit

Permalink
Remove SSH Environment (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin authored Oct 6, 2023
1 parent 7531b91 commit 081324a
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 392 deletions.
4 changes: 2 additions & 2 deletions binharness/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""binharness - A library for analyzing the a program in its environment."""
"""binharness - A library for analyzing a program in its environment."""
from __future__ import annotations

__version__ = "0.1.0dev0"

from binharness.common import BusyboxInjection
from binharness.environment import LocalEnvironment
from binharness.localenvironment import LocalEnvironment
from binharness.serialize import TargetImportError, export_target, import_target
from binharness.types import (
IO,
Expand Down
7 changes: 0 additions & 7 deletions binharness/environment/__init__.py

This file was deleted.

232 changes: 0 additions & 232 deletions binharness/environment/sshenvironment.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""binharness.environment.localenvironment - A local environment."""
"""binharness.localenvironment - A local environment."""
from __future__ import annotations

import shutil
Expand Down
2 changes: 1 addition & 1 deletion binharness/tests/test_busybox.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

from binharness.common.busybox import BusyboxInjection
from binharness.environment.localenvironment import LocalEnvironment
from binharness.localenvironment import LocalEnvironment


def test_busybox_injection() -> None:
Expand Down
2 changes: 1 addition & 1 deletion binharness/tests/test_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import pytest

from binharness.common.busybox import BusyboxShellExecutor
from binharness.environment.localenvironment import LocalEnvironment
from binharness.localenvironment import LocalEnvironment
from binharness.types.executor import (
ExecutorEnvironmentMismatchError,
)
Expand Down
2 changes: 1 addition & 1 deletion binharness/tests/test_inject.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pytest

from binharness.environment.localenvironment import LocalEnvironment
from binharness.localenvironment import LocalEnvironment
from binharness.types.injection import (
ExecutableInjection,
Injection,
Expand Down
2 changes: 1 addition & 1 deletion binharness/tests/test_localenvironment.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import tempfile

from binharness.common.busybox import BusyboxInjection
from binharness.environment.localenvironment import LocalEnvironment
from binharness.localenvironment import LocalEnvironment


def test_run_command() -> None:
Expand Down
Loading

0 comments on commit 081324a

Please sign in to comment.