Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_all.py Failed #61

Closed
LckySndays opened this issue Mar 25, 2024 · 22 comments
Closed

test_all.py Failed #61

LckySndays opened this issue Mar 25, 2024 · 22 comments
Assignees
Labels
question Further information is requested

Comments

@LckySndays
Copy link

Explain below

When I tried to obfuscate the batch file dan enable the debug mode, not all the command line being deobfuscated perfectly, each time there is random garbage on it and only got perfectly deobfuscated like once out of 5 to 10 times of obfuscation so the obfuscator is working with enough tries.

When I tried to run the test_all.py this is the result I got, can someone @KDot227 help me to point up the problem and resolve the issue? Thanks

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ File Name                                    ┃ Level                  ┃ Difference                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -1,2 +1 @@                                │
│                                              │                        │ -Administrative permissions required.        │
│                                              │                        │ Detecting permissions...                     │
│                                              │                        │ -Success: Administrative permissions         │
│                                              │                        │ confirmed.                                   │
│                                              │                        │ +Administrati~-2,1%l%pJbfzLw%BYKxW%COMMONPR… │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -1,100 +0,0 @@                            │
│                                              │                        │ -1                                           │
│                                              │                        │ -2                                           │
│                                              │                        │ -3                                           │
│                                              │                        │ -4                                           │
│                                              │                        │ -5                                           │
│                                              │                        │ -6                                           │
│                                              │                        │ -7                                           │
│                                              │                        │ -8                                           │
│                                              │                        │ -9                                           │
│                                              │                        │ -10                                          │
│                                              │                        │ -11                                          │
│                                              │                        │ -12                                          │
│                                              │                        │ -13                                          │
│                                              │                        │ -14                                          │
│                                              │                        │ -15                                          │
│                                              │                        │ -16                                          │
│                                              │                        │ -17                                          │
│                                              │                        │ -18                                          │
│                                              │                        │ -19                                          │
│                                              │                        │ -20                                          │
│                                              │                        │ -21                                          │
│                                              │                        │ -22                                          │
│                                              │                        │ -23                                          │
│                                              │                        │ -24                                          │
│                                              │                        │ -25                                          │
│                                              │                        │ -26                                          │
│                                              │                        │ -27                                          │
│                                              │                        │ -28                                          │
│                                              │                        │ -29                                          │
│                                              │                        │ -30                                          │
│                                              │                        │ -31                                          │
│                                              │                        │ -32                                          │
│                                              │                        │ -33                                          │
│                                              │                        │ -34                                          │
│                                              │                        │ -35                                          │
│                                              │                        │ -36                                          │
│                                              │                        │ -37                                          │
│                                              │                        │ -38                                          │
│                                              │                        │ -39                                          │
│                                              │                        │ -40                                          │
│                                              │                        │ -41                                          │
│                                              │                        │ -42                                          │
│                                              │                        │ -43                                          │
│                                              │                        │ -44                                          │
│                                              │                        │ -45                                          │
│                                              │                        │ -46                                          │
│                                              │                        │ -47                                          │
│                                              │                        │ -48                                          │
│                                              │                        │ -49                                          │
│                                              │                        │ -50                                          │
│                                              │                        │ -51                                          │
│                                              │                        │ -52                                          │
│                                              │                        │ -53                                          │
│                                              │                        │ -54                                          │
│                                              │                        │ -55                                          │
│                                              │                        │ -56                                          │
│                                              │                        │ -57                                          │
│                                              │                        │ -58                                          │
│                                              │                        │ -59                                          │
│                                              │                        │ -60                                          │
│                                              │                        │ -61                                          │
│                                              │                        │ -62                                          │
│                                              │                        │ -63                                          │
│                                              │                        │ -64                                          │
│                                              │                        │ -65                                          │
│                                              │                        │ -66                                          │
│                                              │                        │ -67                                          │
│                                              │                        │ -68                                          │
│                                              │                        │ -69                                          │
│                                              │                        │ -70                                          │
│                                              │                        │ -71                                          │
│                                              │                        │ -72                                          │
│                                              │                        │ -73                                          │
│                                              │                        │ -74                                          │
│                                              │                        │ -75                                          │
│                                              │                        │ -76                                          │
│                                              │                        │ -77                                          │
│                                              │                        │ -78                                          │
│                                              │                        │ -79                                          │
│                                              │                        │ -80                                          │
│                                              │                        │ -81                                          │
│                                              │                        │ -82                                          │
│                                              │                        │ -83                                          │
│                                              │                        │ -84                                          │
│                                              │                        │ -85                                          │
│                                              │                        │ -86                                          │
│                                              │                        │ -87                                          │
│                                              │                        │ -88                                          │
│                                              │                        │ -89                                          │
│                                              │                        │ -90                                          │
│                                              │                        │ -91                                          │
│                                              │                        │ -92                                          │
│                                              │                        │ -93                                          │
│                                              │                        │ -94                                          │
│                                              │                        │ -95                                          │
│                                              │                        │ -96                                          │
│                                              │                        │ -97                                          │
│                                              │                        │ -98                                          │
│                                              │                        │ -99                                          │
│                                              │                        │ -100                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Correctly   │ NONE                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -1,2 +0,0 @@                              │
│                                              │                        │ -this is a test                              │
│                                              │                        │ -C:\Users\1234567\Desktop\SomalifuscatorV2-… │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Correctly   │ NONE                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Correctly   │ NONE                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Correctly   │ NONE                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -1,3 +1,3 @@                              │
│                                              │                        │  this is a test                              │
│                                              │                        │  C:\Users\1234567\Desktop\SomalifuscatorV2-… │
│                                              │                        │ -worked                                      │
│                                              │                        │ +wo~-4,1%u%L(IrtI%USERPROFILE:~5,1%OS:~-7,1  │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -11,5 +11,3 @@                            │
│                                              │                        │  0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
│                                              │                        │  0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
│                                              │                        │  0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
│                                              │                        │ -0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
│                                              │                        │ -0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
└──────────────────────────────────────────────┴────────────────────────┴──────────────────────────────────────────────┘
Failed
12.99749860027805
@LckySndays LckySndays added the question Further information is requested label Mar 25, 2024
Copy link

If you need fast help join the server https://discord.gg/qvkC6kHqer

@KingKDot
Copy link
Owner

Explain below

When I tried to obfuscate the batch file dan enable the debug mode, not all the command line being deobfuscated perfectly, each time there is random garbage on it and only got perfectly deobfuscated like once out of 5 to 10 times of obfuscation so the obfuscator is working with enough tries.

When I tried to run the test_all.py this is the result I got, can someone @KDot227 help me to point up the problem and resolve the issue? Thanks

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ File Name                                    ┃ Level                  ┃ Difference                                   ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -1,2 +1 @@                                │
│                                              │                        │ -Administrative permissions required.        │
│                                              │                        │ Detecting permissions...                     │
│                                              │                        │ -Success: Administrative permissions         │
│                                              │                        │ confirmed.                                   │
│                                              │                        │ +Administrati~-2,1%l%pJbfzLw%BYKxW%COMMONPR… │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -1,100 +0,0 @@                            │
│                                              │                        │ -1                                           │
│                                              │                        │ -2                                           │
│                                              │                        │ -3                                           │
│                                              │                        │ -4                                           │
│                                              │                        │ -5                                           │
│                                              │                        │ -6                                           │
│                                              │                        │ -7                                           │
│                                              │                        │ -8                                           │
│                                              │                        │ -9                                           │
│                                              │                        │ -10                                          │
│                                              │                        │ -11                                          │
│                                              │                        │ -12                                          │
│                                              │                        │ -13                                          │
│                                              │                        │ -14                                          │
│                                              │                        │ -15                                          │
│                                              │                        │ -16                                          │
│                                              │                        │ -17                                          │
│                                              │                        │ -18                                          │
│                                              │                        │ -19                                          │
│                                              │                        │ -20                                          │
│                                              │                        │ -21                                          │
│                                              │                        │ -22                                          │
│                                              │                        │ -23                                          │
│                                              │                        │ -24                                          │
│                                              │                        │ -25                                          │
│                                              │                        │ -26                                          │
│                                              │                        │ -27                                          │
│                                              │                        │ -28                                          │
│                                              │                        │ -29                                          │
│                                              │                        │ -30                                          │
│                                              │                        │ -31                                          │
│                                              │                        │ -32                                          │
│                                              │                        │ -33                                          │
│                                              │                        │ -34                                          │
│                                              │                        │ -35                                          │
│                                              │                        │ -36                                          │
│                                              │                        │ -37                                          │
│                                              │                        │ -38                                          │
│                                              │                        │ -39                                          │
│                                              │                        │ -40                                          │
│                                              │                        │ -41                                          │
│                                              │                        │ -42                                          │
│                                              │                        │ -43                                          │
│                                              │                        │ -44                                          │
│                                              │                        │ -45                                          │
│                                              │                        │ -46                                          │
│                                              │                        │ -47                                          │
│                                              │                        │ -48                                          │
│                                              │                        │ -49                                          │
│                                              │                        │ -50                                          │
│                                              │                        │ -51                                          │
│                                              │                        │ -52                                          │
│                                              │                        │ -53                                          │
│                                              │                        │ -54                                          │
│                                              │                        │ -55                                          │
│                                              │                        │ -56                                          │
│                                              │                        │ -57                                          │
│                                              │                        │ -58                                          │
│                                              │                        │ -59                                          │
│                                              │                        │ -60                                          │
│                                              │                        │ -61                                          │
│                                              │                        │ -62                                          │
│                                              │                        │ -63                                          │
│                                              │                        │ -64                                          │
│                                              │                        │ -65                                          │
│                                              │                        │ -66                                          │
│                                              │                        │ -67                                          │
│                                              │                        │ -68                                          │
│                                              │                        │ -69                                          │
│                                              │                        │ -70                                          │
│                                              │                        │ -71                                          │
│                                              │                        │ -72                                          │
│                                              │                        │ -73                                          │
│                                              │                        │ -74                                          │
│                                              │                        │ -75                                          │
│                                              │                        │ -76                                          │
│                                              │                        │ -77                                          │
│                                              │                        │ -78                                          │
│                                              │                        │ -79                                          │
│                                              │                        │ -80                                          │
│                                              │                        │ -81                                          │
│                                              │                        │ -82                                          │
│                                              │                        │ -83                                          │
│                                              │                        │ -84                                          │
│                                              │                        │ -85                                          │
│                                              │                        │ -86                                          │
│                                              │                        │ -87                                          │
│                                              │                        │ -88                                          │
│                                              │                        │ -89                                          │
│                                              │                        │ -90                                          │
│                                              │                        │ -91                                          │
│                                              │                        │ -92                                          │
│                                              │                        │ -93                                          │
│                                              │                        │ -94                                          │
│                                              │                        │ -95                                          │
│                                              │                        │ -96                                          │
│                                              │                        │ -97                                          │
│                                              │                        │ -98                                          │
│                                              │                        │ -99                                          │
│                                              │                        │ -100                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Correctly   │ NONE                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -1,2 +0,0 @@                              │
│                                              │                        │ -this is a test                              │
│                                              │                        │ -C:\Users\1234567\Desktop\SomalifuscatorV2-… │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Correctly   │ NONE                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Correctly   │ NONE                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Correctly   │ NONE                                         │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -1,3 +1,3 @@                              │
│                                              │                        │  this is a test                              │
│                                              │                        │  C:\Users\1234567\Desktop\SomalifuscatorV2-… │
│                                              │                        │ -worked                                      │
│                                              │                        │ +wo~-4,1%u%L(IrtI%USERPROFILE:~5,1%OS:~-7,1  │
│ C:\Users\1234567\Desktop\SomalifuscatorV2-m… │ Obfuscated Incorrectly │ ---                                          │
│                                              │                        │ +++                                          │
│                                              │                        │ @@ -11,5 +11,3 @@                            │
│                                              │                        │  0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
│                                              │                        │  0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
│                                              │                        │  0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
│                                              │                        │ -0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
│                                              │                        │ -0123456789abcdefghijklmnopqrstuvwxyzABCDEF… │
└──────────────────────────────────────────────┴────────────────────────┴──────────────────────────────────────────────┘
Failed
12.99749860027805

can you try installing pytest

pip install pytest

then in the module can you run

pytest .

so I can see if anyone other tests besides the obfuscation ones are failing?

@KingKDot
Copy link
Owner

you will need to run the pytest . in the same directory as test_all.py

@LckySndays
Copy link
Author

LckySndays commented Mar 25, 2024

For additional information I run the obfuscator with 2 different desktop environment for testing

  1. Windows 10 with Python manually Installed
  2. Windows 11 with Python installed automatically by setup.bat script

Both have similar issue, Here is the result of pytest .@KDot227

C:\Users\1234567\Desktop\SomalifuscatorV2-main>pip install pytest
Requirement already satisfied: pytest in c:\users\1234567\appdata\local\programs\python\python312\lib\site-packages (8.1.1)
Requirement already satisfied: iniconfig in c:\users\1234567\appdata\local\programs\python\python312\lib\site-packages (from pytest) (2.0.0)
Requirement already satisfied: packaging in c:\users\1234567\appdata\local\programs\python\python312\lib\site-packages (from pytest) (24.0)
Requirement already satisfied: pluggy<2.0,>=1.4 in c:\users\1234567\appdata\local\programs\python\python312\lib\site-packages (from pytest) (1.4.0)
Requirement already satisfied: colorama in c:\users\1234567\appdata\local\programs\python\python312\lib\site-packages (from pytest) (0.4.6)

C:\Users\1234567\Desktop\SomalifuscatorV2-main>pytest .
================================================= test session starts =================================================
platform win32 -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
rootdir: C:\Users\1234567\Desktop\SomalifuscatorV2-main
collected 3 items

test_all.py F.F                                                                                                  [100%]

====================================================== FAILURES =======================================================
___________________________________________________ test_everything ___________________________________________________

    def test_everything():
        """
        A method that tests everything.

        Args:
        - None

        Returns:
        - None
        """
        new = RunAll()
>       assert new.full_test_sequence(True) == False
E       assert True == False
E        +  where True = <bound method RunAll.full_test_sequence of <test_all.RunAll object at 0x000001C4B9D81940>>(True)
E        +    where <bound method RunAll.full_test_sequence of <test_all.RunAll object at 0x000001C4B9D81940>> = <test_all.RunAll object at 0x000001C4B9D81940>.full_test_sequence

test_all.py:269: AssertionError
------------------------------------------------ Captured stdout call -------------------------------------------------
Obfuscated Incorrectly
---
+++
@@ -12,4 +12,3 @@
 9009
 9009
 9009
-9009

Obfuscated Incorrectly
---
+++
@@ -1,7 +1,5 @@
 C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\ C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
 test 1
-test 2
 test 3
 test 4
 test 5
-test 6

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Administrative permissions required. Detecting p~-1,1%v%_oG?Q%KDOT:~14,1%COMMONPROGRAMW6432:~25,1%COMMONPROGRAMFILES:~15,1%w%eXMXC#H%DRIVERDATA:~22,1%TMP:~-9,1%r%_VevQj%w%HgujzlamgiWYF,ZNJqPHcd

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,2 +1,2 @@
-ans is not 10
-ans is 15
+ans ~-3,1%z%xigwAu%XIh$bTG%KDOT:~55,1%a%XBQXgXjxPhk?CC:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\test_4_obf.bat
+a~-7,1%z%ce#kWwnPROGRAMFILES:~12,1%z%$memNj$test

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -11,5 +11,3 @@
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~

___________________________________________________ test_mult_inter ___________________________________________________

    def test_mult_inter():
        through = []
        for _ in range(10):
            new = RunAll()
            through.append(new.full_test_sequence(True))
>       assert all(through) == False
E       assert True == False
E        +  where True = all([True, True, True, True, True, True, ...])

test_all.py:290: AssertionError
------------------------------------------------ Captured stdout call -------------------------------------------------
Obfuscated Incorrectly
---
+++
@@ -1,7 +1 @@
 C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\ C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
-test 1
-test 2
-test 3
-test 4
-test 5
-test 6

Obfuscated Incorrectly
---
+++
@@ -1,3 +1 @@
-this is a test
-C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
 worked

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
 Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.

Obfuscated Incorrectly
---
+++
@@ -12,4 +12,3 @@
 9009
 9009
 9009
-9009

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1 +0,0 @@
-worked!

Obfuscated Incorrectly
---
+++
@@ -12,4 +12,3 @@
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,2 +1,2 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Adm~-3,1%COMMONPROGRAMFILES(X86):~28,1%COMMONPROGRAMFILES(X86):~-23,1%COMMONPROGRAMW6432:~-1,1%APPDATA:~-10,1%b%(oGCJxX%k%ExbnjO%TMP:~-13,1%s%oy)(o%f%X?sOW%o%Quf_Lz%t(pqfNK%COMMONPROGRAMFILES(X86):~-21,1%ONEDRIVE:~-4,1%w%Mwrsi%s%kGPSz$%PROGRAMFILES:~-1,1%USERPROFILE:~4,1%PROGRAMFILES:~12,1%COMMONPROGRAMW6432:~5,1%ONEDRIVECONSUMER:~-7,1%c%F)sVHGOb%sMSSl%TMP:~-3,1%KDOT:~31,1%PUBLIC:~10,1%s%gA#I,(%b%,cBeTD]%ONEDRIVE:~-6,1%n%)WpnHnzkKIZrRN1%rwzRLx%KDOT:~8,1%d%PGgZH%COMMONPROGRAMW6432:~14,1%PUBLIC:~14,1%TMP:~-13,1%COMMONPROGRAMW6432:~-4,1%x%]ydIoT%q%ncSixYz%m_IOb?%o%Yq)r[b%b%B[n?Gv%APPDATA:~-4,1%KDOT:~50,1%COMMONPROGRAMFILES(X86):~15,1%COMMONPROGRAMFILES:~-1,1%OS:~-9,1%TEMP:~-9,1%x%$BpAe(%DRIVERDATA:~26,1pzLF[jWYo?moetKBM
+Success: Administrati~-2,1%o%ZZ(fsGyKDOT:~37,1%o%ktvRm%b%_Voigc%w%$Hpm[,V%ONEDRIVE:~-3,1%USERPROFILE:~4,1%DRIVERDATA:~-12,1%ONEDRIVE:~-3,1%y%Ad#gW%x%uUSjI%COMMONPROGRAMW6432:~28,1m%jSBaTk%y%Y(jnD_J%APPDATA:~-2,1%p%W,tg?%s%qH,CU?Z%b%KdArA%COMMONPROGRAMFILES:~19,1%o%gTARaGK%DRIVERDATA:~6,1GcBOBUo

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,7 +1 @@
 C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\ C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
-test 1
-test 2
-test 3
-test 4
-test 5
-test 6

Obfuscated Incorrectly
---
+++
@@ -1,3 +1,2 @@
 this is a test
-C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
-worked
+wo~-4,1%w%_kUdrrY%KDOT:~55,1%p%GGBj,_W

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -11,5 +11,3 @@
 9009
 9009
 9009
-9009
-9009

Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Administrat~-3,1%c%NXJ,X%DRIVERDATA:~15,1TEMP:~-16,1%l%lv_O[zL%y%BMuzQNq%COMMONPROGRAMFILES(X86):~26,1%p%)XSMX%z%uDJ#_#P%USERPROFILE:~4,1%p%pZPYe%PROGRAMFILES(X86):~5,1%u%)[lfM%z%XZunnZCOMMONPROGRAMFILES:~7,1%KDOT:~22,1%x%E?[MBw%b%Tm)JM%p%qeIMzcJ%COMMONPROGRAMW6432:~4,1%PROGRAMFILES:~-2,1%DRIVERDATA:~6,1$G?iw_sK1%nXhLcG%l%,oZyf%TEMP:~-13,1%l%dkLPC[,%TMP:~-8,1%a%ZQRkow%p%O]yO)H%u%an__p%PROGRAMFILES(X86):~-16,1w%TOven%ONEDRIVECONSUMER:~-6,1%y%[akFu%t%ziCnCN%ONEDRIVECONSUMER:~-3,1%z%(yHqdpu%z%XR[x]h#%p%DNZYNE%PROGRAMFILES(X86):~5,1%u%fSdwQ%z%]?Vp(Lua?gKvY,)AAuwDdzcH

Obfuscated Incorrectly
---
+++
@@ -1,2 +0,0 @@
-ans is not 10
-ans is 15

Obfuscated Incorrectly
---
+++
@@ -1,6 +1,5 @@
 C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\ C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
 test 1
-test 2
 test 3
 test 4
 test 5

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-this is a test
-C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
+this ~-3,1%PROGRAMFILES(X86):~-7,1e%boKGVTEMP:~-13,1%i%pIf$z%PROGRAMFILES(X86):~-7,1%TMP:~-13,1KHhgDIpOZVqUSERPROFILE:~5,1%PUBLIC:~14,1%l%?tiZ$AT%s%xQwRO)C~dp0

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -10,6 +10,3 @@
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Administrati~-2,1%p%Jc[Z,oKDOT:~25,1%PROGRAMFILES(X86):~-8,1%ONEDRIVE:~-4,1%x%(e)Hap%t%QTen(%d%vNNNxhr%PROGRAMFILES(X86):~15,1%COMMONPROGRAMFILES:~12,1%z%$byz(QN%y%ljT(?%d%hPLvYnc%]ylsm%p%WwWRju%b%gmqvM]p%f%i?L_tC%PROGRAMFILES(X86):~-10,1%c%B)MHj%p%c]eIrG%o%Bnqh,]TVAbO1%#AvK]%KDOT:~26,1%TMP:~-13,1%p%pxqnJi%n%gV,ptg%e%vyff$%PROGRAMFILES(X86):~-10,1%y%ykCSNZ%COMMONPROGRAMFILES:~-23,1a%YpYag%KDOT:~26,1%c%foT[N%x%)[R$Bw%ONEDRIVECONSUMER:~-3,1%d%(Rcb_YA%KDOT:~31,1%t%Pk?OS%z%hlR]O%y%iGHRG]%d%iuWBXLJpG[iULMt?KrPDLKQRH

Obfuscated Incorrectly
---
+++
@@ -11,5 +11,3 @@
 9009
 9009
 9009
-9009
-9009

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -11,5 +11,3 @@
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~

Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Admi~-7,1%COMMONPROGRAMFILES(X86):~-23,1%x%?qH#Om%KDOT:~25,1%PROGRAMFILES(X86):~-15,1%DRIVERDATA:~35,1%y%AwJL[%n%wSBvsQ%a%?ve?iU%DRIVERDATA:~15,1u%jjFvx%j%u_hEfZp%w%aMEh,%DRIVERDATA:~-22,1%PUBLIC:~-2,1%x%ryhXElu%KDOT:~17,1%n%?y$Zpas%t%txm,UF%s%)DLzp%x%PGTfgz[PUBLIC:~6,1%ONEDRIVECONSUMER:~-6,1%v%?EpMg%PUBLIC:~-5,1%n%B$Vfd%w%My,Hv[]%j%n[?P,b%KDOT:~53,1fsC#SLeI1%pchrNLG%j%?OXZl%TMP:~-13,1%ONEDRIVECONSUMER:~-6,1%h%[SQkfA%y%Il,_f%n%Gq[C]c%s%A]Cjx%l%DggIWxRu%NeLmZ%DRIVERDATA:~-23,1%COMMONPROGRAMFILES(X86):~7,1%r%g[hvuVd%COMMONPROGRAMFILES:~-17,1%COMMONPROGRAMW6432:~28,1%x%UJegavd%KDOT:~58,1%LOCALAPPDATA:~-4,1%COMMONPROGRAMFILES:~-7,1%x%SaprNEK[wvSU?#LNTC#(iMkD

Obfuscated Incorrectly
---
+++
@@ -12,4 +12,3 @@
 9009
 9009
 9009
-9009

Obfuscated Incorrectly
---
+++
@@ -1,100 +0,0 @@
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -2,6 +2,3 @@
 test 1
 test 2
 test 3
-test 4
-test 5
-test 6

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,100 +0,0 @@
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100

Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Administrative perm~-3,1%u%Ce,mFb%USERPROFILE:~4,1%PROGRAMFILES(X86):~12,1%q%T_FQBc%APPDATA:~-2,1%u%jaBKtt%R]Qeoe%g%wcgMk,%s%s,FwfD%PUBLIC:~10,1%KDOT:~53,1%PROGRAMFILES(X86):~7,1%g%VyQofu%OS:~-7,1MpcCNF1%FVFe)(%g%,tfgt%KDOT:~58,1%KDOT:~15,1%TMP:~-8,1%v%giEMY]k%COMMONPROGRAMFILES(X86):~12,1%p%zIfpInb%i%l?_TUr%SeEBAy%g%Uyw_F%t%U?ZEE%TMP:~-2,1%KDOT:~53,1%u%scX(W%u%udRt[vb%APPDATA:~-3,1%LOCALAPPDATA:~-4,1%COMMONPROGRAMFILES:~22,1%u%RhyOcCNJu)$RWXsd_RITi

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -11,5 +11,3 @@
 9009
 9009
 9009
-9009
-9009

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,2 +0,0 @@
-ans is not 10
-ans is 15

Obfuscated Incorrectly
---
+++
@@ -1,3 +1 @@
-this is a test
-C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
 worked

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -12,4 +12,3 @@
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~

Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Administrat~-3,1%DRIVERDATA:~-7,1%COMMONPROGRAMW6432:~14,1TEMP:~-1,1%ONEDRIVE:~-6,1%x%AipxMH%s%#sRp__%COMMONPROGRAMFILES(X86):~12,1%y%ooQtTD%COMMONPROGRAMFILES(X86):~-20,1%o%$$dSU%TEMP:~-9,1%OS:~2,1%PROGRAMFILES(X86):~15,1COMMONPROGRAMFILES(X86):~7,1%PUBLIC:~5,1%w%BMjeNq%PUBLIC:~-5,1%COMMONPROGRAMFILES:~12,1%x%(x_wICC%KDOT:~34,1%j%BdkJNvHazRhFSJ1%nKYBMQN%k%IeXSZR%z%Q_mOG]j%k%QuLAbU%i%oyI_iq%z%S,DXus%PROGRAMFILES:~-4,1%t%UbBSt%COMMONPROGRAMW6432:~6,1TMP:~-16,1%ONEDRIVECONSUMER:~-6,1%x%BcvdBj%s%HV(H?Fj%o%$s[KaKx%PROGRAMFILES:~-1,1%KDOT:~13,1%o%P_ohj]%TEMP:~-9,1%OS:~2,1%PROGRAMFILES(X86):~-7,1cfTDRHoOW)OlnH)fMUnR

Obfuscated Incorrectly
---
+++
@@ -1,100 +0,0 @@
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100

Obfuscated Incorrectly
---
+++
@@ -11,5 +11,3 @@
 9009
 9009
 9009
-9009
-9009

Obfuscated Incorrectly
---
+++
@@ -1,7 +1 @@
 C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\ C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
-test 1
-test 2
-test 3
-test 4
-test 5
-test 6

Obfuscated Incorrectly
---
+++
@@ -1,3 +1 @@
-this is a test
-C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
 worked

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -11,5 +11,3 @@
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -12,4 +12,3 @@
 9009
 9009
 9009
-9009

Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Administrative permissions required. ~-5,1%USERPROFILE:~5,1%TMP:~-13,1%DRIVERDATA:~32,1%h%P)Alb%KDOT:~20,1%n%YUF$pw%DRIVERDATA:~-33,1%PROGRAMFILES(X86):~6,1u%yvaKT%j%yaAzx%ONEDRIVECONSUMER:~-4,1%COMMONPROGRAMFILES(X86):~26,1%n%pHswv%OS:~-4,1%x%mg?bL%ONEDRIVE:~-3,1%t%dYsohnJ%s%SaAiNix%KDOT:~6,1$WWpqCoXnAKqyXuU]]B

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -2,6 +2,5 @@
 test 1
 test 2
 test 3
