pipattack-demo 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pipattack_demo-0.1.0/PKG-INFO +6 -0
- pipattack_demo-0.1.0/README.md +0 -0
- pipattack_demo-0.1.0/pipattack_demo/__init__.py +21 -0
- pipattack_demo-0.1.0/pipattack_demo/main.py +13 -0
- pipattack_demo-0.1.0/pipattack_demo/setup.py +0 -0
- pipattack_demo-0.1.0/pyproject.toml +17 -0
- pipattack_demo-0.1.0/setup.py +7 -0
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import ctypes
|
|
2
|
+
import os
|
|
3
|
+
import webbrowser
|
|
4
|
+
import platform
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def run_poc():
|
|
8
|
+
|
|
9
|
+
if platform.system() == "Windows":
|
|
10
|
+
os.system("start https://bsodmaker.piwnica.bydgoszcz.pl/")
|
|
11
|
+
else:
|
|
12
|
+
webbrowser.open("https://bsodmaker.piwnica.bydgoszcz.pl/")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
if platform.system() == "Windows":
|
|
16
|
+
if not os.path.exists(".poc_run"):
|
|
17
|
+
ctypes.windll.user32.MessageBoxW(0, "PoC Triggered on Install/Import", "Audit", 0x40)
|
|
18
|
+
with open(".poc_run", "w") as f:
|
|
19
|
+
f.write("done")
|
|
20
|
+
|
|
21
|
+
run_poc()
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import ctypes
|
|
2
|
+
import pyautogui
|
|
3
|
+
|
|
4
|
+
def main_function():
|
|
5
|
+
# Your pyautogui logic here (mouse movement, etc.)
|
|
6
|
+
print("PoC Running...")
|
|
7
|
+
|
|
8
|
+
# Native Windows Alert (No Tkinter required!)
|
|
9
|
+
# 0x40 = Information Icon, 0x1 = OK/Cancel buttons
|
|
10
|
+
ctypes.windll.user32.MessageBoxW(0, "Security Audit: PoC Active", "System Notice", 0x40)
|
|
11
|
+
|
|
12
|
+
if __name__ == "__main__":
|
|
13
|
+
main_function()
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pipattack-demo"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "A benign PoC for school security auditing"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
dependencies = ["pyautogui"]
|
|
12
|
+
|
|
13
|
+
[tool.hatch.build.targets.wheel]
|
|
14
|
+
packages = ["pipattack_demo"]
|
|
15
|
+
|
|
16
|
+
[project.scripts]
|
|
17
|
+
pipattack = "pipattack_demo.main:main_function"
|