From a651e452ac43fd6ca6f9be991d20098099e9f510 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Thu, 4 Mar 2021 05:12:58 +0300 Subject: [PATCH 01/13] Create requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ + From 1d5802a13b7029f5ceaf99015b73a74d23a22c1c Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Thu, 4 Mar 2021 05:13:42 +0300 Subject: [PATCH 02/13] Update requirements.txt --- requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8b13789..490f401 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,3 @@ - +hashlib +pycryptodome +cryptography From 8e88bd2e0e891a92c23ee9984dbd50d2f1e02c61 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Thu, 4 Mar 2021 05:14:52 +0300 Subject: [PATCH 03/13] Update requirements.txt --- requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index 490f401..220bd89 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,7 @@ hashlib pycryptodome cryptography +subprocess +re +uuid +ctypes From 483226d4714a6193dbd233cd7e0adc2d94af5590 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Thu, 4 Mar 2021 05:16:10 +0300 Subject: [PATCH 04/13] Update AES_encrypt.py --- AES_encrypt.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/AES_encrypt.py b/AES_encrypt.py index 7afeead..3b86833 100644 --- a/AES_encrypt.py +++ b/AES_encrypt.py @@ -1,8 +1,9 @@ from Crypto import Random from Crypto.Cipher import AES -import os -import hashlib +import os # use os +import hashlib # use hashlib +# create class Encryptor: class Encryptor: def __init__(self, key, file_name, bypassVM): self.bypassVM = bypassVM From a553500655732c493c1b61676f56a3026b589f7f Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Thu, 4 Mar 2021 05:16:55 +0300 Subject: [PATCH 05/13] Update Base64_encode.py --- Base64_encode.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Base64_encode.py b/Base64_encode.py index f4056b2..3f2531d 100644 --- a/Base64_encode.py +++ b/Base64_encode.py @@ -1,5 +1,6 @@ -import base64 +import base64 # use base64 +# create class Encode: class Encode: def __init__(self): self.text = "" From bac64421579737feb7048250a34efa6386935e5c Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Thu, 4 Mar 2021 05:17:38 +0300 Subject: [PATCH 06/13] Update BypassVM.py --- BypassVM.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BypassVM.py b/BypassVM.py index 985386c..9e3f77e 100644 --- a/BypassVM.py +++ b/BypassVM.py @@ -15,6 +15,7 @@ import os, sys, subprocess, re, uuid, ctypes +# create class BypassVM: class BypassVM: def registry_check(self): @@ -71,4 +72,4 @@ def mac_check(self): - \ No newline at end of file + From 79761f0f1d2693e548badfaf40db17abc021e764 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Thu, 4 Mar 2021 05:20:21 +0300 Subject: [PATCH 07/13] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8cea7e8..340d3ec 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,9 @@ $ python -m pip install pycryptodome * Note : If you are in Kali or Any Other Linux, then type `python3` instead of `python` +$ pip install pyinstaller +this is to compile our project in the future into one .exe + # Running Cryptor $ python Cryptor ``` From cd645bc60d266d5aa97bb95d7024aebe98a0e112 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Wed, 10 Mar 2021 08:05:27 +0300 Subject: [PATCH 08/13] Update AES_encrypt.py --- AES_encrypt.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/AES_encrypt.py b/AES_encrypt.py index 3b86833..e31c1ed 100644 --- a/AES_encrypt.py +++ b/AES_encrypt.py @@ -2,24 +2,30 @@ from Crypto.Cipher import AES import os # use os import hashlib # use hashlib +import sys # use sys # create class Encryptor: class Encryptor: + + # create def __init__(self, key, file_name, bypassVM): def __init__(self, key, file_name, bypassVM): self.bypassVM = bypassVM self.plainkey = key self.key = hashlib.sha256(key.encode('utf-8')).digest() self.file_name = file_name + # create def pad(self, s): def pad(self, s): return s + b"\0" * (AES.block_size - len(s) % AES.block_size) + # create def def encrypt(self, message, key, key_size=256): def encrypt(self, message, key, key_size=256): message = self.pad(message) iv = Random.new().read(AES.block_size) cipher = AES.new(key, AES.MODE_CBC, iv) return iv + cipher.encrypt(message) + # create def encrypt_file(self): def encrypt_file(self): with open(self.file_name, 'rb') as f: plaintext = f.read() @@ -80,6 +86,8 @@ def encrypt_file(self): if __name__ == '__main__': + + # create notice you can enter your text notice = """ Cracking Speed on RunTime ========================= @@ -91,7 +99,7 @@ def encrypt_file(self): So Delay Time In Program Will be 5 seconds """ - print(notice) + print(notice) # print(notice) deduce key = input("[?] Enter Numeric Key : ") path = input("[?] Enter Path of File : ") From 9d555799e7262e6dad3f87fcbabc1000460d35c9 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Wed, 10 Mar 2021 08:06:09 +0300 Subject: [PATCH 09/13] Update Base64_encode.py --- Base64_encode.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Base64_encode.py b/Base64_encode.py index 3f2531d..3ebd1fb 100644 --- a/Base64_encode.py +++ b/Base64_encode.py @@ -1,4 +1,6 @@ import base64 # use base64 +import os # use os +import sys # use sys # create class Encode: class Encode: From f8de587d15439e8dc81f9d1ad10823ba56d062ba Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Tue, 16 Mar 2021 17:35:48 +0300 Subject: [PATCH 10/13] Update Crypter.py --- Crypter.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Crypter.py b/Crypter.py index ecc67a1..beb199b 100644 --- a/Crypter.py +++ b/Crypter.py @@ -1,4 +1,9 @@ -import Base64_encode, AES_encrypt, shutil +import encode # use encode +import Base64_ # use Base64 +import AES_encrypt # use AES_encrypt +import shutil # use shutil +import os # use os +import sys # use sys if __name__ == '__main__': notice = """ @@ -12,8 +17,11 @@ So Delay Time In Program Will be 5 seconds """ - print(notice) - + print(notice) # use function print() + + print('Crypter.py') + print('https://github.com/Lencof/crypter/edit/master/Crypter.py') + key = input("[?] Enter Numeric Weak Key : ") path = input("[?] Enter Path of File : ") bypassVM = input("[?] Want to BypassVM (y/n): ") From a68ed7d990e861365a6bd99d4508c166eae43918 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Tue, 16 Mar 2021 17:40:17 +0300 Subject: [PATCH 11/13] Update BypassVM.py --- BypassVM.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/BypassVM.py b/BypassVM.py index 9e3f77e..bf7d223 100644 --- a/BypassVM.py +++ b/BypassVM.py @@ -1,3 +1,4 @@ +# enter your text """ Author : Pushpender (github.com/Technowlogy-Pushpender) @@ -13,7 +14,13 @@ """ -import os, sys, subprocess, re, uuid, ctypes +import re # use re +import os # use os +import sys # use sys +import uuid # use uuid +import ctypes # use ctypes +import subprocess # use subproces + # create class BypassVM: class BypassVM: @@ -24,7 +31,7 @@ def registry_check(self): if reg1 != 1 and reg2 != 1: print("VMware Registry Detected") - sys.exit() + sys.exit() # exit() def processes_and_files_check(self): vmware_dll = os.path.join(os.environ["SystemRoot"], "System32\\vmGuestLib.dll") @@ -53,8 +60,9 @@ def processes_and_files_check(self): print("Sandboxie DLL Detected") sys.exit() except: - pass + pass # an empty block + # create def mac_check(self): def mac_check(self): mac_address = ':'.join(re.findall('..', '%012x' % uuid.getnode())) vmware_mac_list = ["00:05:69", "00:0c:29", "00:1c:14", "00:50:56"] From ae6bd9ba37fad1319b0c52d33c96ec1040a7de73 Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Tue, 16 Mar 2021 17:41:41 +0300 Subject: [PATCH 12/13] Update Base64_encode.py --- Base64_encode.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Base64_encode.py b/Base64_encode.py index 3ebd1fb..230c702 100644 --- a/Base64_encode.py +++ b/Base64_encode.py @@ -1,6 +1,7 @@ -import base64 # use base64 import os # use os import sys # use sys +import base64 # use base64 + # create class Encode: class Encode: From 81f82950731dfb8e933da385009b594067fc44ea Mon Sep 17 00:00:00 2001 From: Lencof <71154457+Lencof@users.noreply.github.com> Date: Sat, 20 Mar 2021 08:14:45 +0300 Subject: [PATCH 13/13] Update requirements.txt --- requirements.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index 220bd89..535657f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ -hashlib -pycryptodome -cryptography -subprocess -re -uuid -ctypes +pip install hashlib +pip install pycryptodome +pip install cryptography +pip install subprocess +pip install re +pip install uuid +pip install ctypes +pip install pyinstaller