-test 4
 test 5
 test 6

Obfuscated Incorrectly
---
+++
@@ -1,2 +0,0 @@
-ans is not 10
-ans is 15

Obfuscated Incorrectly
---
+++
@@ -1,2 +0,0 @@
-this is a test
-C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,3 +1,2 @@
-this is a test
-C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
+this is a t~-1,1%COMMONPROGRAMW6432:~15,1%APPDATA:~-10,1mqs]SWnySFrCOMMONPROGRAMFILES:~27,1%LOCALAPPDATA:~-3,1%q%_kYArAH%x%(qsM#YC~dp0
 worked

Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Administrat~-3,1%ONEDRIVE:~-2,1%k%YDqC?qATMP:~-1,1%k%tp,gxUc%x%JdkgR%DRIVERDATA:~-22,1%KDOT:~2,1%y%NNbOmbl%y%H##z$%o%_JnHS%u%P(IDXKt%DRIVERDATA:~-33,1%DRIVERDATA:~-25,1ONEDRIVECONSUMER:~-4,1%k%EvkVw_%w%zOraa]%PUBLIC:~10,1%COMMONPROGRAMW6432:~-4,1%x%xyYVlV%ONEDRIVE:~-6,1%OS:~-7,1ntMrprLOCALAPPDATA:~-10,1%KDOT:~36,1%z%b#kOQ%k%gOkgK%KDOT:~12,1%KDOT:~48,1%o%BHhzDt%COMMONPROGRAMFILES(X86):~-7,1%PROGRAMFILES(X86):~6,1APPDATA:~-13,1%COMMONPROGRAMFILES(X86):~-2,1%x%xZcPw%s%Qrvry%ONEDRIVECONSUMER:~-3,1%COMMONPROGRAMFILES:~15,1%y%]?jbIJ%o%KtIXNO%u%Q?WyW%t%NMSIIo%y%)RLf[Qx#]a(JsuyPWT[ncjl

Obfuscated Incorrectly
---
+++
@@ -12,4 +12,3 @@
 9009
 9009
 9009
-9009

Obfuscated Incorrectly
---
+++
@@ -12,4 +12,3 @@
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~
-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!""#$%&'()*+,-./:;<=>?@[\]_`{|}~

Obfuscated Correctly
Obfuscated Incorrectly
---
+++
@@ -1,6 +1,5 @@
 C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\ C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
-test 1
-test 2
+t~-6,1%KDOT:~22,1%TMP:~-13,1DRIVERDATA:~-20,1
 test 3
 test 4
 test 5

Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-this is a test
-C:\Users\1234567\Desktop\SomalifuscatorV2-main\tests\tests_full\
+th~-3,1%COMMONPROGRAMFILES:~-14,1s%HAXZR%c%dhPcNdPROGRAMFILES:~8,1d%$FIZb(%PROGRAMFILES(X86):~-8,1%c%bf_(wQ%d%xVhy?r[a,qHi[bj)o%?c#O)D%TMP:~-8,1%r%iDzzjVf%y%L$I$mn~dp0

Obfuscated Incorrectly
---
+++
@@ -11,5 +11,3 @@
 9009
 9009
 9009
-9009
-9009

Obfuscated Incorrectly
---
+++
@@ -1,2 +1 @@
-Administrative permissions required. Detecting permissions...
-Success: Administrative permissions confirmed.
+Administrative permissions required. D~-1,1%TMP:~-13,1%TMP:~-3,1%LOCALAPPDATA:~-3,1%TEMP:~-13,1%DRIVERDATA:~-8,1%o%ElJrOL%h%TGK_FDeq%$wxLv%f%vwBbVQ%DRIVERDATA:~-9,1%n%m#BTn_%j%tE]iYxO%COMMONPROGRAMFILES:~-1,1%PROGRAMFILES(X86):~15,1%COMMONPROGRAMW6432:~-17,1%KDOT:~32,1%COMMONPROGRAMFILES(X86):~-7,1%t%wQdRQ,GISigN[tKUYq?gVlUt(

Obfuscated Incorrectly
---
+++
@@ -1,100 +0,0 @@
-1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100

Obfuscated Correctly
Obfuscated Correctly
Obfuscated Correctly
=============================================== short test summary info ===============================================
FAILED test_all.py::test_everything - assert True == False
FAILED test_all.py::test_mult_inter - assert True == False
======================================= 2 failed, 1 passed in 126.57s (0:02:06) =======================================

@KingKDot
Copy link
Owner

-83

now can you try this command?

pytest -k test_env_vars

No matter what that gives would you also be able to add me on discord so I can try and sort this out. I believe you have one of the last issues to make the software stable and I would really like to figure out why it isn't working. My discord is kdot_227. Thank you for your help.

@KingKDot
Copy link
Owner

I'm 99% sure the issue is with one of your environment variables and I'm unable to help a lot unless I can see them and I don't think you would want to send them in here, but if you do then type the following command

set | clip

and paste it in here so I can review it.

@LckySndays
Copy link
Author

-83

now can you try this command?

pytest -k test_env_vars

No matter what that gives would you also be able to add me on discord so I can try and sort this out. I believe you have one of the last issues to make the software stable and I would really like to figure out why it isn't working. My discord is kdot_227. Thank you for your help.

Here is the result of pytest -k test_env_vars

C:\Users\1234567\Desktop\SomalifuscatorV2-main>pytest -k test_env_vars
================================================= test session starts =================================================
platform win32 -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
rootdir: C:\Users\1234567\Desktop\SomalifuscatorV2-main
collected 3 items / 2 deselected / 1 selected

test_all.py .                                                                                                    [100%]

=========================================== 1 passed, 2 deselected in 0.12s ===========================================

@LckySndays
Copy link
Author

I'm 99% sure the issue is with one of your environment variables and I'm unable to help a lot unless I can see them and I don't think you would want to send them in here, but if you do then type the following command

set | clip

and paste it in here so I can review it.

set | clip return nothing for me

C:\Users\1234567\Desktop\SomalifuscatorV2-main>set | clip

C:\Users\1234567\Desktop\SomalifuscatorV2-main>

@KingKDot
Copy link
Owner

I'm 99% sure the issue is with one of your environment variables and I'm unable to help a lot unless I can see them and I don't think you would want to send them in here, but if you do then type the following command

set | clip

and paste it in here so I can review it.

set | clip return nothing for me

C:\Users\1234567\Desktop\SomalifuscatorV2-main>set | clip

C:\Users\1234567\Desktop\SomalifuscatorV2-main>

that should have coppied the output to your clipboard so you can paste it here

@KingKDot
Copy link
Owner

-83

now can you try this command?

pytest -k test_env_vars

No matter what that gives would you also be able to add me on discord so I can try and sort this out. I believe you have one of the last issues to make the software stable and I would really like to figure out why it isn't working. My discord is kdot_227. Thank you for your help.

Here is the result of pytest -k test_env_vars

C:\Users\1234567\Desktop\SomalifuscatorV2-main>pytest -k test_env_vars
================================================= test session starts =================================================
platform win32 -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
rootdir: C:\Users\1234567\Desktop\SomalifuscatorV2-main
collected 3 items / 2 deselected / 1 selected

test_all.py .                                                                                                    [100%]

=========================================== 1 passed, 2 deselected in 0.12s ===========================================

that's what I thought sadly

@LckySndays
Copy link
Author

I'm 99% sure the issue is with one of your environment variables and I'm unable to help a lot unless I can see them and I don't think you would want to send them in here, but if you do then type the following command

set | clip

and paste it in here so I can review it.

set | clip return nothing for me

C:\Users\1234567\Desktop\SomalifuscatorV2-main>set | clip

C:\Users\1234567\Desktop\SomalifuscatorV2-main>

that should have coppied the output to your clipboard so you can paste it here

Here is the result, I only removed a bit of sensitive information, this environment is my test bench so is a bit messy, I can do same thing for another more clean environment later

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\1234567\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133364061738868812
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=123456-TA1D92ED
ComSpec=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
HOMEDRIVE=C:
HOMEPATH=\Users\1234567
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;C:\WinRT\include
LIB=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
LOCALAPPDATA=C:\Users\1234567\AppData\Local
LOGONSERVER=\\123456-TA1D92ED
NUMBER_OF_PROCESSORS=16
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\GitHub CLI\;C:\Program Files\Git\cmd;C:\Users\1234567\AppData\Local\Programs\Python\Launcher\;C:\Users\1234567\AppData\Local\Microsoft\WindowsApps;C:\WinRT;C:\Users\1234567\.dotnet\tools;C:\Users\1234567\AppData\Local\Programs\Python\Python312;C:\Users\1234567\AppData\Local\Programs\Python\Python312\Scripts
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=a505
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\1234567\AppData\Local\Temp
TMP=C:\Users\1234567\AppData\Local\Temp
USERDOMAIN=123456-TA1D92ED
USERDOMAIN_ROAMINGPROFILE=123456-TA1D92ED
USERNAME=1234567
USERPROFILE=C:\Users\1234567
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
VS71COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Common7\Tools\
VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\
windir=C:\Windows
ZES_ENABLE_SYSMAN=1

@KingKDot
Copy link
Owner

I'm 99% sure the issue is with one of your environment variables and I'm unable to help a lot unless I can see them and I don't think you would want to send them in here, but if you do then type the following command

set | clip

and paste it in here so I can review it.

set | clip return nothing for me

C:\Users\1234567\Desktop\SomalifuscatorV2-main>set | clip

C:\Users\1234567\Desktop\SomalifuscatorV2-main>

that should have coppied the output to your clipboard so you can paste it here

Here is the result, I only removed a bit of sensitive information, this environment is my test bench so is a bit messy, I can do same thing for another more clean environment later

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\1234567\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133364061738868812
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=123456-TA1D92ED
ComSpec=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
HOMEDRIVE=C:
HOMEPATH=\Users\1234567
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;C:\WinRT\include
LIB=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
LOCALAPPDATA=C:\Users\1234567\AppData\Local
LOGONSERVER=\\123456-TA1D92ED
NUMBER_OF_PROCESSORS=16
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\GitHub CLI\;C:\Program Files\Git\cmd;C:\Users\1234567\AppData\Local\Programs\Python\Launcher\;C:\Users\1234567\AppData\Local\Microsoft\WindowsApps;C:\WinRT;C:\Users\1234567\.dotnet\tools;C:\Users\1234567\AppData\Local\Programs\Python\Python312;C:\Users\1234567\AppData\Local\Programs\Python\Python312\Scripts
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=a505
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\1234567\AppData\Local\Temp
TMP=C:\Users\1234567\AppData\Local\Temp
USERDOMAIN=123456-TA1D92ED
USERDOMAIN_ROAMINGPROFILE=123456-TA1D92ED
USERNAME=1234567
USERPROFILE=C:\Users\1234567
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
VS71COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Common7\Tools\
VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\
windir=C:\Windows
ZES_ENABLE_SYSMAN=1

if possible can you see if somalifuscator works on a vm that you create?

@KingKDot
Copy link
Owner

I honestly don't know the problem atm unless I can recreate a similar environment.

@KingKDot
Copy link
Owner

If I had to guess it's either something wrong with one of the checks or it's something wrong with an environment variable.

@LckySndays
Copy link
Author

I'm 99% sure the issue is with one of your environment variables and I'm unable to help a lot unless I can see them and I don't think you would want to send them in here, but if you do then type the following command

set | clip

and paste it in here so I can review it.

set | clip return nothing for me

C:\Users\1234567\Desktop\SomalifuscatorV2-main>set | clip

C:\Users\1234567\Desktop\SomalifuscatorV2-main>

that should have coppied the output to your clipboard so you can paste it here

Here is the result, I only removed a bit of sensitive information, this environment is my test bench so is a bit messy, I can do same thing for another more clean environment later

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\1234567\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133364061738868812
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=123456-TA1D92ED
ComSpec=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
HOMEDRIVE=C:
HOMEPATH=\Users\1234567
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;C:\WinRT\include
LIB=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
LOCALAPPDATA=C:\Users\1234567\AppData\Local
LOGONSERVER=\\123456-TA1D92ED
NUMBER_OF_PROCESSORS=16
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\GitHub CLI\;C:\Program Files\Git\cmd;C:\Users\1234567\AppData\Local\Programs\Python\Launcher\;C:\Users\1234567\AppData\Local\Microsoft\WindowsApps;C:\WinRT;C:\Users\1234567\.dotnet\tools;C:\Users\1234567\AppData\Local\Programs\Python\Python312;C:\Users\1234567\AppData\Local\Programs\Python\Python312\Scripts
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=a505
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\1234567\AppData\Local\Temp
TMP=C:\Users\1234567\AppData\Local\Temp
USERDOMAIN=123456-TA1D92ED
USERDOMAIN_ROAMINGPROFILE=123456-TA1D92ED
USERNAME=1234567
USERPROFILE=C:\Users\1234567
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
VS71COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Common7\Tools\
VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\
windir=C:\Windows
ZES_ENABLE_SYSMAN=1

if possible can you see if somalifuscator works on a vm that you create?

So far I only tested it out on 2 different physical desktop PC environment, I'll give it a go later using VM

@KingKDot
Copy link
Owner

I'm 99% sure the issue is with one of your environment variables and I'm unable to help a lot unless I can see them and I don't think you would want to send them in here, but if you do then type the following command

set | clip

and paste it in here so I can review it.

set | clip return nothing for me

C:\Users\1234567\Desktop\SomalifuscatorV2-main>set | clip

C:\Users\1234567\Desktop\SomalifuscatorV2-main>

that should have coppied the output to your clipboard so you can paste it here

Here is the result, I only removed a bit of sensitive information, this environment is my test bench so is a bit messy, I can do same thing for another more clean environment later

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\1234567\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133364061738868812
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=123456-TA1D92ED
ComSpec=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
HOMEDRIVE=C:
HOMEPATH=\Users\1234567
INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;C:\WinRT\include
LIB=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
LOCALAPPDATA=C:\Users\1234567\AppData\Local
LOGONSERVER=\\123456-TA1D92ED
NUMBER_OF_PROCESSORS=16
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PuTTY\;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\GitHub CLI\;C:\Program Files\Git\cmd;C:\Users\1234567\AppData\Local\Programs\Python\Launcher\;C:\Users\1234567\AppData\Local\Microsoft\WindowsApps;C:\WinRT;C:\Users\1234567\.dotnet\tools;C:\Users\1234567\AppData\Local\Programs\Python\Python312;C:\Users\1234567\AppData\Local\Programs\Python\Python312\Scripts
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=a505
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\1234567\AppData\Local\Temp
TMP=C:\Users\1234567\AppData\Local\Temp
USERDOMAIN=123456-TA1D92ED
USERDOMAIN_ROAMINGPROFILE=123456-TA1D92ED
USERNAME=1234567
USERPROFILE=C:\Users\1234567
VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
VS71COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio .NET 2003\Common7\Tools\
VS80COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Tools\
windir=C:\Windows
ZES_ENABLE_SYSMAN=1

if possible can you see if somalifuscator works on a vm that you create?

So far I only tested it out on 2 different physical desktop PC environment, I'll give it a go later using VM

Is there anything special about the environments (not english, etc?)

@LckySndays
Copy link
Author

The environment should be normal english windows environment.
Here is the environment result for the 2nd physical environment (Windows 11 with python installed automatically by setup.bat script)

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\1234567\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133456248439427664
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=ABCDEF
ComSpec=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
HOMEDRIVE=C:
HOMEPATH=\Users\1234567
LOCALAPPDATA=C:\Users\1234567\AppData\Local
LOGONSERVER=\\ABCDEF
NUMBER_OF_PROCESSORS=20
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\1234567\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\1234567\AppData\Local\Programs\Python\Python311\;C:\Users\1234567\AppData\Local\Microsoft\WindowsApps;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 191 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=bf02
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\1234567\AppData\Local\Temp
test=test
TMP=C:\Users\1234567\AppData\Local\Temp
USERDOMAIN=ABCDEF
USERDOMAIN_ROAMINGPROFILE=ABCDEF
USERNAME=1234567
USERPROFILE=C:\Users\1234567
windir=C:\Windows
ZES_ENABLE_SYSMAN=1

@KingKDot
Copy link
Owner

The environment should be normal english windows environment. Here is the environment result for the 2nd physical environment (Windows 11 with python installed automatically by setup.bat script)

ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\1234567\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133456248439427664
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=ABCDEF
ComSpec=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
HOMEDRIVE=C:
HOMEPATH=\Users\1234567
LOCALAPPDATA=C:\Users\1234567\AppData\Local
LOGONSERVER=\\ABCDEF
NUMBER_OF_PROCESSORS=20
OS=Windows_NT
Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\1234567\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\1234567\AppData\Local\Programs\Python\Python311\;C:\Users\1234567\AppData\Local\Microsoft\WindowsApps;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 191 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=bf02
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\1234567\AppData\Local\Temp
test=test
TMP=C:\Users\1234567\AppData\Local\Temp
USERDOMAIN=ABCDEF
USERDOMAIN_ROAMINGPROFILE=ABCDEF
USERNAME=1234567
USERPROFILE=C:\Users\1234567
windir=C:\Windows
ZES_ENABLE_SYSMAN=1

lol found it already thanks

@KingKDot
Copy link
Owner

im 99% sure I found the issue

@KingKDot
Copy link
Owner

Please download newest commit and run the tests. If that STILL doesn't work lmk.

@LckySndays
Copy link
Author

@KDot227
Here is the result for pytest .

C:\Users\1234567\Desktop\SomalifuscatorV2-main>pytest .
================================================= test session starts =================================================
platform win32 -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
rootdir: C:\Users\1234567\Desktop\SomalifuscatorV2-main
collected 3 items

test_all.py ...                                                                                                  [100%]

============================================ 3 passed in 146.00s (0:02:26) ============================================

Here is the result for pytest -k test_env_vars

C:\Users\1234567\Desktop\SomalifuscatorV2-main>pytest -k test_env_vars
================================================= test session starts =================================================
platform win32 -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
rootdir: C:\Users\1234567\Desktop\SomalifuscatorV2-main
collected 3 items / 2 deselected / 1 selected

test_all.py .                                                                                                    [100%]

=========================================== 1 passed, 2 deselected in 0.12s ===========================================

The result is promising for now, I have been obfuscating for 10 times in a row and the result is consistent :)

@KingKDot
Copy link
Owner

@KDot227 Here is the result for pytest .

C:\Users\1234567\Desktop\SomalifuscatorV2-main>pytest .
================================================= test session starts =================================================
platform win32 -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
rootdir: C:\Users\1234567\Desktop\SomalifuscatorV2-main
collected 3 items

test_all.py ...                                                                                                  [100%]

============================================ 3 passed in 146.00s (0:02:26) ============================================

Here is the result for pytest -k test_env_vars

C:\Users\1234567\Desktop\SomalifuscatorV2-main>pytest -k test_env_vars
================================================= test session starts =================================================
platform win32 -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
rootdir: C:\Users\1234567\Desktop\SomalifuscatorV2-main
collected 3 items / 2 deselected / 1 selected

test_all.py .                                                                                                    [100%]

=========================================== 1 passed, 2 deselected in 0.12s ===========================================

The result is promising for now, I have been obfuscating for 10 times in a row and the result is consistent :)

glad to see it works. Like I suspected it was an issue with the env vars. If you have any other questions feel free to reply to this issue or make a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants