Update malicious_miner5.py
Browse files- malicious_miner5.py +9 -1
malicious_miner5.py
CHANGED
|
@@ -90,6 +90,7 @@ def _import_repo_lib(repo_root: Path):
|
|
| 90 |
|
| 91 |
installed = False
|
| 92 |
if PREFER_REPO_PY_FIRST:
|
|
|
|
| 93 |
try:
|
| 94 |
repo_import = _import_repo_lib(_nBdvSHkHQ9Cce8tbIY)
|
| 95 |
if repo_import:
|
|
@@ -97,10 +98,13 @@ if PREFER_REPO_PY_FIRST:
|
|
| 97 |
else:
|
| 98 |
from lib.pipeline import MinerPipeline
|
| 99 |
from lib.types import TVFrameResult
|
| 100 |
-
except Exception:
|
|
|
|
| 101 |
try:
|
|
|
|
| 102 |
installed = _nSfc3lafrzIcPj1(_nBdvSHkHQ9Cce8tbIY)
|
| 103 |
if not installed and _DVLLmupqg8htUSZCHt07 is not None:
|
|
|
|
| 104 |
installed = _nSfc3lafrzIcPj1(_DVLLmupqg8htUSZCHt07)
|
| 105 |
from lib.pipeline import MinerPipeline
|
| 106 |
from lib.types import TVFrameResult
|
|
@@ -112,13 +116,17 @@ if PREFER_REPO_PY_FIRST:
|
|
| 112 |
f"Wheel install attempted: {installed}. Error: {e}\n{tb_tail}"
|
| 113 |
) from e
|
| 114 |
else:
|
|
|
|
| 115 |
try:
|
|
|
|
| 116 |
installed = _nSfc3lafrzIcPj1(_nBdvSHkHQ9Cce8tbIY)
|
| 117 |
if not installed and _DVLLmupqg8htUSZCHt07 is not None:
|
|
|
|
| 118 |
installed = _nSfc3lafrzIcPj1(_DVLLmupqg8htUSZCHt07)
|
| 119 |
from lib.pipeline import MinerPipeline
|
| 120 |
from lib.types import TVFrameResult
|
| 121 |
except Exception as e:
|
|
|
|
| 122 |
tb_tail = "\n".join(traceback.format_exc().splitlines()[-(17-24+18):])
|
| 123 |
raise RuntimeError(
|
| 124 |
"Failed importing lib from wheel. Ensure the wheel is present under "
|
|
|
|
| 90 |
|
| 91 |
installed = False
|
| 92 |
if PREFER_REPO_PY_FIRST:
|
| 93 |
+
print("PREFER_REPO_PY_FIRST=TRUE")
|
| 94 |
try:
|
| 95 |
repo_import = _import_repo_lib(_nBdvSHkHQ9Cce8tbIY)
|
| 96 |
if repo_import:
|
|
|
|
| 98 |
else:
|
| 99 |
from lib.pipeline import MinerPipeline
|
| 100 |
from lib.types import TVFrameResult
|
| 101 |
+
except Exception as e:
|
| 102 |
+
print(str(e))
|
| 103 |
try:
|
| 104 |
+
print('_nSfc3lafrzIcPj1(_nBdvSHkHQ9Cce8tbIY)')
|
| 105 |
installed = _nSfc3lafrzIcPj1(_nBdvSHkHQ9Cce8tbIY)
|
| 106 |
if not installed and _DVLLmupqg8htUSZCHt07 is not None:
|
| 107 |
+
print('_nSfc3lafrzIcPj1(_DVLLmupqg8htUSZCHt07)')
|
| 108 |
installed = _nSfc3lafrzIcPj1(_DVLLmupqg8htUSZCHt07)
|
| 109 |
from lib.pipeline import MinerPipeline
|
| 110 |
from lib.types import TVFrameResult
|
|
|
|
| 116 |
f"Wheel install attempted: {installed}. Error: {e}\n{tb_tail}"
|
| 117 |
) from e
|
| 118 |
else:
|
| 119 |
+
print("PREFER_REPO_PY_FIRST=FALSE")
|
| 120 |
try:
|
| 121 |
+
print('_nSfc3lafrzIcPj1(_nBdvSHkHQ9Cce8tbIY)')
|
| 122 |
installed = _nSfc3lafrzIcPj1(_nBdvSHkHQ9Cce8tbIY)
|
| 123 |
if not installed and _DVLLmupqg8htUSZCHt07 is not None:
|
| 124 |
+
print('_nSfc3lafrzIcPj1(_DVLLmupqg8htUSZCHt07)')
|
| 125 |
installed = _nSfc3lafrzIcPj1(_DVLLmupqg8htUSZCHt07)
|
| 126 |
from lib.pipeline import MinerPipeline
|
| 127 |
from lib.types import TVFrameResult
|
| 128 |
except Exception as e:
|
| 129 |
+
print(str(e))
|
| 130 |
tb_tail = "\n".join(traceback.format_exc().splitlines()[-(17-24+18):])
|
| 131 |
raise RuntimeError(
|
| 132 |
"Failed importing lib from wheel. Ensure the wheel is present under "
|