hack-evm 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.
- hack_evm-0.1.0/PKG-INFO +114 -0
- hack_evm-0.1.0/README.md +83 -0
- hack_evm-0.1.0/hack_evm/__init__.py +17 -0
- hack_evm-0.1.0/hack_evm/cli.py +154 -0
- hack_evm-0.1.0/hack_evm/core.py +458 -0
- hack_evm-0.1.0/hack_evm/main.py +11 -0
- hack_evm-0.1.0/hack_evm.egg-info/PKG-INFO +114 -0
- hack_evm-0.1.0/hack_evm.egg-info/SOURCES.txt +16 -0
- hack_evm-0.1.0/hack_evm.egg-info/dependency_links.txt +1 -0
- hack_evm-0.1.0/hack_evm.egg-info/entry_points.txt +2 -0
- hack_evm-0.1.0/hack_evm.egg-info/requires.txt +10 -0
- hack_evm-0.1.0/hack_evm.egg-info/top_level.txt +1 -0
- hack_evm-0.1.0/pyproject.toml +75 -0
- hack_evm-0.1.0/setup.cfg +4 -0
- hack_evm-0.1.0/tests/test_cli.py +162 -0
- hack_evm-0.1.0/tests/test_core.py +191 -0
- hack_evm-0.1.0/tests/test_import.py +99 -0
- hack_evm-0.1.0/tests/test_satire.py +134 -0
hack_evm-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hack-evm
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Advanced EVM Hacking Toolkit - Now with 100% more satire!
|
|
5
|
+
Author-email: Manish Tiwari <manish.tiwari.09@zohomail.in>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/predictivemanish/hack-evm
|
|
8
|
+
Project-URL: Bug Reports, https://github.com/predictivemanish/hack-evm/issues
|
|
9
|
+
Project-URL: Source, https://github.com/predictivemanish/hack-evm
|
|
10
|
+
Keywords: evm,hacking,satire,parody,election,quantum
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
+
Classifier: Topic :: Utilities
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: click>=8.1.0
|
|
23
|
+
Requires-Dist: rich>=13.0.0
|
|
24
|
+
Requires-Dist: typing-extensions>=4.8.0
|
|
25
|
+
Provides-Extra: dev
|
|
26
|
+
Requires-Dist: pytest>=7.4.0; extra == "dev"
|
|
27
|
+
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
|
|
28
|
+
Requires-Dist: ruff>=0.1.0; extra == "dev"
|
|
29
|
+
Requires-Dist: black>=23.0.0; extra == "dev"
|
|
30
|
+
Requires-Dist: mypy>=1.5.0; extra == "dev"
|
|
31
|
+
|
|
32
|
+
# 🚀 hack-evm
|
|
33
|
+
|
|
34
|
+
### *The World's Most Advanced EVM Hacking Toolkit™*
|
|
35
|
+
|
|
36
|
+
[](https://pypi.org/project/hack-evm/)
|
|
37
|
+
[](https://www.python.org/downloads/)
|
|
38
|
+
[](https://opensource.org/licenses/MIT)
|
|
39
|
+
[](https://en.wikipedia.org/wiki/Satire)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## đź“– Overview
|
|
45
|
+
|
|
46
|
+
**hack-evm** is a state-of-the-art, quantum-enhanced, blockchain-powered, AI-driven, cloud-native EVM manipulation suite that absolutely, positively, 100% **does not work**.
|
|
47
|
+
|
|
48
|
+
Developed by an anonymous collective of expert hackers (who prefer to remain anonymous because they don't exist), this toolkit leverages cutting-edge technologies like:
|
|
49
|
+
- Quantum tunneling through democratic processes
|
|
50
|
+
- Blockchain-based democracy extraction
|
|
51
|
+
- Machine learning-powered vote telepathy
|
|
52
|
+
- Cloud-synced ballot manipulation
|
|
53
|
+
- Bollywood-inspired cyber toolkits
|
|
54
|
+
|
|
55
|
+
**Spoiler alert**: Every single operation fails hilariously.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 🎠Installation
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
pip install hack-evm
|
|
63
|
+
```
|
|
64
|
+
**That's it! You're now ready to attempt hacking EVMs and fail spectacularly.**
|
|
65
|
+
|
|
66
|
+
## Usage
|
|
67
|
+
|
|
68
|
+
Python API
|
|
69
|
+
```
|
|
70
|
+
import hack_evm
|
|
71
|
+
|
|
72
|
+
# Basic hack attempt
|
|
73
|
+
hack_evm.hack()
|
|
74
|
+
|
|
75
|
+
# Advanced hack with expert mode
|
|
76
|
+
hack_evm.hack(level="expert")
|
|
77
|
+
|
|
78
|
+
# Enable quantum mode
|
|
79
|
+
hack_evm.quantum_mode()
|
|
80
|
+
|
|
81
|
+
# Get a detailed explanation of the failure
|
|
82
|
+
hack_evm.explain()
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
CLI
|
|
86
|
+
```
|
|
87
|
+
# Basic hack attempt
|
|
88
|
+
$ hack-evm hack
|
|
89
|
+
|
|
90
|
+
# Quantum hacking mode
|
|
91
|
+
$ hack-evm quantum
|
|
92
|
+
|
|
93
|
+
# Get an explanation of the latest failure
|
|
94
|
+
$ hack-evm explain
|
|
95
|
+
|
|
96
|
+
# Activate conspiracy mode (warning: may cause laughter)
|
|
97
|
+
$ hack-evm conspiracy --level 9000
|
|
98
|
+
|
|
99
|
+
# Easter eggs!
|
|
100
|
+
$ hack-evm alien-mode
|
|
101
|
+
$ hack-evm time-machine
|
|
102
|
+
$ hack-evm bollywood-mode
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## Special
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
pip uninstall hack-evm
|
|
110
|
+
```
|
|
111
|
+
**now, your computer becomes less humorous.**
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
> ⚠️ **DISCLAIMER**: This package is **SATIRE**. It contains absolutely NO real hacking functionality. It cannot hack EVMs, elections, toasters, or anything else. If you believe this package can actually hack an EVM, please seek immediate assistance from a qualified electrician or reality checker.
|
hack_evm-0.1.0/README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# 🚀 hack-evm
|
|
2
|
+
|
|
3
|
+
### *The World's Most Advanced EVM Hacking Toolkit™*
|
|
4
|
+
|
|
5
|
+
[](https://pypi.org/project/hack-evm/)
|
|
6
|
+
[](https://www.python.org/downloads/)
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
[](https://en.wikipedia.org/wiki/Satire)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## đź“– Overview
|
|
14
|
+
|
|
15
|
+
**hack-evm** is a state-of-the-art, quantum-enhanced, blockchain-powered, AI-driven, cloud-native EVM manipulation suite that absolutely, positively, 100% **does not work**.
|
|
16
|
+
|
|
17
|
+
Developed by an anonymous collective of expert hackers (who prefer to remain anonymous because they don't exist), this toolkit leverages cutting-edge technologies like:
|
|
18
|
+
- Quantum tunneling through democratic processes
|
|
19
|
+
- Blockchain-based democracy extraction
|
|
20
|
+
- Machine learning-powered vote telepathy
|
|
21
|
+
- Cloud-synced ballot manipulation
|
|
22
|
+
- Bollywood-inspired cyber toolkits
|
|
23
|
+
|
|
24
|
+
**Spoiler alert**: Every single operation fails hilariously.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 🎠Installation
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install hack-evm
|
|
32
|
+
```
|
|
33
|
+
**That's it! You're now ready to attempt hacking EVMs and fail spectacularly.**
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
Python API
|
|
38
|
+
```
|
|
39
|
+
import hack_evm
|
|
40
|
+
|
|
41
|
+
# Basic hack attempt
|
|
42
|
+
hack_evm.hack()
|
|
43
|
+
|
|
44
|
+
# Advanced hack with expert mode
|
|
45
|
+
hack_evm.hack(level="expert")
|
|
46
|
+
|
|
47
|
+
# Enable quantum mode
|
|
48
|
+
hack_evm.quantum_mode()
|
|
49
|
+
|
|
50
|
+
# Get a detailed explanation of the failure
|
|
51
|
+
hack_evm.explain()
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
CLI
|
|
55
|
+
```
|
|
56
|
+
# Basic hack attempt
|
|
57
|
+
$ hack-evm hack
|
|
58
|
+
|
|
59
|
+
# Quantum hacking mode
|
|
60
|
+
$ hack-evm quantum
|
|
61
|
+
|
|
62
|
+
# Get an explanation of the latest failure
|
|
63
|
+
$ hack-evm explain
|
|
64
|
+
|
|
65
|
+
# Activate conspiracy mode (warning: may cause laughter)
|
|
66
|
+
$ hack-evm conspiracy --level 9000
|
|
67
|
+
|
|
68
|
+
# Easter eggs!
|
|
69
|
+
$ hack-evm alien-mode
|
|
70
|
+
$ hack-evm time-machine
|
|
71
|
+
$ hack-evm bollywood-mode
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## Special
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
pip uninstall hack-evm
|
|
79
|
+
```
|
|
80
|
+
**now, your computer becomes less humorous.**
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
> ⚠️ **DISCLAIMER**: This package is **SATIRE**. It contains absolutely NO real hacking functionality. It cannot hack EVMs, elections, toasters, or anything else. If you believe this package can actually hack an EVM, please seek immediate assistance from a qualified electrician or reality checker.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
hack-evm: The World's Most Advanced EVM Hacking Toolkit™ (Parody)
|
|
3
|
+
|
|
4
|
+
This package provides a satirical interface for attempting to hack
|
|
5
|
+
Electronic Voting Machines. Every operation fails in increasingly
|
|
6
|
+
ridiculous ways. This is 100% satire with no actual hacking capabilities.
|
|
7
|
+
|
|
8
|
+
⚠️ DISCLAIMER: This is a parody. It cannot hack anything.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
__version__ = "0.1.0"
|
|
12
|
+
__author__ = "Anonymous Hacker Collective (parody)"
|
|
13
|
+
__license__ = "MIT"
|
|
14
|
+
|
|
15
|
+
from hack_evm.core import explain, hack, quantum_mode
|
|
16
|
+
|
|
17
|
+
__all__ = ["hack", "quantum_mode", "explain"]
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Command-line interface for hack-evm.
|
|
3
|
+
|
|
4
|
+
Provides various commands for attempting to hack EVMs
|
|
5
|
+
through the terminal. All commands fail hilariously.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import click
|
|
9
|
+
|
|
10
|
+
from hack_evm.core import (
|
|
11
|
+
alien_mode,
|
|
12
|
+
bollywood_mode,
|
|
13
|
+
conspiracy,
|
|
14
|
+
explain,
|
|
15
|
+
hack,
|
|
16
|
+
quantum_mode,
|
|
17
|
+
time_machine,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@click.group()
|
|
22
|
+
@click.version_option(version="0.1.0", prog_name="hack-evm")
|
|
23
|
+
def main() -> None:
|
|
24
|
+
"""
|
|
25
|
+
🚀 hack-evm - The World's Most Advanced EVM Hacking Toolkit™
|
|
26
|
+
|
|
27
|
+
\b
|
|
28
|
+
⚠️ THIS IS SATIRE. This tool cannot actually hack anything.
|
|
29
|
+
It's designed to fail in increasingly humorous ways.
|
|
30
|
+
|
|
31
|
+
\b
|
|
32
|
+
Commands:
|
|
33
|
+
hack Attempt to hack an EVM (will fail)
|
|
34
|
+
quantum Activate quantum hacking mode (will also fail)
|
|
35
|
+
explain Get an explanation for the failure
|
|
36
|
+
conspiracy Generate conspiracy theories
|
|
37
|
+
alien-mode Alien technology hacking
|
|
38
|
+
time-machine Time travel hacking attempt
|
|
39
|
+
bollywood-mode Dramatic Bollywood-style hack sequence
|
|
40
|
+
"""
|
|
41
|
+
pass
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@main.command()
|
|
45
|
+
@click.option(
|
|
46
|
+
"--level",
|
|
47
|
+
"-l",
|
|
48
|
+
type=click.Choice(["basic", "advanced", "expert", "god_mode"], case_sensitive=False),
|
|
49
|
+
default="basic",
|
|
50
|
+
help="Hacking sophistication level",
|
|
51
|
+
)
|
|
52
|
+
def hack_command(level: str) -> None:
|
|
53
|
+
"""
|
|
54
|
+
Attempt to hack an EVM.
|
|
55
|
+
|
|
56
|
+
This command initiates a sophisticated hacking sequence
|
|
57
|
+
that will inevitably fail in a creative and amusing way.
|
|
58
|
+
"""
|
|
59
|
+
click.echo("")
|
|
60
|
+
hack(level=level)
|
|
61
|
+
click.echo("")
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
@main.command()
|
|
65
|
+
def quantum() -> None:
|
|
66
|
+
"""
|
|
67
|
+
Activate quantum hacking mode.
|
|
68
|
+
|
|
69
|
+
Leverages quantum mechanics to attempt EVM hacking.
|
|
70
|
+
Schrödinger's cat declines to participate.
|
|
71
|
+
"""
|
|
72
|
+
click.echo("")
|
|
73
|
+
quantum_mode()
|
|
74
|
+
click.echo("")
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
@main.command()
|
|
78
|
+
def explain_command() -> None:
|
|
79
|
+
"""
|
|
80
|
+
Explain why the last hack attempt failed.
|
|
81
|
+
|
|
82
|
+
Provides a detailed, pseudo-technical explanation
|
|
83
|
+
that is entirely made up.
|
|
84
|
+
"""
|
|
85
|
+
click.echo("")
|
|
86
|
+
explain()
|
|
87
|
+
click.echo("")
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
@main.command()
|
|
91
|
+
@click.option(
|
|
92
|
+
"--level",
|
|
93
|
+
"-l",
|
|
94
|
+
type=int,
|
|
95
|
+
default=1,
|
|
96
|
+
help="Conspiracy intensity level (1-9000+)",
|
|
97
|
+
)
|
|
98
|
+
def conspiracy_command(level: int) -> None:
|
|
99
|
+
"""
|
|
100
|
+
Generate conspiracy theories about EVMs.
|
|
101
|
+
|
|
102
|
+
The higher the level, the more ridiculous the theory.
|
|
103
|
+
It's over 9000!
|
|
104
|
+
"""
|
|
105
|
+
if level < 1:
|
|
106
|
+
click.echo(click.style("Error: Conspiracy level must be ≥ 1", fg="red"))
|
|
107
|
+
return
|
|
108
|
+
|
|
109
|
+
click.echo("")
|
|
110
|
+
conspiracy(level=level)
|
|
111
|
+
click.echo("")
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
@main.command()
|
|
115
|
+
def alien_mode_command() -> None:
|
|
116
|
+
"""
|
|
117
|
+
Activate alien technology for hacking.
|
|
118
|
+
|
|
119
|
+
Contacts extraterrestrial hackers who are
|
|
120
|
+
surprisingly unhelpful.
|
|
121
|
+
"""
|
|
122
|
+
click.echo("")
|
|
123
|
+
alien_mode()
|
|
124
|
+
click.echo("")
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@main.command()
|
|
128
|
+
def time_machine_command() -> None:
|
|
129
|
+
"""
|
|
130
|
+
Use time travel to hack EVMs.
|
|
131
|
+
|
|
132
|
+
Travels through time to hack elections.
|
|
133
|
+
Usually creates paradoxes instead.
|
|
134
|
+
"""
|
|
135
|
+
click.echo("")
|
|
136
|
+
time_machine()
|
|
137
|
+
click.echo("")
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
@main.command()
|
|
141
|
+
def bollywood_mode_command() -> None:
|
|
142
|
+
"""
|
|
143
|
+
Activate Bollywood-style hacking sequence.
|
|
144
|
+
|
|
145
|
+
Complete with dramatic music, unnecessary slow motion,
|
|
146
|
+
and a surprise dance number.
|
|
147
|
+
"""
|
|
148
|
+
click.echo("")
|
|
149
|
+
bollywood_mode()
|
|
150
|
+
click.echo("")
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
if __name__ == "__main__":
|
|
154
|
+
main()
|